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 class
Action.Element
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Logger
log
-
Constructor Summary
Constructors Constructor Description Action()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
checkPermission(ActionHandler handler)
protected abstract Object
evaluate(ActionHandler handler)
Object
execute(ActionHandler handler)
Long
getActionId()
String
getModel()
String
getModuleToCheck()
String
getName()
String
getXmlId()
void
setActionId(Long actionId)
void
setModel(String model)
void
setModuleToCheck(String moduleToCheck)
void
setName(String name)
void
setXmlId(String xmlId)
protected static boolean
test(ActionHandler handler, String expression)
protected static String
toExpression(String expression, boolean quote)
String
toString()
Object
wrap(ActionHandler handler)
protected Object
wrapper(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)
-
-