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.ContentVersionHistoryAction
org.ametys.cms.workflow.ContentHistoryAction
- All Implemented Interfaces:
Component,LogEnabled,Serviceable,Action
This action returns the workflow history of a content
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ContentHelperThe content helperprotected RightManagerThe right managerprotected WorkflowHistoryHelperThe workflow history helperprotected WorkflowProviderThe workflow providerFields inherited from class org.ametys.cms.workflow.ContentVersionHistoryAction
_resolverFields inherited from class org.apache.cocoon.acting.ServiceableAction
managerFields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionact(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) voidservice(ServiceManager serviceManager) Methods inherited from class org.ametys.cms.workflow.ContentVersionHistoryAction
_resolveVersionInformationsMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
_workflowProvider
The workflow provider -
_contentHelper
The content helper -
_workflowHistoryHelper
The workflow history helper -
_rightManager
The right manager
-
-
Constructor Details
-
ContentHistoryAction
public ContentHistoryAction()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classContentVersionHistoryAction- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception - Specified by:
actin interfaceAction- Overrides:
actin classContentVersionHistoryAction- Throws:
Exception
-