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.


Field Summary
 
Fields inherited from interface com.atlassian.confluence.core.ContentEntityManager
ITERATE_ALL
 
Method Summary
 PageResponse<Comment> getChildren(Comment comment, LimitedRequest pageRequest, Depth depth)
          Returns the children of a comment, limited to the pagination requested.
 PageResponse<Comment> getPageComments(long pageId, LimitedRequest pageRequest, Depth depth)
          Returns the children of a Page or Blogpost, limited to the pagination requested.
 
Methods inherited from interface com.atlassian.confluence.pages.CommentManager
addCommentToObject, addCommentToPage, countComments, countComments, getComment, getPageComments, getPageComments, 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
 

Method Detail

getChildren

PageResponse<Comment> getChildren(Comment comment,
                                  LimitedRequest pageRequest,
                                  Depth depth)
Returns the children of a comment, limited to the pagination requested.

Parameters:
comment - the comment to find children for
pageRequest - the pagination requested
depth - the depth to return children to
Returns:
the paginated response of Comment entities

getPageComments

PageResponse<Comment> getPageComments(long pageId,
                                      LimitedRequest pageRequest,
                                      Depth depth)
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 for
pageRequest - the pagination requested
depth - the depth to return children to
Returns:
the paginated response of Comment entities


Copyright © 2003-2014 Atlassian. All Rights Reserved.