Package com.axelor.meta.schema.actions
Class Action
- java.lang.Object
-
- com.axelor.meta.schema.actions.Action
-
- Direct Known Subclasses:
ActionAttrs,ActionCondition,ActionExport,ActionImport,ActionMethod,ActionRecord,ActionReport,ActionResumable,ActionScript,ActionView,ActionWS
public abstract class Action extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAction.Element
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Loggerlog
-
Constructor Summary
Constructors Constructor Description Action()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidcheckPermission(ActionHandler handler)protected abstract Objectevaluate(ActionHandler handler)Objectexecute(ActionHandler handler)LonggetActionId()StringgetModel()StringgetModuleToCheck()StringgetName()StringgetXmlId()voidsetActionId(Long actionId)voidsetModel(String model)voidsetModuleToCheck(String moduleToCheck)voidsetName(String name)voidsetXmlId(String xmlId)protected static booleantest(ActionHandler handler, String expression)protected static StringtoExpression(String expression, boolean quote)StringtoString()Objectwrap(ActionHandler handler)protected Objectwrapper(Object value)
-
-
-
Method Detail
-
getXmlId
public String getXmlId()
-
setXmlId
public void setXmlId(String xmlId)
-
getActionId
public Long getActionId()
-
setActionId
public void setActionId(Long actionId)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getModel
public String getModel()
-
setModel
public void setModel(String model)
-
getModuleToCheck
public String getModuleToCheck()
-
setModuleToCheck
public void setModuleToCheck(String moduleToCheck)
-
execute
public Object execute(ActionHandler handler)
-
checkPermission
protected void checkPermission(ActionHandler handler)
-
wrap
public Object wrap(ActionHandler handler)
-
evaluate
protected abstract Object evaluate(ActionHandler handler)
-
test
protected static boolean test(ActionHandler handler, String expression)
-
-