public class ReplacePermission extends Object
Modifier and Type | Field and Description |
---|---|
static String |
COMMENT_KEY |
static String |
ID |
static String |
NOTIFY_KEY |
protected CoreSession |
session |
protected String |
user |
Constructor and Description |
---|
ReplacePermission() |
Modifier and Type | Method and Description |
---|---|
protected void |
replacePermission(DocumentModel doc) |
DocumentModel |
run(DocumentModel doc) |
DocumentModel |
run(DocumentRef docRef) |
public static final String ID
public static final String NOTIFY_KEY
public static final String COMMENT_KEY
protected CoreSession session
public ReplacePermission()
public DocumentModel run(DocumentModel doc) throws ClientException
ClientException
public DocumentModel run(DocumentRef docRef) throws ClientException
ClientException
protected void replacePermission(DocumentModel doc) throws ClientException
ClientException
Copyright © 2018 Nuxeo. All rights reserved.