public interface ActionContext extends Serializable
| Modifier and Type | Method and Description | 
|---|---|
| boolean | checkCondition(String expression)Returns true if given expression resolves to true in this context. | 
| boolean | disableGlobalCaching()Returns true if expressions evaluation should not be cached globally | 
| DocumentModel | getCurrentDocument()Returns the current document to use for filter evaluation | 
| NuxeoPrincipal | getCurrentPrincipal()Returns the current principal to use for filter evaluation | 
| CoreSession | getDocumentManager()Returns the core session to use for filter evaluation | 
| Object | getLocalVariable(String key)Returns a local variable put in the context | 
| void | putAllLocalVariables(Map<String,Object> vars)Sets local variables, to put in the context so that expressions can
 reference them. | 
| Object | putLocalVariable(String key,
                Object value)Sets a local variable, to put in the context so that expressions can
 reference it. | 
| void | setCurrentDocument(DocumentModel doc)Sets the current document to use for filter evaluation | 
| void | setCurrentPrincipal(NuxeoPrincipal currentPrincipal)Sets the current principal to use for filter evaluation | 
| void | setDocumentManager(CoreSession docMgr)Sets the core session to use for filter evaluation | 
| int | size()Returns the number of local variables | 
void setCurrentDocument(DocumentModel doc)
DocumentModel getCurrentDocument()
void setDocumentManager(CoreSession docMgr)
CoreSession getDocumentManager()
void setCurrentPrincipal(NuxeoPrincipal currentPrincipal)
NuxeoPrincipal getCurrentPrincipal()
Object putLocalVariable(String key, Object value)
void putAllLocalVariables(Map<String,Object> vars)
int size()
boolean checkCondition(String expression) throws javax.el.ELException
Returns false if expression is blank (null or empty).
javax.el.ELExceptionboolean disableGlobalCaching()
Copyright © 2014 Nuxeo SA. All rights reserved.