public interface AmetysWorkflowStore extends com.opensymphony.workflow.spi.WorkflowStore
WorkflowStore
which does not keep instances once they are finished.Modifier and Type | Method and Description |
---|---|
void |
clearHistory(long entryId)
Removes all history steps of an instance from the database.
All future calls to the history will return an empty List of Step. |
void |
deleteInstance(long entryId)
Deletes a workflow instance from the database.
All future calls from the workflow to this instance will failed. |
boolean |
shouldClearHistory()
Returns true if the history steps have to be removed when the workflow reaches its final step
|
boolean shouldClearHistory()
void deleteInstance(long entryId) throws com.opensymphony.workflow.StoreException
entryId
- The id of a workflow instance.com.opensymphony.workflow.StoreException
- if an error occurs.void clearHistory(long entryId) throws com.opensymphony.workflow.StoreException
entryId
- the id of a workflow instance.com.opensymphony.workflow.StoreException
- if an error occurs.