Package org.camunda.bpm.engine.impl.cmd
Class ProcessInstanceModificationCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.AbstractModificationCmd<Void>
-
- org.camunda.bpm.engine.impl.cmd.ProcessInstanceModificationCmd
-
public class ProcessInstanceModificationCmd extends AbstractModificationCmd<Void>
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
writeUserOperationLog
-
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractModificationCmd
builder
-
-
Constructor Summary
Constructors Constructor Description ProcessInstanceModificationCmd(ModificationBuilderImpl builder, boolean writeUserOperationLog)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.camunda.bpm.engine.impl.cmd.AbstractModificationCmd
collectProcessInstanceIds, getProcessDefinition, writeUserOperationLog
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
-
-
-
Constructor Detail
-
ProcessInstanceModificationCmd
public ProcessInstanceModificationCmd(ModificationBuilderImpl builder, boolean writeUserOperationLog)
-
-
Method Detail
-
execute
public Void execute(CommandContext commandContext)
-
ensureSameProcessDefinition
protected void ensureSameProcessDefinition(ExecutionEntity processInstance, String processDefinitionId)
-
ensureProcessInstanceExist
protected void ensureProcessInstanceExist(String processInstanceId, ExecutionEntity processInstance)
-
createProcessInstanceModificationBuilder
protected ProcessInstanceModificationBuilderImpl createProcessInstanceModificationBuilder(String processInstanceId, CommandContext commandContext)
-
-