public class GetActions extends Object
ActionManager for available actions in the given context| Modifier and Type | Field and Description |
|---|---|
protected ActionManager |
actionService |
protected AutomationService |
automation |
protected String |
category |
protected OperationContext |
ctx |
static String |
ID |
protected String |
lang |
protected CoreSession |
session |
| Constructor and Description |
|---|
GetActions() |
| Modifier and Type | Method and Description |
|---|---|
protected ActionContext |
getActionContext(DocumentModel currentDocument) |
protected DocumentModel |
getCurrentDocumentFromContext() |
protected Locale |
getLocale() |
Blob |
run() |
Blob |
run(DocumentModel currentDocument) |
protected String |
translate(String key) |
public static final String ID
protected CoreSession session
protected OperationContext ctx
protected AutomationService automation
protected ActionManager actionService
protected String category
protected String lang
protected DocumentModel getCurrentDocumentFromContext() throws Exception
Exceptionprotected ActionContext getActionContext(DocumentModel currentDocument) throws Exception
Exceptionprotected Locale getLocale()
public Blob run(DocumentModel currentDocument) throws Exception
ExceptionCopyright © 2019 Nuxeo SA. All rights reserved.