RestNodeModel |
Node.copy(RestNodeBodyMoveCopyModel copyBody) |
Copy a node to a target folder
|
RestNodeModel |
Node.copyNode(java.lang.String postBody) |
Copies the node nodeId to the parent folder node targetParentId using POST call "nodes/{nodeId}/copy"
|
RestNodeModel |
Node.createNode() |
Create new nodes using POST call on 'nodes/{nodeId}/children
You need to specify first the multipart call RestWrapper#usingMultipartFile(java.io.File)
usingMultipartFile(new File("your-local-file.txt")).withCoreAPI().usingNode(ContentModel.my()).createNode();
|
RestNodeModel |
Node.createNode(RestNodeBodyModel node) |
Create new nodes using POST call on 'nodes/{nodeId}/children
|
RestNodeModel |
Trashcan.findDeletedNode(org.alfresco.utility.model.RepoTestModel repoModel) |
Gets a node from trashcan using GET call on "deleted-nodes/{nodeId}"
|
RestNodeModel |
Node.getNode() |
Retrieve details for a specific node using GET call on "nodes/{nodeId}"
|
RestNodeModel |
Node.lockNode(RestNodeLockBodyModel lockBody) |
Lock a specific node using POST call on "nodes/{nodeId}/lock"
|
RestNodeModel |
Node.move(RestNodeBodyMoveCopyModel moveBody) |
Move a node to a target folder
|
RestNodeModel |
Trashcan.restoreNodeFromTrashcan(org.alfresco.utility.model.RepoTestModel repoModel) |
Restore node from trashcan using POST call on "deleted-nodes/{nodeId}/restore"
|
RestNodeModel |
Node.unlockNode() |
Unlock a specific node using POST call on "nodes/{nodeId}/unlock"
|
RestNodeModel |
Node.updateNode(java.lang.String putBody) |
Update a specific node using PUT call on "nodes/{nodeId}"
|
RestNodeModel |
Node.updateNodeContent(java.io.File nodeContent) |
Updates the content of the node with identifier nodeId using PUT call "/nodes/{nodeId}/content"
|