Package org.camunda.bpm.engine.impl.cmd
Class AbstractDeleteProcessInstanceCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.AbstractDeleteProcessInstanceCmd
-
- Direct Known Subclasses:
DeleteProcessInstanceCmd,DeleteProcessInstancesCmd
public abstract class AbstractDeleteProcessInstanceCmd extends java.lang.ObjectCreated by aakhmerov on 16.09.16.Provide common logic for process instance deletion operations. Permissions checking and single process instance removal included.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringdeleteReasonprotected booleanexternallyTerminatedprotected booleanfailIfNotExistsprotected booleanskipCustomListenersprotected booleanskipSubprocesses
-
Constructor Summary
Constructors Constructor Description AbstractDeleteProcessInstanceCmd()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckDeleteProcessInstance(ExecutionEntity execution, CommandContext commandContext)protected voiddeleteProcessInstance(CommandContext commandContext, java.lang.String processInstanceId, java.lang.String deleteReason, boolean skipCustomListeners, boolean externallyTerminated, boolean skipIoMappings, boolean skipSubprocesses)voidtriggerHistoryEvent(java.util.List<ProcessInstance> subProcesslist)
-
-
-
Method Detail
-
checkDeleteProcessInstance
protected void checkDeleteProcessInstance(ExecutionEntity execution, CommandContext commandContext)
-
deleteProcessInstance
protected void deleteProcessInstance(CommandContext commandContext, java.lang.String processInstanceId, java.lang.String deleteReason, boolean skipCustomListeners, boolean externallyTerminated, boolean skipIoMappings, boolean skipSubprocesses)
-
triggerHistoryEvent
public void triggerHistoryEvent(java.util.List<ProcessInstance> subProcesslist)
-
-