Class AbstractDeleteProcessInstanceCmd

java.lang.Object
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 Details

    • externallyTerminated

      protected boolean externallyTerminated
    • deleteReason

      protected String deleteReason
    • skipCustomListeners

      protected boolean skipCustomListeners
    • skipSubprocesses

      protected boolean skipSubprocesses
    • failIfNotExists

      protected boolean failIfNotExists
    • skipIoMappings

      protected boolean skipIoMappings
  • Constructor Details

    • AbstractDeleteProcessInstanceCmd

      public AbstractDeleteProcessInstanceCmd()
  • Method Details

    • checkDeleteProcessInstance

      protected void checkDeleteProcessInstance(ExecutionEntity execution, CommandContext commandContext)
    • deleteProcessInstances

      protected void deleteProcessInstances(CommandContext commandContext, List<String> processInstanceIds)
    • deleteProcessInstance

      protected void deleteProcessInstance(CommandContext commandContext, String processInstanceId)
    • triggerHistoryEvent

      public void triggerHistoryEvent(List<ProcessInstance> subProcesslist)