Package com.axelor.meta.service.menu
Class MenuChecker
- java.lang.Object
-
- com.axelor.meta.service.menu.MenuChecker
-
-
Constructor Summary
Constructors Constructor Description MenuChecker(List<MetaMenu> menus, User user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanShow(MetaMenu item)Check whether the givenMetaMenucan be shownbooleanisAllowed(MetaMenu item)
-
-
-
Method Detail
-
isAllowed
public boolean isAllowed(MetaMenu item)
- Parameters:
item- the meta menu to check- Returns:
- true if the meta menu can be shown, false otherwise
-
-