getDecoration(Page page, Fragment fragment, RequestContext requestContext) Returns a Decoration for a specific Fragment contained
within the specified Page.
Parameters: page - Current page Parameters: fragment - Fragment whose decoration we require. Parameters: requestContext - Current portal request.
getLayoutDecoration(String name, RequestContext requestContext) Returns a named layout Decoration appropriate to the
current request conetext.
Parameters: name - Formal name of the decoration. Parameters: requestContext - Current portal request.
getPortletDecoration(String name, RequestContext requestContext) Returns a names portlet Decoration appropriate to the
current request conetext.
Parameters: name - Formal name of the decoration. Parameters: requestContext - Current portal request.
getTheme(Page page, RequestContext requestContext) Returns a theme containing all of the Decorations for all of
the layouts on the current page.
Parameters: page - Page whose theme we are requesting Parameters: requestContext - Current portal request.
boolean
isDesktopEnabled(RequestContext requestContext) Indicates whether /desktop is enabled for the current portal request.
Located here due to range of jetspeed components which need this information and
already have a DecorationFactory reference.
Parameters: requestContext - current portal request.
void
setDefaultDesktopLayoutDecoration(String newOne) Set the default desktop layout decoration to be used when
selected layout decoration does not support /desktop.
void
setDefaultDesktopPortletDecoration(String newOne) Set the default desktop portlet decoration to be used when
selected portlet decoration does not support /desktop.
Clears the lookup cache of all previous located pathes. This only
clears the cache the RequestContext's current user. This
will generally delegate the cache operation to the PathResolverCache
currently in use.
Parameters: requestContext - Current portal request. See Also:RequestContext See Also:PathResolverCache
Returns a Decoration for a specific Fragment contained
within the specified Page.
Parameters: page - Current page Parameters: fragment - Fragment whose decoration we require. Parameters: requestContext - Current portal request. Decoration requested. If the decoration does not exist, anempty Decoration will be created "in memory" and a message should be loggedinforming the admin that non-existent decoration has been requested. See Also:Page See Also:Fragment See Also:RequestContext
Returns a named layout Decoration appropriate to the
current request conetext.
Parameters: name - Formal name of the decoration. Parameters: requestContext - Current portal request. Decoration requested. If the decoration does not exist, anempty Decoration will be created "in memory" and a message should be loggedinforming the admin that non-existent decoration has been requested. See Also:LayoutDecoration See Also:RequestContext
Returns a names portlet Decoration appropriate to the
current request conetext.
Parameters: name - Formal name of the decoration. Parameters: requestContext - Current portal request. Decoration requested. If the decoration does not exist, anempty Decoration will be created "in memory" and a message should be loggedinforming the admin that non-existent decoration has been requested. See Also:RequestContext See Also:PortletDecoration
Returns a theme containing all of the Decorations for all of
the layouts on the current page.
Parameters: page - Page whose theme we are requesting Parameters: requestContext - Current portal request. Theme for this page based on the current portal request. See Also:Theme See Also:RequestContext
Indicates whether /desktop is enabled for the current portal request.
Located here due to range of jetspeed components which need this information and
already have a DecorationFactory reference.
Parameters: requestContext - current portal request. true if /desktop is enabled for the current portal request, otherwise false