Class MenuChecker


  • public class MenuChecker
    extends Object
    Defined the MetaMenu policies
    • Constructor Detail

    • Method Detail

      • isAllowed

        public boolean isAllowed​(MetaMenu item)
        Check whether the given MetaMenu is allowed for the User
        Parameters:
        item - the meta menu to check
        Returns:
        true if the meta menu can be shown, false otherwise
      • canShow

        public boolean canShow​(MetaMenu item)
        Check whether the given MetaMenu can be shown
        Parameters:
        item - the meta menu to check
        Returns:
        true if the meta menu can be shown, false otherwise