Class ODFPilotageContentHistoryAction
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.acting.AbstractAction
-
- org.apache.cocoon.acting.ServiceableAction
-
- org.ametys.plugins.odfpilotage.actions.ODFPilotageContentHistoryAction
-
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,Action
public class ODFPilotageContentHistoryAction extends ServiceableAction
This action returns the pilotage status history of a content
-
-
Field Summary
Fields Modifier and Type Field Description protected ContentHelper
_contentHelper
The content helperprotected PilotageStatusHelper
_pilotageStatusHelper
The pilotage status helperprotected AmetysObjectResolver
_resolver
The ametys object resolverprotected UserHelper
_userHelper
The user helper-
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 ODFPilotageContentHistoryAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Map<String,Object>>
_getContentWorkflowHistory(Content content)
Get the list of map info for each step of the pilotage historyMap
act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)
void
service(ServiceManager serviceManager)
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
_userHelper
protected UserHelper _userHelper
The user helper
-
_pilotageStatusHelper
protected PilotageStatusHelper _pilotageStatusHelper
The pilotage status helper
-
_resolver
protected AmetysObjectResolver _resolver
The ametys object resolver
-
_contentHelper
protected ContentHelper _contentHelper
The content helper
-
-
Constructor Detail
-
ODFPilotageContentHistoryAction
public ODFPilotageContentHistoryAction()
-
-
Method Detail
-
service
public void service(ServiceManager serviceManager) 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
-
-