public class DefaultDynamicStateManager extends Object implements DynamicStateManager
| Constructor and Description |
|---|
DefaultDynamicStateManager() |
| Modifier and Type | Method and Description |
|---|---|
protected List<ExecutionEntity> |
createEmbeddedSubProcessExecutions(Collection<org.flowable.bpmn.model.FlowElement> moveToFlowElements,
List<ExecutionEntity> currentExecutions,
MoveExecutionEntityContainer moveExecutionContainer,
CommandContext commandContext) |
protected ExecutionEntity |
createSubProcessInstance(org.flowable.bpmn.model.CallActivity callActivity,
ProcessDefinition subProcessDefinition,
ExecutionEntity parentExecution,
org.flowable.bpmn.model.FlowElement initialFlowElement,
CommandContext commandContext) |
protected ExecutionEntity |
deleteParentExecutions(String parentExecutionId,
Collection<org.flowable.bpmn.model.FlowElement> moveToFlowElements,
CommandContext commandContext) |
protected void |
executeBoundaryEvents(Collection<org.flowable.bpmn.model.BoundaryEvent> boundaryEvents,
ExecutionEntity execution) |
protected ExecutionEntity |
getActiveExecution(String activityId,
ExecutionEntity processExecution,
CommandContext commandContext) |
protected org.flowable.bpmn.model.FlowElement |
getStartElement(org.flowable.bpmn.model.SubProcess subProcess) |
protected boolean |
hasSubProcessId(String subProcessId,
List<ExecutionEntity> currentExecutions) |
protected boolean |
isSubProcessUsedInNewFlowElements(String subProcessId,
Collection<org.flowable.bpmn.model.FlowElement> moveToFlowElements) |
void |
moveExecutionState(List<MoveExecutionEntityContainer> moveExecutionEntityContainerList,
Map<String,Object> processVariables,
Map<String,Map<String,Object>> localVariables,
CommandContext commandContext) |
protected String |
printFlowElementIds(Collection<org.flowable.bpmn.model.FlowElement> flowElements) |
protected Map<String,Object> |
processDataObjects(Collection<org.flowable.bpmn.model.ValuedDataObject> dataObjects) |
ExecutionEntity |
resolveActiveExecution(String executionId,
CommandContext commandContext) |
ExecutionEntity |
resolveActiveExecution(String processInstanceId,
String activityId,
CommandContext commandContext) |
protected ExecutionEntity |
resolveParentExecutionToDelete(ExecutionEntity execution,
Collection<org.flowable.bpmn.model.FlowElement> moveToFlowElements) |
protected void |
resolveSubProcesExecutionsToCreate(String searchActivitiyId,
org.flowable.bpmn.model.SubProcess searchSubProcess,
List<ExecutionEntity> currentExecutions,
MoveExecutionEntityContainer moveExecutionContainer) |
public ExecutionEntity resolveActiveExecution(String executionId, CommandContext commandContext)
resolveActiveExecution in interface DynamicStateManagerpublic ExecutionEntity resolveActiveExecution(String processInstanceId, String activityId, CommandContext commandContext)
resolveActiveExecution in interface DynamicStateManagerpublic void moveExecutionState(List<MoveExecutionEntityContainer> moveExecutionEntityContainerList, Map<String,Object> processVariables, Map<String,Map<String,Object>> localVariables, CommandContext commandContext)
moveExecutionState in interface DynamicStateManagerprotected List<ExecutionEntity> createEmbeddedSubProcessExecutions(Collection<org.flowable.bpmn.model.FlowElement> moveToFlowElements, List<ExecutionEntity> currentExecutions, MoveExecutionEntityContainer moveExecutionContainer, CommandContext commandContext)
protected ExecutionEntity getActiveExecution(String activityId, ExecutionEntity processExecution, CommandContext commandContext)
protected ExecutionEntity deleteParentExecutions(String parentExecutionId, Collection<org.flowable.bpmn.model.FlowElement> moveToFlowElements, CommandContext commandContext)
protected void executeBoundaryEvents(Collection<org.flowable.bpmn.model.BoundaryEvent> boundaryEvents, ExecutionEntity execution)
protected ExecutionEntity createSubProcessInstance(org.flowable.bpmn.model.CallActivity callActivity, ProcessDefinition subProcessDefinition, ExecutionEntity parentExecution, org.flowable.bpmn.model.FlowElement initialFlowElement, CommandContext commandContext)
protected void resolveSubProcesExecutionsToCreate(String searchActivitiyId, org.flowable.bpmn.model.SubProcess searchSubProcess, List<ExecutionEntity> currentExecutions, MoveExecutionEntityContainer moveExecutionContainer)
protected ExecutionEntity resolveParentExecutionToDelete(ExecutionEntity execution, Collection<org.flowable.bpmn.model.FlowElement> moveToFlowElements)
protected boolean isSubProcessUsedInNewFlowElements(String subProcessId, Collection<org.flowable.bpmn.model.FlowElement> moveToFlowElements)
protected boolean hasSubProcessId(String subProcessId, List<ExecutionEntity> currentExecutions)
protected org.flowable.bpmn.model.FlowElement getStartElement(org.flowable.bpmn.model.SubProcess subProcess)
protected Map<String,Object> processDataObjects(Collection<org.flowable.bpmn.model.ValuedDataObject> dataObjects)
protected String printFlowElementIds(Collection<org.flowable.bpmn.model.FlowElement> flowElements)
Copyright © 2018 Flowable. All rights reserved.