Package org.ametys.cms.workflow
Class ContentHistoryAction
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.ServiceableAction
org.ametys.cms.workflow.ContentHistoryAction
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,Action
This action returns the workflow history of a content
-
Field Summary
Modifier and TypeFieldDescriptionprotected ContentHelper
The content helperprotected AmetysObjectResolver
The ametys object resolverprotected WorkflowHistoryHelper
The workflow history helperprotected WorkflowProvider
The workflow providerFields 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) void
service
(ServiceManager serviceManager) Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
_workflowProvider
The workflow provider -
_resolver
The ametys object resolver -
_contentHelper
The content helper -
_workflowHistoryHelper
The workflow history helper
-
-
Constructor Details
-
ContentHistoryAction
public ContentHistoryAction()
-
-
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
-