Package org.camunda.bpm.engine.impl.cmd
Class AbstractDeleteProcessInstanceCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.AbstractDeleteProcessInstanceCmd
- Direct Known Subclasses:
DeleteProcessInstanceCmd
,DeleteProcessInstancesCmd
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
Modifier and TypeFieldDescriptionprotected String
protected boolean
protected boolean
protected boolean
protected boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkDeleteProcessInstance
(ExecutionEntity execution, CommandContext commandContext) protected void
deleteProcessInstance
(CommandContext commandContext, String processInstanceId, String deleteReason, boolean skipCustomListeners, boolean externallyTerminated, boolean skipIoMappings, boolean skipSubprocesses) void
triggerHistoryEvent
(List<ProcessInstance> subProcesslist)
-
Field Details
-
externallyTerminated
protected boolean externallyTerminated -
deleteReason
-
skipCustomListeners
protected boolean skipCustomListeners -
skipSubprocesses
protected boolean skipSubprocesses -
failIfNotExists
protected boolean failIfNotExists
-
-
Constructor Details
-
AbstractDeleteProcessInstanceCmd
public AbstractDeleteProcessInstanceCmd()
-
-
Method Details
-
checkDeleteProcessInstance
-
deleteProcessInstance
protected void deleteProcessInstance(CommandContext commandContext, String processInstanceId, String deleteReason, boolean skipCustomListeners, boolean externallyTerminated, boolean skipIoMappings, boolean skipSubprocesses) -
triggerHistoryEvent
-