Interface CreateCommentCommand
-
- All Superinterfaces:
CommentCommand
,ServiceCommand
- All Known Implementing Classes:
CreateCommentCommandImpl
,CreateCommentFromEditorCommand
public interface CreateCommentCommand extends CommentCommand
Service command to create a new comment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Comment
getComment()
Gets the comment that was created.-
Methods inherited from interface com.atlassian.confluence.core.service.ServiceCommand
execute, getValidationErrors, isAuthorized, isValid
-
-
-
-
Method Detail
-
getComment
Comment getComment()
Gets the comment that was created. Will be null if called beforeexecute()
.- Specified by:
getComment
in interfaceCommentCommand
- Returns:
- the comment that was created, or null if the command has not been executed successfully.
-
-