Package org.ametys.odf.export.pdf
Class GetCatalogNameAction
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.acting.AbstractAction
-
- org.apache.cocoon.acting.ServiceableAction
-
- org.ametys.odf.export.pdf.GetCatalogNameAction
-
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,Action
public class GetCatalogNameAction extends ServiceableAction
Get the name of catalog from source. If "_default" keyword is used, get the name of first catalog.
-
-
Field Summary
Fields Modifier and Type Field Description private CatalogsManager
_catalogManager
-
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
-
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
-
Constructor Summary
Constructors Constructor Description GetCatalogNameAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map
act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)
void
service(ServiceManager sManager)
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
_catalogManager
private CatalogsManager _catalogManager
-
-
Constructor Detail
-
GetCatalogNameAction
public GetCatalogNameAction()
-
-
Method Detail
-
service
public void service(ServiceManager sManager) throws ServiceException
- 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
-
-