|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommentService
Service interface for manipulating Comments.
Method Summary | |
---|---|
CreateCommentCommand |
newCreateCommentCommand(long pageId,
long parentCommentId,
String content)
Retrieve a command to add a new command to some content, threaded below some other comment. |
CreateCommentCommand |
newCreateCommentCommand(long pageId,
String content)
Retrieve a command to create a new comment and add it to some content. |
CreateCommentCommand |
newCreateCommentFromEditorCommand(long pageId,
long parentCommentId,
String content)
Retrieve a command to add a new command to some content, threaded below some other comment. |
CreateCommentCommand |
newCreateCommentFromEditorCommand(long pageId,
String content)
Retrieve a command to create a new comment and add it to some content. |
DeleteCommentCommand |
newDeleteCommentCommand(long commentId)
Retrieve a command to delete an existing comment |
EditCommentCommand |
newEditCommentCommand(long commentId,
String newContent)
Retrieve a command to edit the contents of a comment. |
EditCommentCommand |
newEditCommentFromEditorCommand(long commentId,
String newContent)
Retrieve a command to edit the contents of a comment. |
Method Detail |
---|
DeleteCommentCommand newDeleteCommentCommand(long commentId)
commentId
- the ID of the comment to delete
CreateCommentCommand newCreateCommentCommand(long pageId, String content)
pageId
- the ID of the AbstractPage to attach the comment tocontent
- the content of the comment
CreateCommentCommand newCreateCommentCommand(long pageId, long parentCommentId, String content)
pageId
- the ID of the AbstractPage to attach the comment toparentCommentId
- the ID of the comment that is the parent of this comment in a threadcontent
- the content of the comment
CreateCommentCommand newCreateCommentFromEditorCommand(long pageId, String content)
pageId
- the ID of the AbstractPage to attach the comment tocontent
- the content of the comment
CreateCommentCommand newCreateCommentFromEditorCommand(long pageId, long parentCommentId, String content)
pageId
- the ID of the AbstractPage to attach the comment toparentCommentId
- the ID of the comment that is the parent of this comment in a threadcontent
- the content of the comment in Confluence editor format.
EditCommentCommand newEditCommentFromEditorCommand(long commentId, String newContent)
commentId
- the id of the comment to editnewContent
- the new body of the content
EditCommentCommand newEditCommentCommand(long commentId, String newContent)
commentId
- the id of the comment to editnewContent
- the new body of the content
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |