Package 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
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
cascade
protected String
deleteReason
protected String
taskId
protected Collection<String>
taskIds
-
Constructor Summary
Constructors Constructor Description DeleteTaskCmd(String taskId, String deleteReason, boolean cascade)
DeleteTaskCmd(Collection<String> taskIds, String deleteReason, boolean cascade)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkDeleteTask(TaskEntity task, CommandContext commandContext)
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
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
-
-
-
Field Detail
-
taskId
protected String taskId
-
taskIds
protected Collection<String> taskIds
-
cascade
protected boolean cascade
-
deleteReason
protected String deleteReason
-
-
Constructor Detail
-
DeleteTaskCmd
public DeleteTaskCmd(Collection<String> taskIds, String deleteReason, boolean cascade)
-
-
Method Detail
-
execute
public Void execute(CommandContext commandContext)
-
deleteTask
protected void deleteTask(String taskId, CommandContext commandContext)
-
checkDeleteTask
protected void checkDeleteTask(TaskEntity task, CommandContext commandContext)
-
-