public class WebWorkflowProvider extends WorkflowProvider
WorkflowProvider
which relies on workflows that always work in the
default workspace.WorkflowProvider.AmetysObjectWorkflow, WorkflowProvider.ExternalWorkflow, WorkflowProvider.GenericWorkflow
Modifier and Type | Field and Description |
---|---|
protected WorkspaceSelector |
_workspaceSelector
workspace selector.
|
_cocoonContext, _currentUserProvider, _genericWorkflow, _logger, _manager, _repository, _resolver, _typeResolver, _workflowContext, _workflowFactory, _workflowHelper, ROLE
Constructor and Description |
---|
WebWorkflowProvider() |
Modifier and Type | Method and Description |
---|---|
protected AmetysObjectWorkflowStore |
_createAmetysObjectWorkflowStore(WorkflowAwareAmetysObject ametysObject,
boolean preserveHistory)
Provide an ametys object workflow store instance
|
protected GenericWorkflowStore |
_createGenericWorkflowStore()
Provide the generic workflow store
|
void |
service(ServiceManager manager) |
contextualize, dispose, getAmetysObjectWorkflow, getAmetysObjectWorkflow, getAmetysObjectWorkflow, getAmetysObjectWorkflow, getExternalWorkflow, getExternalWorkflow, getGenericWorkflow, initialize
protected WorkspaceSelector _workspaceSelector
public WebWorkflowProvider()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class WorkflowProvider
ServiceException
protected GenericWorkflowStore _createGenericWorkflowStore()
WorkflowProvider
_createGenericWorkflowStore
in class WorkflowProvider
protected AmetysObjectWorkflowStore _createAmetysObjectWorkflowStore(WorkflowAwareAmetysObject ametysObject, boolean preserveHistory)
WorkflowProvider
_createAmetysObjectWorkflowStore
in class WorkflowProvider
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