Package org.camunda.bpm.engine.impl.cmd
Class AddCommentCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.AddCommentCmd
-
- All Implemented Interfaces:
Serializable,Command<Comment>
public class AddCommentCmd extends Object implements Command<Comment>, Serializable
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AddCommentCmd(String taskId, String processInstanceId, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Commentexecute(CommandContext commandContext)protected ExecutionEntitygetExecution(CommandContext commandContext)protected HistoricProcessInstanceEventEntitygetHistoricRootProcessInstance(String rootProcessInstanceId)protected StringgetHistoryRemovalTimeStrategy()protected ExecutionEntitygetProcessInstance(CommandContext commandContext)protected TaskEntitygetTask(CommandContext commandContext)protected booleanisHistoryRemovalTimeStrategyStart()protected voidprovideRemovalTime(CommentEntity comment)-
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 Comment execute(CommandContext commandContext)
-
getExecution
protected ExecutionEntity getExecution(CommandContext commandContext)
-
getProcessInstance
protected ExecutionEntity getProcessInstance(CommandContext commandContext)
-
getTask
protected TaskEntity getTask(CommandContext commandContext)
-
isHistoryRemovalTimeStrategyStart
protected boolean isHistoryRemovalTimeStrategyStart()
-
getHistoryRemovalTimeStrategy
protected String getHistoryRemovalTimeStrategy()
-
getHistoricRootProcessInstance
protected HistoricProcessInstanceEventEntity getHistoricRootProcessInstance(String rootProcessInstanceId)
-
provideRemovalTime
protected void provideRemovalTime(CommentEntity comment)
-
-