public class GetDocumentACLs extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ID
Operation's id.
|
protected org.nuxeo.ecm.core.api.CoreSession |
session
Session.
|
protected org.nuxeo.ecm.platform.usermanager.UserManager |
userManager
User Manager.
|
| Constructor and Description |
|---|
GetDocumentACLs() |
| Modifier and Type | Method and Description |
|---|---|
protected net.sf.json.JSONObject |
convert(org.nuxeo.ecm.core.api.security.ACE ace)
Converts ACE to JSOObject.
|
protected void |
extractNSetACEs(net.sf.json.JSONArray jsonACEs,
org.nuxeo.ecm.core.api.security.ACL acl)
Extract ACEs of given ACL and set them in JSONArray.
|
Object |
run(org.nuxeo.ecm.core.api.DocumentModel document) |
public static final String ID
protected org.nuxeo.ecm.core.api.CoreSession session
protected org.nuxeo.ecm.platform.usermanager.UserManager userManager
public Object run(org.nuxeo.ecm.core.api.DocumentModel document) throws org.nuxeo.ecm.core.api.ClientException
document - org.nuxeo.ecm.core.api.ClientExceptionprotected void extractNSetACEs(net.sf.json.JSONArray jsonACEs,
org.nuxeo.ecm.core.api.security.ACL acl)
jsonACEs - acl - protected net.sf.json.JSONObject convert(org.nuxeo.ecm.core.api.security.ACE ace)
ace - groupIds - Copyright © 2024. All rights reserved.