Package org.camunda.bpm.engine.impl.cmd
Class AddCommentCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.AddCommentCmd
-
public class AddCommentCmd extends java.lang.Object implements Command<Comment>, java.io.Serializable
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringmessageprotected java.lang.StringprocessInstanceIdprotected java.lang.StringtaskId
-
Constructor Summary
Constructors Constructor Description AddCommentCmd(java.lang.String taskId, java.lang.String processInstanceId, java.lang.String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Commentexecute(CommandContext commandContext)protected ExecutionEntitygetExecution(CommandContext commandContext)protected HistoricProcessInstanceEventEntitygetHistoricRootProcessInstance(java.lang.String rootProcessInstanceId)protected java.lang.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 java.lang.String getHistoryRemovalTimeStrategy()
-
getHistoricRootProcessInstance
protected HistoricProcessInstanceEventEntity getHistoricRootProcessInstance(java.lang.String rootProcessInstanceId)
-
provideRemovalTime
protected void provideRemovalTime(CommentEntity comment)
-
-