| java.lang.Object org.apache.jetspeed.aggregator.impl.HeaderAggregatorImpl
HeaderAggregatorImpl | public class HeaderAggregatorImpl implements PageAggregator(Code) | | HeaderAggregator builds the content required to render a page of portlets.
author: Rapha�l Luta author: David Sean Taylor author: Steve Milek version: $Id: HeaderAggregatorImpl.java 359125 2005-12-26 23:16:39Z rwatler $ |
Field Summary | |
final protected static String | EOL | final protected static Log | log |
Constructor Summary | |
public | HeaderAggregatorImpl(PortletFactory factory, PortletWindowAccessor windowAccessor, HeaderResourceFactory headerResourceFactory, boolean isDesktop, Map headerConfiguration, Map headerResourceRegistry, DecorationFactory decorationFactory) | public | HeaderAggregatorImpl(PortletFactory factory, PortletWindowAccessor windowAccessor, HeaderResourceFactory headerResourceFactory, boolean isDesktop, Map headerConfiguration, Map headerResourceRegistry, DecorationFactory decorationFactory, BasePortalURL baseUrlAccess) |
Method Summary | |
protected boolean | aggregateAndRender(ContentFragment fragment, RequestContext context, ContentPage page) | public void | build(RequestContext context) Builds the portlet set defined in the context into a portlet tree. | protected boolean | canAddHeaderNamedResourceFragment(String headerFragmentName, HashMap namedResourcesAddedFragmentsDefault, String[] registryContent) | protected BasePortalURL | getBaseUrlAccess() | protected Map | getHeaderConfiguration() | protected Map | getHeaderDynamicConfigurationDefault() | protected Map | getHeaderNamedResourcesAddedFragmentsDefault() | protected Map | getHeaderNamedResourcesDefault() | protected HeaderResourceFactory | getHeaderResourceFactory() | protected Map | getHeaderResourceRegistry() | protected PortletFactory | getPortletFactory() | protected PortletWindowAccessor | getPortletWindowAccessor() | protected void | initializeDesktopHeaderConfigurationDefaults(Map desktopConfigMap, HashMap namedResourcesDefault, HashMap namedResourcesAddedFragmentsDefault, HashMap headerDynamicConfigurationDefault) | protected void | initializeDojoHeaderConfigurationDefaults(Map dojoConfigMap, HashMap namedResourcesDefault, HashMap namedResourcesAddedFragmentsDefault, HashMap headerDynamicConfigurationDefault) | protected Map | initializeHeaderConfigurationDefaults(HashMap namedResourcesDefault, HashMap namedResourcesAddedFragmentsDefault) | protected boolean | initializeHeaderConfigurationEntryDefaults(Object headerConfigKey, Object headerConfigValue, HashMap namedResourcesDefault, HashMap namedResourcesAddedFragmentsDefault, HashMap headerDynamicConfigurationDefault) | protected void | initializeHeaderOrderConfigurationDefaults(HashMap namedResourcesDefault, HashMap namedResourcesAddedFragmentsDefault, HashMap headerDynamicConfigurationDefault) | protected void | initializeMissingHeaderConfigurationEntryDefaults(HashMap namedResourcesDefault, HashMap namedResourcesAddedFragmentsDefault, HashMap headerDynamicConfigurationDefault) | protected boolean | isDesktop() | protected void | orderNamedHeaderResource(String headerName, Map headerDynamicConfigurationDefault) | protected void | postinitializeHeaderOrderConfigurationDefaults(HashMap headerDynamicConfigurationDefault) | protected void | registerAndOrderNamedHeaderResource(String headerName, String headerType, String headerReqFlag, Map headerDynamicConfigurationDefault) | protected boolean | renderHeaderFragment(RequestContext context, ContentFragment fragment) | protected void | setNamedHeaderResourceProperties(String headerName, String headerType, String headerReqFlag, Map headerDynamicConfigurationDefault) |
log | final protected static Log log(Code) | | |
canAddHeaderNamedResourceFragment | protected boolean canAddHeaderNamedResourceFragment(String headerFragmentName, HashMap namedResourcesAddedFragmentsDefault, String[] registryContent)(Code) | | |
getHeaderConfiguration | protected Map getHeaderConfiguration()(Code) | | |
getHeaderDynamicConfigurationDefault | protected Map getHeaderDynamicConfigurationDefault()(Code) | | |
getHeaderNamedResourcesAddedFragmentsDefault | protected Map getHeaderNamedResourcesAddedFragmentsDefault()(Code) | | |
getHeaderNamedResourcesDefault | protected Map getHeaderNamedResourcesDefault()(Code) | | |
getHeaderResourceRegistry | protected Map getHeaderResourceRegistry()(Code) | | |
initializeDesktopHeaderConfigurationDefaults | protected void initializeDesktopHeaderConfigurationDefaults(Map desktopConfigMap, HashMap namedResourcesDefault, HashMap namedResourcesAddedFragmentsDefault, HashMap headerDynamicConfigurationDefault)(Code) | | |
initializeDojoHeaderConfigurationDefaults | protected void initializeDojoHeaderConfigurationDefaults(Map dojoConfigMap, HashMap namedResourcesDefault, HashMap namedResourcesAddedFragmentsDefault, HashMap headerDynamicConfigurationDefault)(Code) | | Read dojo header configuration settings and compile dojo header resource defaults
|
initializeHeaderConfigurationDefaults | protected Map initializeHeaderConfigurationDefaults(HashMap namedResourcesDefault, HashMap namedResourcesAddedFragmentsDefault)(Code) | | Initialize dynamic-header-configuration and call initializeHeaderConfigurationEntryDefaults() for
each key in headerConfiguration Map, allowing for each to add resources and settings to:
headerNamedResourcesDefault, headerNamedResourcesAddedFragmentsDefault and headerDynamicConfigurationDefault
If no specific handler is defined for a headerConfiguration key, the entry is copied to headerDynamicConfigurationDefault
otherwise the handler is responsible for adding information to headerDynamicConfigurationDefault
headerConfiguration handlers are currently defined for the headerConfiguration keys:
"header.order" - HeaderResource.HEADER_CONFIG_ORDER
"header.types" - HeaderResource.HEADER_CONFIG_TYPES
"header.requiredflag" - HeaderResource.HEADER_CONFIG_REQUIREDFLAG
"dojo" - HeaderResource.HEADER_CONFIG_DOJO
"desktop" - HeaderResource.HEADER_CONFIG_DESKTOP
|
initializeHeaderConfigurationEntryDefaults | protected boolean initializeHeaderConfigurationEntryDefaults(Object headerConfigKey, Object headerConfigValue, HashMap namedResourcesDefault, HashMap namedResourcesAddedFragmentsDefault, HashMap headerDynamicConfigurationDefault)(Code) | | Intended as derived class hook into header configuration process
true if headerConfigKey has been processed or false if default processing should occur |
initializeHeaderOrderConfigurationDefaults | protected void initializeHeaderOrderConfigurationDefaults(HashMap namedResourcesDefault, HashMap namedResourcesAddedFragmentsDefault, HashMap headerDynamicConfigurationDefault)(Code) | | |
initializeMissingHeaderConfigurationEntryDefaults | protected void initializeMissingHeaderConfigurationEntryDefaults(HashMap namedResourcesDefault, HashMap namedResourcesAddedFragmentsDefault, HashMap headerDynamicConfigurationDefault)(Code) | | |
isDesktop | protected boolean isDesktop()(Code) | | |
orderNamedHeaderResource | protected void orderNamedHeaderResource(String headerName, Map headerDynamicConfigurationDefault)(Code) | | |
postinitializeHeaderOrderConfigurationDefaults | protected void postinitializeHeaderOrderConfigurationDefaults(HashMap headerDynamicConfigurationDefault)(Code) | | |
registerAndOrderNamedHeaderResource | protected void registerAndOrderNamedHeaderResource(String headerName, String headerType, String headerReqFlag, Map headerDynamicConfigurationDefault)(Code) | | |
setNamedHeaderResourceProperties | protected void setNamedHeaderResourceProperties(String headerName, String headerType, String headerReqFlag, Map headerDynamicConfigurationDefault)(Code) | | |
|
|