org.apache.jetspeed.aggregator
Interface ContentServerAdapter


public interface ContentServerAdapter

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.

Version:
$Id: $
Author:
David Sean Taylor

Method Summary
 void addStyle(RequestContext context, String decoratorName, String decoratorType)
          Adds stylesheets into the response header for a decoration using the Header Resource component.
 void prepareContentPaths(RequestContext context, ContentPage page)
          Pre page aggregation event, prepares the content paths for the given decorators of the current page being aggregated.
 

Method Detail

prepareContentPaths

void prepareContentPaths(RequestContext context,
                         ContentPage page)
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.
page - The current page being aggregated.

addStyle

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.
decoratorName - Name of the decorator holding the style.
decoratorType - Type of decorator, either portlet or page.


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.