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 |
static String |
SEAM_ACTION_CONTEXT |
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 SEAM_ACTION_CONTEXT
public static final String ID
protected CoreSession session
protected OperationContext ctx
protected AutomationService automation
protected ActionManager actionService
public GetActions()
protected DocumentModel getCurrentDocumentFromContext() throws OperationException
OperationExceptionprotected ActionContext getActionContext(DocumentModel currentDocument) throws OperationException
OperationExceptionpublic Blob run() throws IOException, OperationException
IOExceptionOperationExceptionpublic Blob run(DocumentModel currentDocument) throws IOException, OperationException
IOExceptionOperationExceptionCopyright © 2019 Nuxeo. All rights reserved.