|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommentManager
Manager for page comments.
Field Summary |
---|
Fields inherited from interface com.atlassian.confluence.core.ContentEntityManager |
---|
ITERATE_ALL |
Method Summary | |
---|---|
Comment |
addCommentToObject(ContentEntityObject ceo,
Comment parent,
String content)
|
Comment |
addCommentToObject(ContentEntityObject ceo,
Comment parent,
String content,
NewCommentDeduplicator commentDeduplicator)
Add a new comment if the given deduplicator determines that it's not a duplicate, or just return the existing duplicate otherwise. |
Comment |
addCommentToPage(AbstractPage page,
Comment parent,
String content)
Deprecated. |
Map<com.atlassian.bonnie.Searchable,Integer> |
countComments(Collection<? extends com.atlassian.bonnie.Searchable> searchables)
|
int |
countComments(com.atlassian.bonnie.Searchable searchable)
|
Map<Long,Integer> |
countUnresolvedComments(Collection<Long> containerIds)
Count unresolved comments of comment containers. |
Comment |
getComment(long id)
|
List<Comment> |
getPageComments(long pageId,
Date since)
The service get all page comments (page level comments and inline comments) |
List<Comment> |
getPageComments(long pageId,
Date since,
String ignoreUsername)
The service get all page comments (page level comments and inline comments) from a particular date except for comments by the given username. |
List<Comment> |
getPageLevelComments(long pageId,
Date since)
The service get all page level comments |
Iterator |
getRecentlyUpdatedComments(Space space,
int maxResults)
|
void |
removeCommentFromObject(long id)
|
void |
removeCommentFromPage(long id)
Deprecated. |
void |
updateCommentContent(Comment comment,
String content)
|
Method Detail |
---|
Comment getComment(long id)
@Deprecated Comment addCommentToPage(AbstractPage page, Comment parent, String content)
Comment addCommentToObject(ContentEntityObject ceo, Comment parent, String content)
Comment addCommentToObject(ContentEntityObject ceo, Comment parent, String content, NewCommentDeduplicator commentDeduplicator)
void updateCommentContent(Comment comment, String content)
@Deprecated void removeCommentFromPage(long id)
void removeCommentFromObject(long id)
Iterator getRecentlyUpdatedComments(Space space, int maxResults)
List<Comment> getPageComments(long pageId, Date since)
pageId
- page id of commentsince
- comment time
List<Comment> getPageComments(long pageId, Date since, String ignoreUsername)
pageId
- page id of commentsince
- comment timeignoreUsername
- username excepted
List<Comment> getPageLevelComments(long pageId, Date since)
pageId
- page id of commentsince
- comment time
Map<com.atlassian.bonnie.Searchable,Integer> countComments(Collection<? extends com.atlassian.bonnie.Searchable> searchables)
int countComments(com.atlassian.bonnie.Searchable searchable)
Map<Long,Integer> countUnresolvedComments(Collection<Long> containerIds)
containerIds
- the list of comment containers ids
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |