|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.content.service.DefaultCommentService
public class DefaultCommentService
| Constructor Summary | |
|---|---|
DefaultCommentService()
|
|
| Method Summary | |
|---|---|
CreateCommentCommand |
newCreateCommentCommand(long pageId,
long parentCommentId,
java.lang.String content)
Retrieve a command to add a new command to some content, threaded below some other comment. |
CreateCommentCommand |
newCreateCommentCommand(long pageId,
java.lang.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,
java.lang.String newContent)
Retrieve a command to edit the contents of a comment. |
void |
setCommentManager(CommentManager commentManager)
|
void |
setPageManager(PageManager pageManager)
|
void |
setPermissionManager(PermissionManager permissionManager)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultCommentService()
| Method Detail |
|---|
public DeleteCommentCommand newDeleteCommentCommand(long commentId)
CommentService
newDeleteCommentCommand in interface CommentServicecommentId - the ID of the comment to delete
public CreateCommentCommand newCreateCommentCommand(long pageId,
java.lang.String content)
CommentService
newCreateCommentCommand in interface CommentServicepageId - the ID of the AbstractPage to attach the comment tocontent - the content of the comment
public CreateCommentCommand newCreateCommentCommand(long pageId,
long parentCommentId,
java.lang.String content)
CommentService
newCreateCommentCommand in interface CommentServicepageId - 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
public EditCommentCommand newEditCommentCommand(long commentId,
java.lang.String newContent)
CommentService
newEditCommentCommand in interface CommentServicecommentId - the id of the comment to editnewContent - the new body of the content
public void setCommentManager(CommentManager commentManager)
public void setPermissionManager(PermissionManager permissionManager)
public void setPageManager(PageManager pageManager)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||