| com.atlassian.confluence.content.service.CommentService |
Known Indirect Subclasses
|
Service interface for manipulating Comments.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Retrieve a command to add a new command to some content, threaded below some other comment.
| |||||||||||
Retrieve a command to create a new comment and add it to some content.
| |||||||||||
Retrieve a command to add a new command to some content, threaded below some other comment.
| |||||||||||
Retrieve a command to create a new comment and add it to some content.
| |||||||||||
Retrieve a command to delete an existing comment
| |||||||||||
Retrieve a command to edit the contents of a comment.
| |||||||||||
Retrieve a command to edit the contents of a comment.
| |||||||||||
Retrieve a command to add a new command to some content, threaded below some other comment. The parent comment must (obviously) be attached to the page provided
| pageId | the ID of the AbstractPage to attach the comment to |
|---|---|
| parentCommentId | the ID of the comment that is the parent of this comment in a thread |
| content | the content of the comment |
Retrieve a command to create a new comment and add it to some content. The content identified by the id parameter must be an instance of AbstractPage (i.e. a page or blog post.)
| pageId | the ID of the AbstractPage to attach the comment to |
|---|---|
| content | the content of the comment |
Retrieve a command to add a new command to some content, threaded below some other comment. The parent comment must (obviously) be attached to the page provided. This instance of a CreateCommentCommand expects the comment content to be in Confluence editor format, meaning it will be transformed automatically to storage format when the command is executed.
| pageId | the ID of the AbstractPage to attach the comment to |
|---|---|
| parentCommentId | the ID of the comment that is the parent of this comment in a thread |
| content | the content of the comment in Confluence editor format. |
Retrieve a command to create a new comment and add it to some content. The content identified by the id parameter must be an instance of AbstractPage (i.e. a page or blog post.) This instance of a CreateCommentCommand expects the comment content to be in Confluence editor format, meaning it will be transformed automatically to storage format when the command is executed.
| pageId | the ID of the AbstractPage to attach the comment to |
|---|---|
| content | the content of the comment |
Retrieve a command to delete an existing comment
| commentId | the ID of the comment to delete |
|---|
Retrieve a command to edit the contents of a comment.
| commentId | the id of the comment to edit |
|---|---|
| newContent | the new body of the content |
Retrieve a command to edit the contents of a comment. The content of the comment must be in editor format.
| commentId | the id of the comment to edit |
|---|---|
| newContent | the new body of the content |