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:
Raluca Munteanu
2016-11-22 11:55:08 +00:00
parent 6fb6732eb2
commit 5b10029042
6 changed files with 784 additions and 58 deletions

View File

@@ -91,6 +91,7 @@ public class Node implements Comparable<Node>
protected Map<String, Object> properties;
protected List<String> allowableOperations;
protected NodePermissions nodePermissions;
//optional SearchEntry (only ever returned from a search)
protected SearchEntry search = null;
@@ -336,6 +337,16 @@ public class Node implements Comparable<Node>
this.allowableOperations = allowableOperations;
}
public NodePermissions getPermissions()
{
return nodePermissions;
}
public void setPermissions(NodePermissions nodePermissions)
{
this.nodePermissions = nodePermissions;
}
public List<AssocTarget> getTargets()
{
return targets;