| java.lang.Object org.apache.jetspeed.decoration.DecorationFactoryImpl
Method Summary | |
public void | clearCache(RequestContext requestContext) | protected Path | createClientPath(String name, RequestContext requestContext, String decorationType) Creates a org.apache.jetspeed.util.Path object based
off of the user's client browser and locale. | protected Path | getBasePath(String decorationType) | protected Path | getBasePath(String name, String decorationType) | protected Properties | getCachedConfiguration(String name, String type) | protected String | getCachedConfigurationKey(String type, String name) | public Properties | getConfiguration(String name, String type) Gets the configuration (decorator.properties) object for the decoration.
Parameters: name - Name of the Decoration. | public Decoration | getDecoration(Page page, Fragment fragment, RequestContext requestContext) | protected JetspeedCache | getDecorationConfigurationCache() | protected String | getDefaultDecorationName(Fragment fragment, Page page) Returns a the default decoration name for the specific Fragment type.
Parameters: fragment - Fragment whose default decroation has been requested Parameters: page - Page this fragment belongs to. | public String | getDefaultDesktopLayoutDecoration() | public String | getDefaultDesktopPortletDecoration() | public Set | getDesktopPageDecorations(RequestContext request) Get the portal-wide list of available desktop page decorations. | public Set | getDesktopPortletDecorations(RequestContext request) Get the portal-wide list of desktop portlet decorations. | public LayoutDecoration | getLayoutDecoration(String name, RequestContext requestContext) | protected Path | getLayoutDecorationBasePath(String name) | public String | getLayoutDecorationsBasePath() | public List | getLayouts(RequestContext request) Get the portal-wide list of available layouts. | protected Set | getListing(Set rawList, String propsFile) | public Set | getPageDecorations(RequestContext request) Get the portal-wide list of page decorations. | public PortletDecoration | getPortletDecoration(String name, RequestContext requestContext) | protected Path | getPortletDecorationBasePath(String name) | public Set | getPortletDecorations(RequestContext request) Get the portal-wide list of portlet decorations. | public String | getPortletDecorationsBasePath() | public ResourceValidator | getResourceValidator() | public Theme | getTheme(Page page, RequestContext requestContext) | public boolean | isDesktopEnabled(RequestContext requestContext) | protected void | setCachedConfiguration(String name, String type, Properties props) | public void | setDefaultDesktopLayoutDecoration(String newOne) | public void | setDefaultDesktopPortletDecoration(String newOne) | public void | setServletContext(ServletContext servletContext) |
createClientPath | protected Path createClientPath(String name, RequestContext requestContext, String decorationType)(Code) | | Creates a org.apache.jetspeed.util.Path object based
off of the user's client browser and locale.
Parameters: name - Decroator's name Parameters: requestContext - Current portal request. Parameters: decorationType - Type of decoration, either layout or portlet See Also: Path See Also: RequestContext |
getConfiguration | public Properties getConfiguration(String name, String type)(Code) | | Gets the configuration (decorator.properties) object for the decoration.
Parameters: name - Name of the Decoration. java.util.Properties representing the configurationobject. |
getDefaultDecorationName | protected String getDefaultDecorationName(Fragment fragment, Page page)(Code) | | Returns a the default decoration name for the specific Fragment type.
Parameters: fragment - Fragment whose default decroation has been requested Parameters: page - Page this fragment belongs to. Default decorator name. See Also: Page See Also: Fragment |
getDefaultDesktopLayoutDecoration | public String getDefaultDesktopLayoutDecoration()(Code) | | |
getDefaultDesktopPortletDecoration | public String getDefaultDesktopPortletDecoration()(Code) | | |
getDesktopPageDecorations | public Set getDesktopPageDecorations(RequestContext request)(Code) | | Get the portal-wide list of available desktop page decorations.
A list of desktop skins of type String |
getDesktopPortletDecorations | public Set getDesktopPortletDecorations(RequestContext request)(Code) | | Get the portal-wide list of desktop portlet decorations.
A list of portlet decorations of type String |
getLayoutDecorationBasePath | protected Path getLayoutDecorationBasePath(String name)(Code) | | |
getLayoutDecorationsBasePath | public String getLayoutDecorationsBasePath()(Code) | | |
getLayouts | public List getLayouts(RequestContext request)(Code) | | Get the portal-wide list of available layouts.
A list of layout portlets of type PortletDefinitionComposite |
getPageDecorations | public Set getPageDecorations(RequestContext request)(Code) | | Get the portal-wide list of page decorations.
A list of page decorations of type Decoration |
getPortletDecorationBasePath | protected Path getPortletDecorationBasePath(String name)(Code) | | |
getPortletDecorations | public Set getPortletDecorations(RequestContext request)(Code) | | Get the portal-wide list of portlet decorations.
A list of portlet decorations of type String |
getPortletDecorationsBasePath | public String getPortletDecorationsBasePath()(Code) | | |
setDefaultDesktopLayoutDecoration | public void setDefaultDesktopLayoutDecoration(String newOne)(Code) | | |
setDefaultDesktopPortletDecoration | public void setDefaultDesktopPortletDecoration(String newOne)(Code) | | |
|
|