Uses of Class
org.alfresco.rest.model.RestNodeModel
Packages that use RestNodeModel
-
Uses of RestNodeModel in org.alfresco.rest.model
Methods in org.alfresco.rest.model that return RestNodeModel -
Uses of RestNodeModel in org.alfresco.rest.requests
Methods in org.alfresco.rest.requests that return RestNodeModelModifier and TypeMethodDescriptionNode.copy(RestNodeBodyMoveCopyModel copyBody) Copy a node to a target folderCopies the node nodeId to the parent folder node targetParentId using POST call "nodes/{nodeId}/copy"Node.createNode()Create new nodes using POST call on 'nodes/{nodeId}/children You need to specify first the multipart callRestWrapper#usingMultipartFile(java.io.File)usingMultipartFile(new File("your-local-file.txt")).withCoreAPI().usingNode(ContentModel.my()).createNode();Node.createNode(RestNodeBodyModel node) Create new nodes using POST call on 'nodes/{nodeId}/childrenTrashcan.findDeletedNode(org.alfresco.utility.model.RepoTestModel repoModel) Gets a node from trashcan using GET call on "deleted-nodes/{nodeId}"Node.getNode()Retrieve details for a specific node using GET call on "nodes/{nodeId}"Node.lockNode(RestNodeLockBodyModel lockBody) Lock a specific node using POST call on "nodes/{nodeId}/lock"Node.move(RestNodeBodyMoveCopyModel moveBody) Move a node to a target folderTrashcan.restoreNodeFromTrashcan(org.alfresco.utility.model.RepoTestModel repoModel) Restore node from trashcan using POST call on "deleted-nodes/{nodeId}/restore"Node.unlockNode()Unlock a specific node using POST call on "nodes/{nodeId}/unlock"Node.updateNode(String putBody) Update a specific node using PUT call on "nodes/{nodeId}"Node.updateNodeContent(File nodeContent) Updates the content of the node with identifier nodeId using PUT call "/nodes/{nodeId}/content"Methods in org.alfresco.rest.requests with parameters of type RestNodeModelModifier and TypeMethodDescriptionvoidNode.deleteNode(RestNodeModel nodeModel) Delete a specific node using DELETE call on nodes/{nodeId}