Package org.camunda.bpm.engine.impl.cmd
Class SetTaskFollowUpDateCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.AbstractSetTaskPropertyCmd<Date>
-
- org.camunda.bpm.engine.impl.cmd.SetTaskFollowUpDateCmd
-
- All Implemented Interfaces:
Serializable,Command<Void>
public class SetTaskFollowUpDateCmd extends AbstractSetTaskPropertyCmd<Date>
Command to change task followUpDate to a new value.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetTaskPropertyCmd
taskId, value
-
-
Constructor Summary
Constructors Constructor Description SetTaskFollowUpDateCmd(String taskId, Date value)Constructor to create a SetTaskFollowUpDateCmd.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidexecuteSetOperation(TaskEntity task, Date value)Executes the set operation of the concrete command.protected StringgetUserOperationLogName()Returns the User Operation Log name that corresponds to this command.-
Methods inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetTaskPropertyCmd
checkTaskAgainstContext, ensureNotNullAndGet, execute, logOperation, validateAndGet
-
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
-
-
-
-
Constructor Detail
-
SetTaskFollowUpDateCmd
public SetTaskFollowUpDateCmd(String taskId, Date value)
Constructor to create a SetTaskFollowUpDateCmd.- Parameters:
taskId- the id of the referenced task, non-nullvalue- the followUpDate value to set, non-null- Throws:
NullValueException- in case the given taskId or the given followUpDate value are null
-
-
Method Detail
-
getUserOperationLogName
protected String getUserOperationLogName()
Description copied from class:AbstractSetTaskPropertyCmdReturns the User Operation Log name that corresponds to this command. Meant to be implemented by concretions.- Specified by:
getUserOperationLogNamein classAbstractSetTaskPropertyCmd<Date>- Returns:
- the user operation log name
-
executeSetOperation
protected void executeSetOperation(TaskEntity task, Date value)
Description copied from class:AbstractSetTaskPropertyCmdExecutes the set operation of the concrete command.- Specified by:
executeSetOperationin classAbstractSetTaskPropertyCmd<Date>- Parameters:
task- the task entity on which to set a propertyvalue- the value to se
-
-