Interface CommentDaoInternal
-
- All Superinterfaces:
CommentDao
,ObjectDao
,ObjectDaoInternal<Comment>
- All Known Implementing Classes:
HibernateCommentDao
public interface CommentDaoInternal extends CommentDao, ObjectDaoInternal<Comment>
Dao for Comments.- Since:
- 6.10.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default PageResponse<Comment>
getFilteredChildren(Comment comment, LimitedRequest pageRequest, Depth depth, Predicate<? super Comment>... predicates)
Get the children of a commentdefault PageResponse<Comment>
getFilteredContainerComments(long containerId, LimitedRequest pageRequest, Depth depth, Predicate<? super Comment>... predicates)
Get the comments belonging to a container-
Methods inherited from interface com.atlassian.confluence.pages.persistence.dao.CommentDao
countAllCommentVersions, countComments, countComments, countUnresolvedComments, getById, getChildren, getChildren, getContainerComments, getContainerComments, getContainerComments, getContainerComments, getRecentlyUpdatedComments
-
Methods inherited from interface com.atlassian.confluence.internal.persistence.ObjectDaoInternal
findAll, findAllSorted, findAllSorted, findByClassIds, findByClassIdsFiltered, getPersistentClass, refresh, refreshEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntity
-
-
-
-
Method Detail
-
getFilteredChildren
default PageResponse<Comment> getFilteredChildren(Comment comment, LimitedRequest pageRequest, Depth depth, Predicate<? super Comment>... predicates)
Get the children of a comment- Parameters:
comment
- the parent commentpageRequest
- the pagination infodepth
- the search depthpredicates
- the predicates used to filter the children- Returns:
- the
PageResponse
object that encapsulates the children comments - Since:
- 7.0.1
-
getFilteredContainerComments
default PageResponse<Comment> getFilteredContainerComments(long containerId, LimitedRequest pageRequest, Depth depth, Predicate<? super Comment>... predicates)
Get the comments belonging to a container- Parameters:
containerId
- the container's idpageRequest
- the pagination infodepth
- the search depthpredicates
- the predicates used to filter the children- Returns:
- a
PageResponse
object that encapsulates the comments - Since:
- 7.0.1
-
-