public class ProcessInstanceModificationCmd extends AbstractModificationCmd<Void>
Modifier and Type | Field and Description |
---|---|
protected boolean |
writeUserOperationLog |
builder
Constructor and Description |
---|
ProcessInstanceModificationCmd(ModificationBuilderImpl builder,
boolean writeUserOperationLog) |
Modifier and Type | Method and Description |
---|---|
protected ProcessInstanceModificationBuilderImpl |
createProcessInstanceModificationBuilder(String processInstanceId,
CommandContext commandContext) |
protected void |
ensureProcessInstanceExist(String processInstanceId,
ExecutionEntity processInstance) |
protected void |
ensureSameProcessDefinition(ExecutionEntity processInstance,
String processDefinitionId) |
Void |
execute(CommandContext commandContext) |
collectProcessInstanceIds, getProcessDefinition, writeUserOperationLog
public ProcessInstanceModificationCmd(ModificationBuilderImpl builder, boolean writeUserOperationLog)
public Void execute(CommandContext commandContext)
protected void ensureSameProcessDefinition(ExecutionEntity processInstance, String processDefinitionId)
protected void ensureProcessInstanceExist(String processInstanceId, ExecutionEntity processInstance)
protected ProcessInstanceModificationBuilderImpl createProcessInstanceModificationBuilder(String processInstanceId, CommandContext commandContext)
Copyright © 2021. All rights reserved.