org.camunda.bpm.engine.impl.cmd
Class DeleteTaskCmd
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
taskId
protected String taskId
taskIds
protected Collection<String> taskIds
cascade
protected boolean cascade
deleteReason
protected String deleteReason
DeleteTaskCmd
public DeleteTaskCmd(String taskId,
String deleteReason,
boolean cascade)
DeleteTaskCmd
public DeleteTaskCmd(Collection<String> taskIds,
String deleteReason,
boolean cascade)
execute
public Void execute(CommandContext commandContext)
- Specified by:
execute in interface Command<Void>
deleteTask
protected void deleteTask(String taskId,
CommandContext commandContext)
checkDeleteTask
protected void checkDeleteTask(TaskEntity task,
CommandContext commandContext)
Copyright © 2016 camunda services GmbH. All rights reserved.