|
||||||||||
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 JetspeedDesktopContext
public java.lang.String getPortalBaseUrl(boolean encode)
getPortalBaseUrl
in interface JetspeedDesktopContext
public 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 JetspeedDesktopContext
public java.lang.String getPortalUrl()
getPortalUrl
in interface JetspeedDesktopContext
public java.lang.String getPortalUrl(boolean encode)
getPortalUrl
in interface JetspeedDesktopContext
public 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 JetspeedDesktopContext
public java.lang.String getLayoutDecorationName()
JetspeedDesktopContext
getLayoutDecorationName
in interface JetspeedDesktopContext
public java.lang.String getLayoutTemplatePath()
JetspeedDesktopContext
Get the path to the layout decoration desktop template file.
getLayoutTemplatePath
in interface JetspeedDesktopContext
public java.lang.String getLayoutTemplatePath(java.lang.String layoutTemplateIdPropertyName)
JetspeedDesktopContext
Get 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 JetspeedDesktopContext
public java.lang.String getLayoutBasePath()
JetspeedDesktopContext
Returns the base path for the layout decoration.
getLayoutBasePath
in interface JetspeedDesktopContext
public java.lang.String getLayoutBasePath(java.lang.String relativePath)
JetspeedDesktopContext
Returns the base path for the layout decoration with the relativePath argument added.
getLayoutBasePath
in interface JetspeedDesktopContext
public java.lang.String getLayoutBaseUrl()
JetspeedDesktopContext
Returns the base url for the layout decoration.
getLayoutBaseUrl
in interface JetspeedDesktopContext
public java.lang.String getLayoutBaseUrl(java.lang.String relativePath)
JetspeedDesktopContext
Returns the base url for the layout decoration with the relativePath argument added.
getLayoutBaseUrl
in interface JetspeedDesktopContext
public java.util.ResourceBundle getLayoutResourceBundle(java.util.Locale locale)
getLayoutResourceBundle
in interface JetspeedDesktopContext
public HeaderResource getHeaderResource()
getHeaderResource
in interface JetspeedDesktopContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |