org.camunda.bpm.engine.impl.cmd
Class ModifyProcessInstanceCmd

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmd.ModifyProcessInstanceCmd
All Implemented Interfaces:
Command<Void>

public class ModifyProcessInstanceCmd
extends Object
implements Command<Void>

Author:
Thorben Lindhauer

Field Summary
protected  ProcessInstanceModificationBuilderImpl builder
           
protected  boolean writeOperationLog
           
 
Constructor Summary
ModifyProcessInstanceCmd(ProcessInstanceModificationBuilderImpl processInstanceModificationBuilder)
           
ModifyProcessInstanceCmd(ProcessInstanceModificationBuilderImpl processInstanceModificationBuilder, boolean writeOperationLog)
           
 
Method Summary
protected  void checkDeleteProcessInstance(ExecutionEntity execution, CommandContext commandContext)
           
protected  void checkUpdateProcessInstance(ExecutionEntity execution, CommandContext commandContext)
           
protected  void deletePropagate(ExecutionEntity processInstance, String deleteReason, boolean skipCustomListeners, boolean skipIoMappings)
           
protected  void ensureProcessInstanceExist(String processInstanceId, ExecutionEntity processInstance)
           
 Void execute(CommandContext commandContext)
           
protected  String getLogEntryOperation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

builder

protected ProcessInstanceModificationBuilderImpl builder

writeOperationLog

protected boolean writeOperationLog
Constructor Detail

ModifyProcessInstanceCmd

public ModifyProcessInstanceCmd(ProcessInstanceModificationBuilderImpl processInstanceModificationBuilder)

ModifyProcessInstanceCmd

public ModifyProcessInstanceCmd(ProcessInstanceModificationBuilderImpl processInstanceModificationBuilder,
                                boolean writeOperationLog)
Method Detail

execute

public Void execute(CommandContext commandContext)
Specified by:
execute in interface Command<Void>

ensureProcessInstanceExist

protected void ensureProcessInstanceExist(String processInstanceId,
                                          ExecutionEntity processInstance)

getLogEntryOperation

protected String getLogEntryOperation()

checkUpdateProcessInstance

protected void checkUpdateProcessInstance(ExecutionEntity execution,
                                          CommandContext commandContext)

checkDeleteProcessInstance

protected void checkDeleteProcessInstance(ExecutionEntity execution,
                                          CommandContext commandContext)

deletePropagate

protected void deletePropagate(ExecutionEntity processInstance,
                               String deleteReason,
                               boolean skipCustomListeners,
                               boolean skipIoMappings)


Copyright © 2017 camunda services GmbH. All rights reserved.