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

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmd.DeleteTaskCmd
All Implemented Interfaces:
Serializable, Command<Void>

public class DeleteTaskCmd
extends Object
implements Command<Void>, Serializable

Author:
Joram Barrez
See Also:
Serialized Form

Field Summary
protected  boolean cascade
           
protected  String deleteReason
           
protected  String taskId
           
protected  Collection<String> taskIds
           
 
Constructor Summary
DeleteTaskCmd(Collection<String> taskIds, String deleteReason, boolean cascade)
           
DeleteTaskCmd(String taskId, String deleteReason, boolean cascade)
           
 
Method Summary
protected  void deleteTask(String taskId, CommandContext commandContext)
           
 Void execute(CommandContext commandContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

taskId

protected String taskId

taskIds

protected Collection<String> taskIds

cascade

protected boolean cascade

deleteReason

protected String deleteReason
Constructor Detail

DeleteTaskCmd

public DeleteTaskCmd(String taskId,
                     String deleteReason,
                     boolean cascade)

DeleteTaskCmd

public DeleteTaskCmd(Collection<String> taskIds,
                     String deleteReason,
                     boolean cascade)
Method Detail

execute

public Void execute(CommandContext commandContext)
Specified by:
execute in interface Command<Void>

deleteTask

protected void deleteTask(String taskId,
                          CommandContext commandContext)


Copyright © 2016 camunda services GmbH. All rights reserved.