public class UpdateCommentCmd extends Object implements Command<CommentEntity>
| Modifier and Type | Field and Description |
|---|---|
protected String |
commentId |
protected String |
updatedContent |
| Constructor and Description |
|---|
UpdateCommentCmd(String commentId,
String updatedContent) |
| Modifier and Type | Method and Description |
|---|---|
CommentEntity |
execute(CommandContext commandContext) |
public CommentEntity execute(CommandContext commandContext)
execute in interface Command<CommentEntity>