public class AddPermission 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 |
---|
AddPermission() |
Modifier and Type | Method and Description |
---|---|
protected void |
addPermission(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 AddPermission()
public DocumentModel run(DocumentModel doc)
public DocumentModel run(DocumentRef docRef)
protected void addPermission(DocumentModel doc)
Copyright © 2015 Nuxeo SA. All rights reserved.