Package com.axelor.meta.service.menu
Class MenuChecker
java.lang.Object
com.axelor.meta.service.menu.MenuChecker
Defined the
MetaMenu
policies-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MenuChecker
-
-
Method Details
-
isAllowed
- Parameters:
item
- the meta menu to check- Returns:
- true if the meta menu can be shown, false otherwise
-
canShow
Check whether the givenMetaMenu
can be shown- Parameters:
item
- the meta menu to check- Returns:
- true if the meta menu can be shown, false otherwise
-