public class GenericWorkflowStore extends AbstractJackrabbitWorkflowStore
WorkflowProvider
Modifier and Type | Field and Description |
---|---|
(package private) static String |
__HTREE_NT
Internal hash tree node type.
|
__ACTION_ID_PROPERTY, __CALLER_PROPERTY, __CURRENT_STEP_NODE, __DUE_DATE_PROPERTY, __ENTRY_NODE_PREFIX, __ENTRY_NT, __FINISH_DATE_PROPERTY, __HISTORY_STEP_NODE, __ID_PROPERTY, __NAMESPACE, __NAMESPACE_PREFIX, __NEXT_ENTRY_ID_PROPERTY, __NEXT_STEP_ID_PROPERTY, __NM_PREFIX, __OWNER_PROPERTY, __PREVIOUS_STEPS_PROPERTY, __ROOT_NODE, __ROOT_NT, __START_DATE_PROPERTY, __STATE_PROPERTY, __STATUS_PROPERTY, __STEP_ID_PROPERTY, __STEP_NT, __WF_NAME_PROPERTY, _log, _repository
Constructor and Description |
---|
GenericWorkflowStore(Repository repository)
Generic workflow store constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
_createRootNode()
Create the root node.
|
protected List<String> |
_getEntryHash(long entryId)
Retrieve the hash used for an entry id.
|
protected Node |
_getOrCreateParentEntryNode(Node root,
long id)
Retrieves the parent node of a workflow entry.
|
protected Node |
_getRootNode(Session session)
Get the workflow store root node
|
boolean |
shouldClearHistory()
Returns true if the history steps have to be removed when the workflow reaches its final step
|
__toCalendar, _getNextEntryId, _getNextStepId, _getSession, _release, buildFieldExpression, buildNestedExpression, clearHistory, createCurrentStep, createEntry, deleteInstance, findCurrentSteps, findEntry, findHistorySteps, getCondition, getEntryNode, getFirstFieldExpression, getHistoryStepNode, getPredicate, getPropertyName, getPropertySet, getSortCriteria, init, markFinished, moveToHistory, query, query, removeEntry, setEntryState, storeNewEntry, translateValue
static final String __HTREE_NT
public GenericWorkflowStore(Repository repository)
repository
- The repositorypublic boolean shouldClearHistory()
AmetysWorkflowStore
protected void _createRootNode() throws RepositoryException
AbstractJackrabbitWorkflowStore
_createRootNode
in class AbstractJackrabbitWorkflowStore
RepositoryException
- if an error occurs.protected Node _getRootNode(Session session) throws RepositoryException
AbstractJackrabbitWorkflowStore
_getRootNode
in class AbstractJackrabbitWorkflowStore
session
- the session to useRepositoryException
- if an error occurs.protected List<String> _getEntryHash(long entryId)
entryId
- the entry id.protected Node _getOrCreateParentEntryNode(Node root, long id) throws RepositoryException
AbstractJackrabbitWorkflowStore
_getOrCreateParentEntryNode
in class AbstractJackrabbitWorkflowStore
root
- The workflow store root nodeid
- The workflow entry idRepositoryException
- on repository error