| org.apache.jetspeed.aggregator.ContentServerAdapter
ContentServerAdapter | public interface ContentServerAdapter (Code) | |
The Content Server Adapter encapsulates all aggregated related
activities related to aggregation, lessening the coupling of the
aggregator to the content server, which can be disabled.
author: David Sean Taylor version: $Id: $ |
Method Summary | |
void | addStyle(RequestContext context, String decoratorName, String decoratorType) Adds stylesheets into the response header for a decoration
using the Header Resource component.
Styles can be gathered from both page and portlet decorators.
Parameters: context - Jetspeed portal per request context. Parameters: decoratorName - Name of the decorator holding the style. | void | prepareContentPaths(RequestContext context, ContentPage page) Pre page aggregation event, prepares the content paths for the
given decorators of the current page being aggregated. |
addStyle | void addStyle(RequestContext context, String decoratorName, String decoratorType)(Code) | | Adds stylesheets into the response header for a decoration
using the Header Resource component.
Styles can be gathered from both page and portlet decorators.
Parameters: context - Jetspeed portal per request context. Parameters: decoratorName - Name of the decorator holding the style. Parameters: decoratorType - Type of decorator, either portlet or page. |
prepareContentPaths | void prepareContentPaths(RequestContext context, ContentPage page)(Code) | | Pre page aggregation event, prepares the content paths for the
given decorators of the current page being aggregated. Preparing
content paths is the process of putting in the correct decorator
paths so that the content server can correctly find the decorator
resources.
Parameters: context - Jetspeed portal per request context. Parameters: page - The current page being aggregated. |
|
|