Class NodeCommentsRelation

    • Constructor Detail

      • NodeCommentsRelation

        public NodeCommentsRelation()
    • Method Detail

      • setComments

        public void setComments​(Comments comments)
      • afterPropertiesSet

        public void afterPropertiesSet()
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      • readAll

        public CollectionWithPagingInfo<Comment> readAll​(java.lang.String nodeId,
                                                         Parameters parameters)
        Returns a paged list of comments for the document/folder identified by nodeId, sorted chronologically with the newest first. THOR-1152: “F313: For a folder or document, get the list of associated comments” If nodeId does not exist, EntityNotFoundException (status 404). If nodeId does not represent a document or folder, InvalidArgumentException (status 400).
        Specified by:
        readAll in interface RelationshipResourceAction.Read<Comment>
        Parameters:
        nodeId - Entity resource context for this relationship
        parameters - - will never be null and will have the PAGING default values