public class WebAmetysObjectWorkflowStore extends AmetysObjectWorkflowStore
Modifier and Type | Field and Description |
---|---|
protected Session |
_session
Internal session
|
_ametysObject, _inMemoryEntry
__NAMESPACE, __NAMESPACE_PREFIX, __NM_PREFIX, __ROOT_NT, _log, _repository
Constructor and Description |
---|
WebAmetysObjectWorkflowStore(Repository repository,
WorkflowAwareAmetysObject ametysObject)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected Node |
_getAmetysObjectNode()
Provides the ametys object node in the current session
|
protected Session |
_getSession()
Open a session to the _repository.
|
protected void |
_release(Session session)
Release a session.
|
_createRootNode, _getNextEntryId, _getOrCreateParentEntryNode, _getRootNode, bindAmetysObject, getAmetysObject, storeNewEntry
__toCalendar, _getNextStepId, buildFieldExpression, buildNestedExpression, clearHistory, createCurrentStep, createEntry, deleteInstance, findCurrentSteps, findEntry, findHistorySteps, getCondition, getEntryNode, getFirstFieldExpression, getPredicate, getPropertyName, getPropertySet, getSortCriteria, init, markFinished, moveToHistory, query, query, removeEntry, setEntryState, translateValue
public WebAmetysObjectWorkflowStore(Repository repository, WorkflowAwareAmetysObject ametysObject)
repository
- The repositoryametysObject
- The ametys object for this store. Can be null in case of an object creation.protected Session _getSession() throws RepositoryException
AbstractJackrabbitWorkflowStore
_getSession
in class AmetysObjectWorkflowStore
RepositoryException
- if an error occurs.protected void _release(Session session)
AbstractJackrabbitWorkflowStore
Default implementation calls logout on the session.
_release
in class AmetysObjectWorkflowStore
session
- the session to release.protected Node _getAmetysObjectNode() throws RepositoryException
AmetysObjectWorkflowStore
_getAmetysObjectNode
in class AmetysObjectWorkflowStore
RepositoryException
- on repository error