Class ReplacePermission
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.operations.document.ReplacePermission
-
public class ReplacePermission extends Object
Replaces a given ACE.- Since:
- 7.10
-
-
Field Summary
Fields Modifier and Type Field Description static String
COMMENT_KEY
static String
ID
static String
NOTIFY_KEY
protected CoreSession
session
protected String
user
-
Constructor Summary
Constructors Constructor Description ReplacePermission()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
replacePermission(DocumentModel doc)
DocumentModel
run(DocumentModel doc)
DocumentModel
run(DocumentRef docRef)
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
NOTIFY_KEY
public static final String NOTIFY_KEY
- See Also:
- Constant Field Values
-
COMMENT_KEY
public static final String COMMENT_KEY
- See Also:
- Constant Field Values
-
session
protected CoreSession session
-
user
protected String user
-
-
Method Detail
-
run
public DocumentModel run(DocumentModel doc)
-
run
public DocumentModel run(DocumentRef docRef)
-
replacePermission
protected void replacePermission(DocumentModel doc)
-
-