public interface GraphInstanceRepository
GraphInstance.
The repository converts between the persistent artifacts (WorkflowInstance and
WorkItem) and the non-persistent artifacts (GraphInstance and
GraphWorkItem).
| Modifier and Type | Method and Description |
|---|---|
GraphInstance |
load(long woinRefNum)
Loads the
GraphInstance identified by the given workflow instance refNum. |
void |
save(GraphInstance graphInstance,
WorkflowInstanceStatus completeStatus)
Saves the
GraphInstance and therefore updates workflow instance and work item fields. |
GraphInstance load(long woinRefNum)
GraphInstance identified by the given workflow instance refNum.void save(GraphInstance graphInstance, WorkflowInstanceStatus completeStatus)
GraphInstance and therefore updates workflow instance and work item fields.
If the graph instance execution is completed, updates the workflow instance status to the
given completeStatus. This way, we can choose between EXECUTED and ABORTED which are
indistinguishable from the GraphInstance point of view.
Copyright © 2018. All rights reserved.