|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jetspeed.desktop.impl.JetspeedDesktopContextImpl
public class JetspeedDesktopContextImpl
Jetspeed Desktop
| Field Summary |
|---|
| Fields inherited from interface org.apache.jetspeed.desktop.JetspeedDesktopContext |
|---|
DESKTOP_COMPONENT_MANAGER_ATTRIBUTE, DESKTOP_CONTEXT_ATTRIBUTE, DESKTOP_REQUEST_CONTEXT_ATTRIBUTE, LAYOUT_DESKTOP_TEMPLATE_EXTENSION_PROP, LAYOUT_PORTALUSER_TEMPLATE_ID_PROP, LAYOUT_PRINT_TEMPLATE_ID_PROP, LAYOUT_TEMPLATE_EXTENSION_PROP, LAYOUT_TEMPLATE_ID_DEFAULT, LAYOUT_TEMPLATE_ID_PROP |
| Constructor Summary | |
|---|---|
JetspeedDesktopContextImpl(RequestContext context,
BasePortalURL baseUrlAccess,
Theme theme,
HeaderResource headerResource,
java.lang.String defaultLayoutTemplateExtension)
|
|
| Method Summary | |
|---|---|
HeaderResource |
getHeaderResource()
|
java.lang.String |
getLayoutBasePath()
Returns the base path for the layout decoration. |
java.lang.String |
getLayoutBasePath(java.lang.String relativePath)
Returns the base path for the layout decoration with the relativePath argument added. |
java.lang.String |
getLayoutBaseUrl()
Returns the base url for the layout decoration. |
java.lang.String |
getLayoutBaseUrl(java.lang.String relativePath)
Returns the base url for the layout decoration with the relativePath argument added. |
java.lang.String |
getLayoutDecorationName()
Gets the layout decoration name |
java.util.ResourceBundle |
getLayoutResourceBundle(java.util.Locale locale)
|
java.lang.String |
getLayoutTemplatePath()
Get the path to the layout decoration desktop template file. |
java.lang.String |
getLayoutTemplatePath(java.lang.String layoutTemplateIdPropertyName)
Get the path to the layout decoration desktop template file. |
java.lang.String |
getPortalBaseUrl()
Portal base url ( e.g. |
java.lang.String |
getPortalBaseUrl(boolean encode)
Portal base url ( e.g. |
java.lang.String |
getPortalResourceUrl(java.lang.String relativePath)
Portal base url with relativePath argument appended ( e.g. |
java.lang.String |
getPortalResourceUrl(java.lang.String relativePath,
boolean encode)
Portal base url with relativePath argument appended ( e.g. |
java.lang.String |
getPortalUrl()
Portal base servlet url ( e.g. |
java.lang.String |
getPortalUrl(boolean encode)
Portal base servlet url ( e.g. |
java.lang.String |
getPortalUrl(java.lang.String relativePath)
Portal base servlet url with relativePath argument appended ( e.g. |
java.lang.String |
getPortalUrl(java.lang.String relativePath,
boolean encode)
Portal base servlet url with relativePath argument appended ( e.g. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JetspeedDesktopContextImpl(RequestContext context,
BasePortalURL baseUrlAccess,
Theme theme,
HeaderResource headerResource,
java.lang.String defaultLayoutTemplateExtension)
| Method Detail |
|---|
public java.lang.String getPortalBaseUrl()
getPortalBaseUrl in interface JetspeedDesktopContextpublic java.lang.String getPortalBaseUrl(boolean encode)
getPortalBaseUrl in interface JetspeedDesktopContextpublic java.lang.String getPortalResourceUrl(java.lang.String relativePath)
getPortalResourceUrl in interface JetspeedDesktopContext
public java.lang.String getPortalResourceUrl(java.lang.String relativePath,
boolean encode)
getPortalResourceUrl in interface JetspeedDesktopContextpublic java.lang.String getPortalUrl()
getPortalUrl in interface JetspeedDesktopContextpublic java.lang.String getPortalUrl(boolean encode)
getPortalUrl in interface JetspeedDesktopContextpublic java.lang.String getPortalUrl(java.lang.String relativePath)
getPortalUrl in interface JetspeedDesktopContext
public java.lang.String getPortalUrl(java.lang.String relativePath,
boolean encode)
getPortalUrl in interface JetspeedDesktopContextpublic java.lang.String getLayoutDecorationName()
JetspeedDesktopContext
getLayoutDecorationName in interface JetspeedDesktopContextpublic java.lang.String getLayoutTemplatePath()
JetspeedDesktopContextGet the path to the layout decoration desktop template file.
getLayoutTemplatePath in interface JetspeedDesktopContextpublic java.lang.String getLayoutTemplatePath(java.lang.String layoutTemplateIdPropertyName)
JetspeedDesktopContextGet the path to the layout decoration desktop template file. The property name parameter is provided to allow for an alternate property value to be used as the filename (without extension) of the desktop template file.
getLayoutTemplatePath in interface JetspeedDesktopContextpublic java.lang.String getLayoutBasePath()
JetspeedDesktopContextReturns the base path for the layout decoration.
getLayoutBasePath in interface JetspeedDesktopContextpublic java.lang.String getLayoutBasePath(java.lang.String relativePath)
JetspeedDesktopContextReturns the base path for the layout decoration with the relativePath argument added.
getLayoutBasePath in interface JetspeedDesktopContextpublic java.lang.String getLayoutBaseUrl()
JetspeedDesktopContextReturns the base url for the layout decoration.
getLayoutBaseUrl in interface JetspeedDesktopContextpublic java.lang.String getLayoutBaseUrl(java.lang.String relativePath)
JetspeedDesktopContextReturns the base url for the layout decoration with the relativePath argument added.
getLayoutBaseUrl in interface JetspeedDesktopContextpublic java.util.ResourceBundle getLayoutResourceBundle(java.util.Locale locale)
getLayoutResourceBundle in interface JetspeedDesktopContextpublic HeaderResource getHeaderResource()
getHeaderResource in interface JetspeedDesktopContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||