Package org.camunda.bpm.engine.impl.cmd
Class DeleteTaskCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.DeleteTaskCmd
-
- All Implemented Interfaces:
java.io.Serializable,Command<java.lang.Void>
public class DeleteTaskCmd extends java.lang.Object implements Command<java.lang.Void>, java.io.Serializable
- Author:
- Joram Barrez
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected booleancascadeprotected java.lang.StringdeleteReasonprotected java.lang.StringtaskIdprotected java.util.Collection<java.lang.String>taskIds
-
Constructor Summary
Constructors Constructor Description DeleteTaskCmd(java.lang.String taskId, java.lang.String deleteReason, boolean cascade)DeleteTaskCmd(java.util.Collection<java.lang.String> taskIds, java.lang.String deleteReason, boolean cascade)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckDeleteTask(TaskEntity task, CommandContext commandContext)protected voiddeleteTask(java.lang.String taskId, CommandContext commandContext)java.lang.Voidexecute(CommandContext commandContext)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
-
-
-
Method Detail
-
execute
public java.lang.Void execute(CommandContext commandContext)
-
deleteTask
protected void deleteTask(java.lang.String taskId, CommandContext commandContext)
-
checkDeleteTask
protected void checkDeleteTask(TaskEntity task, CommandContext commandContext)
-
-