public class AddCommentCmd extends Object implements Command<Comment>, Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
message |
protected String |
processInstanceId |
protected String |
taskId |
Constructor and Description |
---|
AddCommentCmd(String taskId,
String processInstanceId,
String message) |
Modifier and Type | Method and Description |
---|---|
Comment |
execute(CommandContext commandContext) |
protected ExecutionEntity |
getExecution(CommandContext commandContext,
String taskId,
String processInstanceId) |
protected HistoricProcessInstanceEventEntity |
getHistoricRootProcessInstance(String rootProcessInstanceId) |
protected String |
getHistoryRemovalTimeStrategy() |
protected boolean |
isHistoryRemovalTimeStrategyStart() |
protected void |
provideRemovalTime(CommentEntity comment) |
protected String taskId
protected String processInstanceId
protected String message
public Comment execute(CommandContext commandContext)
protected ExecutionEntity getExecution(CommandContext commandContext, String taskId, String processInstanceId)
protected boolean isHistoryRemovalTimeStrategyStart()
protected String getHistoryRemovalTimeStrategy()
protected HistoricProcessInstanceEventEntity getHistoricRootProcessInstance(String rootProcessInstanceId)
protected void provideRemovalTime(CommentEntity comment)
Copyright © 2022. All rights reserved.