|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.portal.impl.PageLabelManager
Manages the various activities required for page labels.
The name of the request parameter used to identify the page labelmay be configured
here by declaring
in the configuration for this component. The default request parameter name is
'pageLabel'.
| Field Summary | |
protected String |
aspectName
|
protected Context |
context
The cocoon context |
protected static String |
EVENT_MAP
|
protected static String |
LABEL_ARRAY
|
protected static String |
LABEL_MAP
|
protected ServiceManager |
manager
The service manager |
static String |
ROLE
|
| Constructor Summary | |
PageLabelManager()
|
|
| Method Summary | |
void |
configure(Configuration config)
|
void |
contextualize(Context context)
|
String |
getCurrentLabel()
Return the current page label. |
Map |
getPageEventMap()
Return the Map that contains events for all the page labels. |
List |
getPageLabelEvents(String pageLabel)
Retrieve the events associated with the specified page label. |
String |
getPreviousLabel()
Return the page label from the previous request. |
String |
getRequestParameterName()
Returns the request parameter being used to identify the page label. |
void |
service(ServiceManager manager)
|
String |
setCurrentLabel()
Sets the current page label. |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String ROLE
protected ServiceManager manager
protected Context context
protected String aspectName
protected static final String LABEL_ARRAY
protected static final String LABEL_MAP
protected static final String EVENT_MAP
| Constructor Detail |
public PageLabelManager()
| Method Detail |
public void service(ServiceManager manager)
throws ServiceException
service in interface ServiceableServiceExceptionServiceable.service(org.apache.avalon.framework.service.ServiceManager)public void configure(Configuration config)
configure in interface ConfigurableConfigurable.configure(org.apache.avalon.framework.configuration.Configuration)
public void contextualize(Context context)
throws ContextException
contextualize in interface ContextualizableContextExceptionContextualizable.contextualize(org.apache.avalon.framework.context.Context)public String getCurrentLabel()
public String getPreviousLabel()
public String setCurrentLabel()
public String getRequestParameterName()
public Map getPageEventMap()
public List getPageLabelEvents(String pageLabel)
pageLabel - The label to retrieve the events for.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||