Class FindCommentsRequest

  • All Implemented Interfaces:
    Serializable

    public class FindCommentsRequest
    extends PagedRequest
    The search criteria for comments.

    Only parameters that are specified in this request and have not null values are used for filtering. All other parameters are ignored.

    The returned comments satisfy all constraints that are specified in this search criteria.

    By default a result containing 1000 comments is returned.

    See Also:
    Serialized Form
    • Constructor Detail

      • FindCommentsRequest

        public FindCommentsRequest()
    • Method Detail

      • getParentId

        public UUID getParentId()
        The ID of the comment which the reply comments should be searched for.
      • getUserId

        public UUID getUserId()
        The ID of the user who created the comment.
      • getBaseResourceId

        public UUID getBaseResourceId()
        The ID of the resource which the searched comments refer to.
      • getRootComment

        public Boolean getRootComment()
        Whether the searched comments should be root comments (not reply comments).
      • getSortOrder

        public SortOrder getSortOrder()
        The order of sorting on the date the comment was created.
      • setParentId

        public void setParentId​(UUID parentId)
        The ID of the comment which the reply comments should be searched for.
      • setUserId

        public void setUserId​(UUID userId)
        The ID of the user who created the comment.
      • setBaseResourceId

        public void setBaseResourceId​(UUID baseResourceId)
        The ID of the resource which the searched comments refer to.
      • setRootComment

        public void setRootComment​(Boolean rootComment)
        Whether the searched comments should be root comments (not reply comments).
      • setSortOrder

        public void setSortOrder​(SortOrder sortOrder)
        The order of sorting on the date the comment was created.
      • canEqual

        protected boolean canEqual​(Object other)
        Overrides:
        canEqual in class PagedRequest