Package org.ametys.web.workflow
Class WebWorkflowProvider
java.lang.Object
org.ametys.plugins.workflow.support.WorkflowProvider
org.ametys.web.workflow.WebWorkflowProvider
- All Implemented Interfaces:
Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
WorkflowProvider
which relies on workflows that always work in the
default workspace.-
Nested Class Summary
Nested classes/interfaces inherited from class org.ametys.plugins.workflow.support.WorkflowProvider
WorkflowProvider.AmetysObjectWorkflow, WorkflowProvider.ExternalWorkflow, WorkflowProvider.GenericWorkflow
-
Field Summary
Fields inherited from class org.ametys.plugins.workflow.support.WorkflowProvider
_ametysObjectResolver, _cocoonContext, _currentUserProvider, _genericWorkflow, _logger, _manager, _repository, _resolver, _typeResolver, _workflowContext, _workflowFactory, _workflowHelper, ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected AmetysObjectWorkflowStore
_createAmetysObjectWorkflowStore
(WorkflowAwareAmetysObject ametysObject, boolean preserveHistory) Provide an ametys object workflow store instanceprotected GenericWorkflowStore
Provide the generic workflow storevoid
service
(ServiceManager manager) Methods inherited from class org.ametys.plugins.workflow.support.WorkflowProvider
contextualize, dispose, getAmetysObjectWorkflow, getAmetysObjectWorkflow, getAmetysObjectWorkflow, getAmetysObjectWorkflow, getExternalWorkflow, getExternalWorkflow, getGenericWorkflow, initialize
-
Field Details
-
_workspaceSelector
workspace selector.
-
-
Constructor Details
-
WebWorkflowProvider
public WebWorkflowProvider()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classWorkflowProvider
- Throws:
ServiceException
-
_createGenericWorkflowStore
Description copied from class:WorkflowProvider
Provide the generic workflow store- Overrides:
_createGenericWorkflowStore
in classWorkflowProvider
- Returns:
- The generic workflow store
-
_createAmetysObjectWorkflowStore
protected AmetysObjectWorkflowStore _createAmetysObjectWorkflowStore(WorkflowAwareAmetysObject ametysObject, boolean preserveHistory) Description copied from class:WorkflowProvider
Provide an ametys object workflow store instance- Overrides:
_createAmetysObjectWorkflowStore
in classWorkflowProvider
- Parameters:
ametysObject
- The ametys object bound to this store (can be null in case of initialization)preserveHistory
- true if the history steps should be preserve when workflow is complete- Returns:
- the local workflow store of an Ametys object
-