mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
REPO-558, REPO-557: Update Permissions For Node
- Merged changes from branch 5.2.N-NODEPERMS-REST-API - Added tests for update node permissions git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133021 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -27,6 +27,7 @@ package org.alfresco.rest.api.tests.client.data;
|
||||
|
||||
import org.alfresco.rest.api.model.AssocChild;
|
||||
import org.alfresco.rest.api.model.AssocTarget;
|
||||
import org.alfresco.rest.api.model.NodePermissions;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
@@ -77,6 +78,7 @@ public class Node
|
||||
protected ContentInfo contentInfo;
|
||||
|
||||
protected List<String> allowableOperations;
|
||||
protected NodePermissions nodePermissions;
|
||||
|
||||
// please note: these are currently only used (optionally) for node create request
|
||||
protected String relativePath;
|
||||
@@ -279,6 +281,15 @@ public class Node
|
||||
this.allowableOperations = allowableOperations;
|
||||
}
|
||||
|
||||
public NodePermissions getPermissions()
|
||||
{
|
||||
return nodePermissions;
|
||||
}
|
||||
|
||||
public void setPermissions(NodePermissions nodePermissions)
|
||||
{
|
||||
this.nodePermissions = nodePermissions;
|
||||
}
|
||||
|
||||
public String getRelativePath()
|
||||
{
|
||||
|
Reference in New Issue
Block a user