Package com.axelor.meta.schema.actions
Class ActionView
- java.lang.Object
-
- com.axelor.meta.schema.actions.Action
-
- com.axelor.meta.schema.actions.ActionView
-
public class ActionView extends Action
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classActionView.ActionViewBuilderTheActionView.ActionViewBuildercan be used to quickly defineActionViewmanually, especially when setting view toActionResponse.static classActionView.Contextstatic classActionView.Paramstatic classActionView.View-
Nested classes/interfaces inherited from class com.axelor.meta.schema.actions.Action
Action.Element
-
-
Constructor Summary
Constructors Constructor Description ActionView()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckPermission(ActionHandler handler)static ActionView.ActionViewBuilderdefine(String title)Return an instance ofActionView.ActionViewBuilderthat can be used to quickly defineActionView.Objectevaluate(ActionHandler handler)ObjectgetContext()StringgetDomain()BooleangetHome()StringgetIcon()StringgetLocalizedTitle()List<ActionView.Param>getParams()StringgetTitle()List<ActionView.View>getViews()voidsetParams(List<ActionView.Param> params)voidsetTitle(String title)voidsetViews(List<ActionView.View> views)protected Objectwrapper(Object value)-
Methods inherited from class com.axelor.meta.schema.actions.Action
execute, getActionId, getModel, getModuleToCheck, getName, getXmlId, setActionId, setModel, setModuleToCheck, setName, setXmlId, test, toExpression, toString, wrap
-
-
-
-
Method Detail
-
getLocalizedTitle
public String getLocalizedTitle()
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
getIcon
public String getIcon()
-
getHome
public Boolean getHome()
-
getDomain
public String getDomain()
-
getViews
public List<ActionView.View> getViews()
-
setViews
public void setViews(List<ActionView.View> views)
-
getContext
public Object getContext()
-
getParams
public List<ActionView.Param> getParams()
-
setParams
public void setParams(List<ActionView.Param> params)
-
evaluate
public Object evaluate(ActionHandler handler)
-
checkPermission
protected void checkPermission(ActionHandler handler)
- Overrides:
checkPermissionin classAction
-
define
public static ActionView.ActionViewBuilder define(String title)
Return an instance ofActionView.ActionViewBuilderthat can be used to quickly defineActionView.- Parameters:
title- the view title- Returns:
- an instance of
ActionView.ActionViewBuilder
-
-