com.atlassian.confluence.content.service.comment
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

getComment

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

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


Copyright © 2003-2014 Atlassian. All Rights Reserved.