com.atlassian.confluence.pages
Interface CommentManager
- All Superinterfaces:
- ContentEntityManager
- All Known Subinterfaces:
- CommentManagerInternal
- All Known Implementing Classes:
- DefaultCommentManager
public interface CommentManager
- extends ContentEntityManager
Manager for page comments.
Method Summary |
Comment |
addCommentToObject(ContentEntityObject ceo,
Comment parent,
java.lang.String content)
|
Comment |
addCommentToPage(AbstractPage page,
Comment parent,
java.lang.String content)
Deprecated. |
java.util.Map<com.atlassian.bonnie.Searchable,java.lang.Integer> |
countComments(java.util.Collection<? extends com.atlassian.bonnie.Searchable> searchables)
|
int |
countComments(com.atlassian.bonnie.Searchable searchable)
|
Comment |
getComment(long id)
|
java.util.List<Comment> |
getPageComments(long pageId,
java.util.Date since)
|
java.util.List<Comment> |
getPageComments(long pageId,
java.util.Date since,
java.lang.String ignoreUsername)
|
java.util.Iterator |
getRecentlyUpdatedComments(Space space,
int maxResults)
|
void |
removeCommentFromObject(long id)
|
void |
removeCommentFromPage(long id)
Deprecated. |
void |
updateCommentContent(Comment comment,
java.lang.String content)
|
Methods inherited from interface com.atlassian.confluence.core.ContentEntityManager |
getById, getNextVersion, getOtherVersion, getPreviousVersion, getRecentlyAddedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntitiesForUser, getRecentlyModifiedForChangeDigest, getVersionHistorySummaries, refreshContentEntity, removeContentEntity, removeHistoricalVersion, revertContentEntityBackToVersion, saveContentEntity, saveContentEntity, saveNewVersion, saveNewVersion, setEventManager, updateContentLinkingTo, updateOutgoingLinksInContent, updateSingleContentLinkinTo, updateSingleContentLinkinTo |
getComment
Comment getComment(long id)
addCommentToPage
@Deprecated
Comment addCommentToPage(AbstractPage page,
Comment parent,
java.lang.String content)
- Deprecated.
addCommentToObject
Comment addCommentToObject(ContentEntityObject ceo,
Comment parent,
java.lang.String content)
updateCommentContent
void updateCommentContent(Comment comment,
java.lang.String content)
removeCommentFromPage
@Deprecated
void removeCommentFromPage(long id)
- Deprecated.
removeCommentFromObject
void removeCommentFromObject(long id)
getRecentlyUpdatedComments
java.util.Iterator getRecentlyUpdatedComments(Space space,
int maxResults)
getPageComments
java.util.List<Comment> getPageComments(long pageId,
java.util.Date since)
getPageComments
java.util.List<Comment> getPageComments(long pageId,
java.util.Date since,
java.lang.String ignoreUsername)
- Returns:
- all page comments from a particular date except for comments by the given username.
countComments
java.util.Map<com.atlassian.bonnie.Searchable,java.lang.Integer> countComments(java.util.Collection<? extends com.atlassian.bonnie.Searchable> searchables)
countComments
int countComments(com.atlassian.bonnie.Searchable searchable)
Copyright © 2003-2014 Atlassian. All Rights Reserved.