@Repository @Transactional public class GraphInstanceRepositoryImpl extends Object implements GraphInstanceRepository
| Constructor and Description |
|---|
GraphInstanceRepositoryImpl() |
| 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. |
public GraphInstance load(long woinRefNum)
GraphInstanceRepositoryGraphInstance identified by the given workflow instance refNum.load in interface GraphInstanceRepositorypublic void save(GraphInstance graphInstance, WorkflowInstanceStatus completeStatus)
GraphInstanceRepositoryGraphInstance 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.
save in interface GraphInstanceRepositoryCopyright © 2018. All rights reserved.