Package com.axelor.ai.tool.meta
Class ActionViews
java.lang.Object
com.axelor.ai.tool.meta.ActionViews
Which action-view is the view for a model.
A model can be reached through many action-views - a dashboard's filtered list, a wizard's step, a selector opened from somewhere else. The one a person means by "the orders" is the one a menu item points at, so that is preferred; any action-view for the model is the next best answer, and a caller that gets neither has to fall back to a view built on the spot.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringcanonicalFor(String model) The canonical action-view name for a model, or null when the app defines none.
-
Method Details
-
canonicalFor
The canonical action-view name for a model, or null when the app defines none.Ordered by priority so the answer is stable: the same model resolves to the same view on every call, which matters for anything that stores the result - a link written into a recap outlives the query that produced it.
-