public class GetActions extends Object
ActionManager
for available actions in the given contextModifier 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
OperationException
protected ActionContext getActionContext(DocumentModel currentDocument) throws OperationException
OperationException
public Blob run() throws OperationException
OperationException
public Blob run(DocumentModel currentDocument) throws OperationException
OperationException
Copyright © 2018 Nuxeo. All rights reserved.