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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user