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 Comment
execute(CommandContext commandContext)
protected ExecutionEntity
getExecution(CommandContext commandContext)
protected HistoricProcessInstanceEventEntity
getHistoricRootProcessInstance(String rootProcessInstanceId)
protected 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 String getHistoryRemovalTimeStrategy()
-
getHistoricRootProcessInstance
protected HistoricProcessInstanceEventEntity getHistoricRootProcessInstance(String rootProcessInstanceId)
-
provideRemovalTime
protected void provideRemovalTime(CommentEntity comment)
-
-