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.StringcommentIdprotected java.lang.StringupdatedContent -
Constructor Summary
Constructors Constructor Description UpdateCommentCmd(java.lang.String commentId, java.lang.String updatedContent) -
Method Summary
Modifier and Type Method Description CommentEntityexecute(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:
executein interfaceorg.flowable.common.engine.impl.interceptor.Command<CommentEntity>
-