public interface CommentService
| Modifier and Type | Method and Description |
|---|---|
CreateCommentCommand |
newCreateCommentCommand(long pageId,
long parentCommentId,
String content)
Deprecated.
Since 5.6. Use
newCreateCommentCommand(long, long, String, java.util.UUID). |
CreateCommentCommand |
newCreateCommentCommand(long pageId,
long parentCommentId,
String content,
UUID submissionToken)
Retrieve a command to add a new command to some content, threaded below some other comment.
|
CreateCommentCommand |
newCreateCommentCommand(long pageId,
String content)
Deprecated.
Since 5.6. Use
newCreateCommentCommand(long, String, java.util.UUID) |
CreateCommentCommand |
newCreateCommentCommand(long pageId,
String content,
UUID submissionToken)
Retrieve a command to create a new comment and add it to some content.
|
CreateCommentCommand |
newCreateCommentFromEditorCommand(long pageId,
long parentCommentId,
String content)
Deprecated.
|
CreateCommentCommand |
newCreateCommentFromEditorCommand(long pageId,
long parentCommentId,
String content,
UUID submissionToken)
Retrieve a command to add a new command to some content, threaded below some other comment.
|
CreateCommentCommand |
newCreateCommentFromEditorCommand(long pageId,
String content)
Deprecated.
Since 5.5. Use
newCreateCommentFromEditorCommand(long, long, String, java.util.UUID) if you must. |
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.
|
DeleteCommentCommand newDeleteCommentCommand(long commentId)
commentId - the ID of the comment to delete@Deprecated CreateCommentCommand newCreateCommentCommand(long pageId, String content)
newCreateCommentCommand(long, String, java.util.UUID)pageId - the ID of the AbstractPage to attach the comment tocontent - the content of the commentCreateCommentCommand newCreateCommentCommand(long pageId, String content, UUID submissionToken)
pageId - the ID of the AbstractPage to attach the comment tocontent - the content of the commentsubmissionToken - a unique identifier for the comment@Deprecated CreateCommentCommand newCreateCommentCommand(long pageId, long parentCommentId, String content)
newCreateCommentCommand(long, long, String, java.util.UUID).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 commentCreateCommentCommand newCreateCommentCommand(long pageId, long parentCommentId, String content, UUID submissionToken)
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 commentsubmissionToken - a unique identifier for the comment@Deprecated CreateCommentCommand newCreateCommentFromEditorCommand(long pageId, String content)
newCreateCommentFromEditorCommand(long, long, String, java.util.UUID) if you must.pageId - the ID of the AbstractPage to attach the comment tocontent - the content of the comment@Deprecated CreateCommentCommand newCreateCommentFromEditorCommand(long pageId, long parentCommentId, String content)
newCreateCommentFromEditorCommand(long, long, String, java.util.UUID).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.CreateCommentCommand newCreateCommentFromEditorCommand(long pageId, long parentCommentId, String content, UUID submissionToken)
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.submissionToken - a unique identifier for the commentEditCommentCommand newEditCommentFromEditorCommand(long commentId, String newContent)
commentId - the id of the comment to editnewContent - the new body of the contentEditCommentCommand newEditCommentCommand(long commentId, String newContent)
commentId - the id of the comment to editnewContent - the new body of the contentCopyright © 2003–2019 Atlassian. All rights reserved.