Package com.axelor.meta.schema.actions
Class ActionView
java.lang.Object
com.axelor.meta.schema.actions.Action
com.axelor.meta.schema.actions.ActionView
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTheActionView.ActionViewBuildercan be used to quickly defineActionViewmanually, especially when setting view toActionResponse.static classstatic classstatic classNested classes/interfaces inherited from class com.axelor.meta.schema.actions.Action
Action.Element -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckPermission(ActionHandler handler) static ActionView.ActionViewBuilderReturn an instance ofActionView.ActionViewBuilderthat can be used to quickly defineActionView.evaluate(ActionHandler handler) getHome()getIcon()getTitle()getViews()voidsetContexts(List<ActionView.Context> contexts) voidvoidvoidvoidsetParams(List<ActionView.Param> params) voidvoidsetViews(List<ActionView.View> views) protected ObjectMethods inherited from class com.axelor.meta.schema.actions.Action
execute, getActionId, getModel, getModuleToCheck, getName, getXmlId, setActionId, setModel, setModuleToCheck, setName, setXmlId, test, toExpression, toString, wrap
-
Constructor Details
-
ActionView
public ActionView()
-
-
Method Details
-
getLocalizedTitle
-
getTitle
-
setTitle
-
getIcon
-
setIcon
-
getHome
-
setHome
-
getDomain
-
setDomain
-
getViews
-
setViews
-
getContext
-
getParams
-
setParams
-
getContexts
-
setContexts
-
evaluate
-
checkPermission
- Overrides:
checkPermissionin classAction
-
wrapper
-
define
Return an instance ofActionView.ActionViewBuilderthat can be used to quickly defineActionView.- Parameters:
title- the view title- Returns:
- an instance of
ActionView.ActionViewBuilder
-