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

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmd.AbstractProcessInstanceModificationCommand
      extended by org.camunda.bpm.engine.impl.cmd.AbstractInstanceCancellationCmd
All Implemented Interfaces:
Command<Void>
Direct Known Subclasses:
ActivityInstanceCancellationCmd, TransitionInstanceCancellationCmd

public abstract class AbstractInstanceCancellationCmd
extends AbstractProcessInstanceModificationCommand

Author:
Thorben Lindhauer

Field Summary
 
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractProcessInstanceModificationCommand
processInstanceId, skipCustomListeners, skipIoMappings
 
Constructor Summary
AbstractInstanceCancellationCmd(String processInstanceId)
           
 
Method Summary
protected abstract  ExecutionEntity determineSourceInstanceExecution(CommandContext commandContext)
           
 Void execute(CommandContext commandContext)
           
protected  void handleChildRemovalInScope(ExecutionEntity removedExecution)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.cmd.AbstractProcessInstanceModificationCommand
findActivityInstance, findTransitionInstance, getScopeExecutionForActivityInstance, getScopeForActivityInstance, setProcessInstanceId, setSkipCustomListeners, setSkipIoMappings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractInstanceCancellationCmd

public AbstractInstanceCancellationCmd(String processInstanceId)
Method Detail

execute

public Void execute(CommandContext commandContext)

handleChildRemovalInScope

protected void handleChildRemovalInScope(ExecutionEntity removedExecution)

determineSourceInstanceExecution

protected abstract ExecutionEntity determineSourceInstanceExecution(CommandContext commandContext)


Copyright © 2015 camunda services GmbH. All rights reserved.