| org.apache.cocoon.webapps.portal.components.PortalManagerImpl
PortalManagerImpl | final public class PortalManagerImpl extends AbstractLogEnabled implements Disposable,Composable,Recomposable,Recyclable,Contextualizable,Component,PortalManager(Code) | | This is the basis portal component
author: Carsten Ziegeler version: CVS $Id: PortalManagerImpl.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
protected void | buildProfile(String type, String role, String id, boolean adminProfile) Building the profile. | public boolean | checkAuthentication(Redirector redirector, String copletID) | public void | compose(ComponentManager manager) | public void | configurationTest() | public void | contextualize(Context context) | public void | dispose() | protected AuthenticationManager | getAuthenticationManager() | public SessionContext | getContext(boolean create) | protected ContextManager | getContextManager() | protected MediaManager | getMediaManager() | public String | getMediaType() | public String | getProfileID(String type, String role, String id, boolean adminProfile) | protected Store | getProfileStore() | protected RequestState | getRequestState() | protected SessionManager | getSessionManager() | public Element | getStatusProfile() | protected TransactionManager | getTransactionManager() | public void | recompose(ComponentManager manager) | public void | recycle() | public Map | retrieveProfile(String profileID) | protected void | sendEvents(XMLConsumer consumer, Node node) Send SAX events to the next pipeline component. | protected void | setup() | public void | showAdminConf(XMLConsumer consumer) | public void | showPortal(XMLConsumer consumer, boolean configMode, boolean adminProfile) | public void | streamConfiguration(XMLConsumer consumer, String requestURI, String profileID, String media, String contextID) | public static void | streamLayoutProfile(XMLConsumer consumer, Map portalLayouts, Map copletLayouts, String mediaType) Stream all layout information for the current portal
to the consumer. |
componentContext | protected Context componentContext(Code) | | The context
|
initialized | protected boolean initialized(Code) | | Are we already setup for this request?
|
manager | protected ComponentManager manager(Code) | | The component manager
|
resolver | protected SourceResolver resolver(Code) | | The current source resolver
|
compose | public void compose(ComponentManager manager) throws ComponentException(Code) | | |
contextualize | public void contextualize(Context context) throws ContextException(Code) | | |
dispose | public void dispose()(Code) | | |
getRequestState | protected RequestState getRequestState()(Code) | | Get the current authentication state
|
recompose | public void recompose(ComponentManager manager) throws ComponentException(Code) | | |
recycle | public void recycle()(Code) | | |
sendEvents | protected void sendEvents(XMLConsumer consumer, Node node) throws SAXException(Code) | | Send SAX events to the next pipeline component.
The node is parsed and the events are send to
the next component in the pipeline.
Parameters: node - The tree to be included. |
streamLayoutProfile | public static void streamLayoutProfile(XMLConsumer consumer, Map portalLayouts, Map copletLayouts, String mediaType) throws SAXException(Code) | | Stream all layout information for the current portal
to the consumer.
The resulting XML:
...
...
|
|
|