Interface CommentDaoInternal
- All Superinterfaces:
- CommentDao
- All Known Implementing Classes:
- HibernateCommentDao
Dao for Comments.
- Since:
- 6.10.0
- 
Method SummaryModifier and TypeMethodDescriptionlongcountCommentByStatuses(List<ContentStatus> contentStatuses) Retrieve the latest content count of specific content type for a given space with a particular status.longcountSpaceCommentByStatuses(Space space, List<ContentStatus> contentStatuses) Retrieve the latest content count of specific content type for a given space with a particular status.voidscanFilteredComments(List<ContentStatus> statuses, LimitedRequest pageRequest) scanFilteredSpaceComments(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest) Methods inherited from interface com.atlassian.confluence.pages.persistence.dao.CommentDaocountAllCommentVersions, countComments, countComments, countUnresolvedComments, getById, getChildren, getContainerComments, getContainerComments, getContainerComments, getRecentlyUpdatedComments
- 
Method Details- 
save- Since:
- 9.0
 
- 
scanFilteredComments- Parameters:
- statuses- list of content status
- pageRequest- the pagination requested
- Returns:
- list of comment entities
- Since:
- 9.2.5
 
- 
scanFilteredSpaceCommentsList<Comment> scanFilteredSpaceComments(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest) - Parameters:
- space- the space to locate comments in
- statuses- list of content status
- pageRequest- the pagination requested
- Returns:
- list of comment entities in a given space
- Since:
- 9.2.5
 
- 
countSpaceCommentByStatusesRetrieve the latest content count of specific content type for a given space with a particular status.- Parameters:
- space- the space
- contentStatuses- the statuses of the content being retrieved (e.g.- ContentEntityObject.DELETED
- Returns:
- the number of content objects with that status in that space
- Since:
- 9.2.5
 
- 
countCommentByStatusesRetrieve the latest content count of specific content type for a given space with a particular status.- Parameters:
- contentStatuses- the statuses of the content being retrieved (e.g.- ContentEntityObject.DELETED
- Returns:
- the number of content objects with that status in that space
- Since:
- 9.2.5
 
 
-