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

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmd.AbstractDeleteProcessInstanceCmd
Direct Known Subclasses:
DeleteProcessInstanceCmd, DeleteProcessInstancesCmd

public abstract class AbstractDeleteProcessInstanceCmd
extends Object

Created by aakhmerov on 16.09.16.

Provide common logic for process instance deletion operations. Permissions checking and single process instance removal included.


Field Summary
protected  String deleteReason
           
protected  boolean externallyTerminated
           
protected  boolean skipCustomListeners
           
 
Constructor Summary
AbstractDeleteProcessInstanceCmd()
           
 
Method Summary
protected  void checkDeleteProcessInstance(ExecutionEntity execution, CommandContext commandContext)
           
protected  void deleteProcessInstance(CommandContext commandContext, String processInstanceId, String deleteReason, boolean skipCustomListeners, boolean externallyTerminated, boolean skipIoMappings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

externallyTerminated

protected boolean externallyTerminated

deleteReason

protected String deleteReason

skipCustomListeners

protected boolean skipCustomListeners
Constructor Detail

AbstractDeleteProcessInstanceCmd

public AbstractDeleteProcessInstanceCmd()
Method Detail

checkDeleteProcessInstance

protected void checkDeleteProcessInstance(ExecutionEntity execution,
                                          CommandContext commandContext)

deleteProcessInstance

protected void deleteProcessInstance(CommandContext commandContext,
                                     String processInstanceId,
                                     String deleteReason,
                                     boolean skipCustomListeners,
                                     boolean externallyTerminated,
                                     boolean skipIoMappings)


Copyright © 2017 camunda services GmbH. All rights reserved.