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.String
message
protected java.lang.String
processInstanceId
protected java.lang.String
taskId
-
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 Comment
execute(CommandContext commandContext)
protected ExecutionEntity
getExecution(CommandContext commandContext)
protected HistoricProcessInstanceEventEntity
getHistoricRootProcessInstance(java.lang.String rootProcessInstanceId)
protected java.lang.String
getHistoryRemovalTimeStrategy()
protected ExecutionEntity
getProcessInstance(CommandContext commandContext)
protected TaskEntity
getTask(CommandContext commandContext)
protected boolean
isHistoryRemovalTimeStrategyStart()
protected void
provideRemovalTime(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)
-
-