Package org.ametys.web.workflow
Class WebGenericWorkflowStore
- java.lang.Object
-
- org.ametys.plugins.workflow.store.AbstractJackrabbitWorkflowStore
-
- org.ametys.plugins.workflow.store.GenericWorkflowStore
-
- org.ametys.web.workflow.WebGenericWorkflowStore
-
- All Implemented Interfaces:
com.opensymphony.workflow.spi.WorkflowStore
,AmetysWorkflowStore
public class WebGenericWorkflowStore extends GenericWorkflowStore
Web generic workflow store which force default workspace session- See Also:
WorkflowProvider
-
-
Field Summary
Fields Modifier and Type Field Description protected WorkspaceSelector
_workspaceSelector
workspace selector.-
Fields inherited from class org.ametys.plugins.workflow.store.AbstractJackrabbitWorkflowStore
__NAMESPACE, __NAMESPACE_PREFIX, __NM_PREFIX, __ROOT_NT, _log, _repository
-
-
Constructor Summary
Constructors Constructor Description WebGenericWorkflowStore(Repository repository, WorkspaceSelector workspaceSelector)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Session
_getSession()
Open a session to the _repository.-
Methods inherited from class org.ametys.plugins.workflow.store.GenericWorkflowStore
_createRootNode, _getEntryHash, _getOrCreateParentEntryNode, _getRootNode, shouldClearHistory
-
Methods inherited from class org.ametys.plugins.workflow.store.AbstractJackrabbitWorkflowStore
__toCalendar, _getNextEntryId, _getNextStepId, _release, buildFieldExpression, buildNestedExpression, clearHistory, createCurrentStep, createEntry, deleteInstance, findCurrentSteps, findEntry, findHistorySteps, getCondition, getEntryNode, getFirstFieldExpression, getPredicate, getPropertyName, getPropertySet, getSortCriteria, init, markFinished, moveToHistory, query, query, removeEntry, setEntryState, storeNewEntry, translateValue
-
-
-
-
Field Detail
-
_workspaceSelector
protected WorkspaceSelector _workspaceSelector
workspace selector.
-
-
Constructor Detail
-
WebGenericWorkflowStore
public WebGenericWorkflowStore(Repository repository, WorkspaceSelector workspaceSelector)
Constructor- Parameters:
repository
- The repositoryworkspaceSelector
- The workspace selector
-
-
Method Detail
-
_getSession
protected Session _getSession() throws RepositoryException
Description copied from class:AbstractJackrabbitWorkflowStore
Open a session to the _repository.- Overrides:
_getSession
in classAbstractJackrabbitWorkflowStore
- Returns:
- the session opened.
- Throws:
RepositoryException
- if an error occurs.
-
-