Interface CommentDaoInternal
- All Superinterfaces:
CommentDao
- All Known Implementing Classes:
HibernateCommentDao
Dao for Comments.
- Since:
- 6.10.0
-
Method Summary
Modifier and TypeMethodDescriptionlong
countCommentByStatuses
(List<ContentStatus> contentStatuses) Retrieve the latest content count of specific content type for a given space with a particular status.long
countSpaceCommentByStatuses
(Space space, List<ContentStatus> contentStatuses) Retrieve the latest content count of specific content type for a given space with a particular status.void
scanFilteredComments
(List<ContentStatus> statuses, LimitedRequest pageRequest) scanFilteredSpaceComments
(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest) Methods inherited from interface com.atlassian.confluence.pages.persistence.dao.CommentDao
countAllCommentVersions, countComments, countComments, countUnresolvedComments, getById, getChildren, getContainerComments, getContainerComments, getContainerComments, getRecentlyUpdatedComments
-
Method Details
-
save
- Since:
- 9.0
-
scanFilteredComments
- Parameters:
statuses
- list of content statuspageRequest
- the pagination requested- Returns:
- list of comment entities
- Since:
- 9.2.5
-
scanFilteredSpaceComments
List<Comment> scanFilteredSpaceComments(Space space, List<ContentStatus> statuses, LimitedRequest pageRequest) - Parameters:
space
- the space to locate comments instatuses
- list of content statuspageRequest
- the pagination requested- Returns:
- list of comment entities in a given space
- Since:
- 9.2.5
-
countSpaceCommentByStatuses
Retrieve the latest content count of specific content type for a given space with a particular status.- Parameters:
space
- the spacecontentStatuses
- 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
-
countCommentByStatuses
Retrieve 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
-