Class GetActions
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.operations.services.GetActions
-
public class GetActions extends Object
QueriesActionManagerfor available actions in the given context- Author:
- Tiry ([email protected])
-
-
Field Summary
Fields Modifier and Type Field Description protected ActionManageractionServiceprotected AutomationServiceautomationprotected Stringcategoryprotected OperationContextctxstatic StringIDprotected Stringlangstatic StringSEAM_ACTION_CONTEXTprotected CoreSessionsession
-
Constructor Summary
Constructors Constructor Description GetActions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ActionContextgetActionContext(DocumentModel currentDocument)protected DocumentModelgetCurrentDocumentFromContext()protected LocalegetLocale()Blobrun()Blobrun(DocumentModel currentDocument)protected Stringtranslate(String key)
-
-
-
Field Detail
-
SEAM_ACTION_CONTEXT
public static final String SEAM_ACTION_CONTEXT
- See Also:
- Constant Field Values
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
session
protected CoreSession session
-
ctx
protected OperationContext ctx
-
automation
protected AutomationService automation
-
actionService
protected ActionManager actionService
-
category
protected String category
-
lang
protected String lang
-
-
Method Detail
-
getCurrentDocumentFromContext
protected DocumentModel getCurrentDocumentFromContext() throws OperationException
- Throws:
OperationException
-
getActionContext
protected ActionContext getActionContext(DocumentModel currentDocument) throws OperationException
- Throws:
OperationException
-
getLocale
protected Locale getLocale()
-
run
public Blob run() throws IOException, OperationException
- Throws:
IOExceptionOperationException
-
run
public Blob run(DocumentModel currentDocument) throws IOException, OperationException
- Throws:
IOExceptionOperationException
-
-