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
 Comment getComment()
          Gets the comment that was created.
Methods inherited from interface com.atlassian.confluence.core.service.ServiceCommand
execute, getValidationErrors, isAuthorized, isValid

Method Detail


Comment getComment()
Gets the comment that was created. Will be null if called before execute().

Specified by:
getComment in interface CommentCommand
the comment that was created, or null if the command has not been executed successfully.

Copyright © 2003–2015 Atlassian. All rights reserved.