com.atlassian.confluence.internal.pages
Interface CommentManagerInternal
- All Superinterfaces:
- CommentManager, ContentEntityManager
- All Known Implementing Classes:
- DefaultCommentManager
public interface CommentManagerInternal
- extends CommentManager
Internal version of the CommentManager interface; see the package-info.java for rationale.
| Methods inherited from interface com.atlassian.confluence.pages.CommentManager |
addCommentToObject, addCommentToObject, addCommentToPage, countComments, countComments, countUnresolvedComments, getComment, getPageComments, getPageComments, getPageLevelComments, getRecentlyUpdatedComments, removeCommentFromObject, removeCommentFromPage, updateCommentContent |
| 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 |
getChildren
PageResponse<Comment> getChildren(Comment comment,
LimitedRequest pageRequest,
Depth depth,
com.google.common.base.Predicate<? super Comment>... predicates)
- Returns the children of a comment, limited to the pagination requested.
- Parameters:
comment - the comment to find children forpageRequest - the pagination requesteddepth - the depth to return children topredicates - optional predicates used to filter the comments
- Returns:
- the paginated response of Comment entities
getPageComments
PageResponse<Comment> getPageComments(long pageId,
LimitedRequest pageRequest,
Depth depth,
com.google.common.base.Predicate<? super Comment>... predicates)
- Returns the children of a Page or Blogpost, limited to the pagination requested.
- Parameters:
pageId - the id of the page or blogpost to find children forpageRequest - the pagination requesteddepth - the depth to return children topredicates - optional predicates used to filter the comments
- Returns:
- the paginated response of Comment entities
Copyright © 2003–2015 Atlassian. All rights reserved.