Interface CommentManagerInternal
-
- All Superinterfaces:
CommentManager,ContentEntityManager
- All Known Implementing Classes:
DefaultCommentManager
@ParametersAreNonnullByDefault public interface CommentManagerInternal extends CommentManager
Internal version of theCommentManagerinterface; see the package-info.java for rationale.
-
-
Field Summary
-
Fields inherited from interface com.atlassian.confluence.core.ContentEntityManager
ITERATE_ALL
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description @NonNull PageResponse<Comment>getChildren(Comment comment, LimitedRequest pageRequest, Depth depth, com.google.common.base.Predicate<? super Comment>... predicates)Deprecated.since 7.0.1.@NonNull PageResponse<Comment>getContainerComments(long containerId, LimitedRequest pageRequest, Depth depth, com.google.common.base.Predicate<? super Comment>... predicates)Deprecated.since 7.0.1.default @NonNull PageResponse<Comment>getFilteredChildren(Comment comment, LimitedRequest pageRequest, Depth depth, Predicate<? super Comment>... predicates)Returns the children of a comment, limited to the pagination requested.default @NonNull PageResponse<Comment>getFilteredContainerComments(long containerId, LimitedRequest pageRequest, Depth depth, Predicate<? super Comment>... predicates)Returns the children comments of a ContentEntityObject, limited to the pagination requested.-
Methods inherited from interface com.atlassian.confluence.pages.CommentManager
addCommentToObject, addCommentToObject, addCommentToPage, countAllCommentVersions, countComments, countComments, countUnresolvedComments, getComment, getPageComments, getPageComments, getPageLevelComments, getRecentlyUpdatedComments, removeCommentFromObject, removeCommentFromPage, updateCommentContent
-
Methods inherited from interface com.atlassian.confluence.core.ContentEntityManager
getById, getContributionStatusByUser, getNextVersion, getOtherVersion, getPageAndBlogPostsVersionsLastEditedByUser, getPageAndBlogPostsVersionsLastEditedByUserIncludingDrafts, getPreviousVersion, getRecentlyAddedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntitiesForUser, getRecentlyModifiedForChangeDigest, getVersionHistorySummaries, getVersionsLastEditedByUser, refreshContentEntity, removeContentEntity, removeHistoricalVersion, revertContentEntityBackToVersion, saveContentEntity, saveContentEntity, saveNewVersion, saveNewVersion
-
-
-
-
Method Detail
-
getChildren
@Deprecated @NonNull PageResponse<Comment> getChildren(Comment comment, LimitedRequest pageRequest, Depth depth, com.google.common.base.Predicate<? super Comment>... predicates)
Deprecated.since 7.0.1. UsegetFilteredChildren(Comment, LimitedRequest, Depth, Predicate[])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
-
getFilteredChildren
default @NonNull PageResponse<Comment> getFilteredChildren(Comment comment, LimitedRequest pageRequest, Depth depth, 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
- Since:
- 7.0.1
-
getContainerComments
@Deprecated @NonNull PageResponse<Comment> getContainerComments(long containerId, LimitedRequest pageRequest, Depth depth, com.google.common.base.Predicate<? super Comment>... predicates)
Deprecated.Returns the children comments of a ContentEntityObject, limited to the pagination requested.- Parameters:
containerId- the id of the container 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
- Since:
- 5.10
-
getFilteredContainerComments
default @NonNull PageResponse<Comment> getFilteredContainerComments(long containerId, LimitedRequest pageRequest, Depth depth, Predicate<? super Comment>... predicates)
Returns the children comments of a ContentEntityObject, limited to the pagination requested.- Parameters:
containerId- the id of the container 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
- Since:
- 7.0.1
-
-