Class UpdateCommentCmd
java.lang.Object
com.flowable.platform.engine.impl.cmd.UpdateCommentCmd
- All Implemented Interfaces:
org.flowable.common.engine.impl.interceptor.Command<CommentEntity>
public class UpdateCommentCmd extends java.lang.Object implements org.flowable.common.engine.impl.interceptor.Command<CommentEntity>
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
commentId
protected java.lang.String
updatedContent
-
Constructor Summary
Constructors Constructor Description UpdateCommentCmd(java.lang.String commentId, java.lang.String updatedContent)
-
Method Summary
Modifier and Type Method Description CommentEntity
execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
-
Field Details
-
commentId
protected java.lang.String commentId -
updatedContent
protected java.lang.String updatedContent
-
-
Constructor Details
-
UpdateCommentCmd
public UpdateCommentCmd(java.lang.String commentId, java.lang.String updatedContent)
-
-
Method Details
-
execute
public CommentEntity execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)- Specified by:
execute
in interfaceorg.flowable.common.engine.impl.interceptor.Command<CommentEntity>
-