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 class
TheActionView.ActionViewBuilder
can be used to quickly defineActionView
manually, especially when setting view toActionResponse
.static class
static class
static class
Nested classes/interfaces inherited from class com.axelor.meta.schema.actions.Action
Action.Element
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkPermission
(ActionHandler handler) static ActionView.ActionViewBuilder
Return an instance ofActionView.ActionViewBuilder
that can be used to quickly defineActionView
.evaluate
(ActionHandler handler) getHome()
getIcon()
getTitle()
getViews()
void
setContexts
(List<ActionView.Context> contexts) void
void
void
void
setParams
(List<ActionView.Param> params) void
void
setViews
(List<ActionView.View> views) protected Object
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
-
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:
checkPermission
in classAction
-
wrapper
-
define
Return an instance ofActionView.ActionViewBuilder
that can be used to quickly defineActionView
.- Parameters:
title
- the view title- Returns:
- an instance of
ActionView.ActionViewBuilder
-