Class GetCatalogList
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.ServiceableAction
org.ametys.plugins.odfweb.actions.GetCatalogList
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,Action
Action providing the list of existing catalogs
-
Field Summary
Modifier and TypeFieldDescriptionprotected OdfPageHandler
The ODF root page handler.protected AmetysObjectResolver
Ametys object resolver.Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionact
(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) getCatalogData
(Map.Entry<String, I18nizableText> catalogEntry) Generate a catalog object from its entryvoid
service
(ServiceManager serviceManager) Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
_odfRootHandler
The ODF root page handler. -
_resolver
Ametys object resolver.
-
-
Constructor Details
-
GetCatalogList
public GetCatalogList()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classServiceableAction
- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception - Throws:
Exception
-
getCatalogData
Generate a catalog object from its entry- Parameters:
catalogEntry
- The catalog entry- Returns:
- Catalog object containing its data
-