Interface CommentManagerInternal

    • Method Detail

      • 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 for
        pageRequest - the pagination requested
        depth - the depth to return children to
        predicates - 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)
        Returns the children comments of a ContentEntityObject, limited to the pagination requested.
        Parameters:
        containerId - the id of the container to find children for
        pageRequest - the pagination requested
        depth - the depth to return children to
        predicates - 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 for
        pageRequest - the pagination requested
        depth - the depth to return children to
        predicates - optional predicates used to filter the comments
        Returns:
        the paginated response of Comment entities
        Since:
        7.0.1