Interface CommentDaoInternal

    • 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 comment
        pageRequest - the pagination info
        depth - the search depth
        predicates - 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 id
        pageRequest - the pagination info
        depth - the search depth
        predicates - the predicates used to filter the children
        Returns:
        a PageResponse object that encapsulates the comments
        Since:
        7.0.1