Class NodeChildrenRelation

    • Constructor Detail

      • NodeChildrenRelation

        public NodeChildrenRelation()
    • Method Detail

      • setNodes

        public void setNodes​(Nodes nodes)
      • afterPropertiesSet

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

        public CollectionWithPagingInfo<Node> readAll​(String parentFolderNodeId,
                                                      Parameters parameters)
        List folder children - returns a filtered/sorted/paged list of nodes that are immediate children of the parent folder
        Specified by:
        readAll in interface RelationshipResourceAction.Read<Node>
        Parameters:
        parentFolderNodeId - String id of parent folder - will also accept well-known alias, eg. -root- or -my- or -shared- Optional query parameters: - include - fields - where - orderBy - skipCount - maxItems - ... etc Please refer to OpenAPI spec for more details ! If parentFolderNodeId does not exist, EntityNotFoundException (status 404). If parentFolderNodeId does not represent a folder, InvalidArgumentException (status 400).
        parameters - - will never be null and will have the PAGING default values
      • create

        public List<Node> create​(String parentFolderNodeId,
                                 List<Node> nodeInfos,
                                 Parameters parameters)
        Create one or more nodes (folder or empty file) below parent folder. Note: for parent folder nodeId, can also use well-known alias, eg. -root- or -my- or -shared- If parentFolderNodeId does not exist, EntityNotFoundException (status 404). If parentFolderNodeId does not represent a folder, InvalidArgumentException (status 400).
        Specified by:
        create in interface RelationshipResourceAction.Create<Node>