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
This action returns the pilotage status history of a content
-
Field Summary
Modifier and TypeFieldDescriptionprotected ContentHelper
The content helperprotected PilotageStatusHelper
The pilotage status helperprotected AmetysObjectResolver
The ametys object resolverprotected UserHelper
The user helperFields 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 TypeMethodDescription_getContentWorkflowHistory
(Content content) Get the list of map info for each step of the pilotage historyact
(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 Details
-
_userHelper
The user helper -
_pilotageStatusHelper
The pilotage status helper -
_resolver
The ametys object resolver -
_contentHelper
The content helper
-
-
Constructor Details
-
ODFPilotageContentHistoryAction
public ODFPilotageContentHistoryAction()
-
-
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
-
_getContentWorkflowHistory
Get the list of map info for each step of the pilotage history- Parameters:
content
- the content- Returns:
- the list of map info for each step of the pilotage history
-