public abstract class AbstractDeleteProcessInstanceCmd extends Object
Provide common logic for process instance deletion operations. Permissions checking and single process instance removal included.
Modifier and Type | Field and Description |
---|---|
protected String |
deleteReason |
protected boolean |
externallyTerminated |
protected boolean |
skipCustomListeners |
protected boolean |
skipSubprocesses |
Constructor and Description |
---|
AbstractDeleteProcessInstanceCmd() |
Modifier and Type | Method and Description |
---|---|
protected 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) |
protected boolean externallyTerminated
protected String deleteReason
protected boolean skipCustomListeners
protected boolean skipSubprocesses
protected void checkDeleteProcessInstance(ExecutionEntity execution, CommandContext commandContext)
protected void deleteProcessInstance(CommandContext commandContext, String processInstanceId, String deleteReason, boolean skipCustomListeners, boolean externallyTerminated, boolean skipIoMappings, boolean skipSubprocesses)
public void triggerHistoryEvent(List<ProcessInstance> subProcesslist)
Copyright © 2020. All rights reserved.