Class MenuTemplateBean

All Implemented Interfaces:
Serializable

@Deprecated @Named @SessionScoped public class MenuTemplateBean extends AJSFContext
Deprecated.
Use MainMenuBean instead.
See Also:
  • Constructor Details

    • MenuTemplateBean

      public MenuTemplateBean()
      Deprecated.
  • Method Details

    • init

      @PostConstruct public void init()
      Deprecated.
    • initMainMenu

      @Deprecated public void initMainMenu()
      Deprecated.
    • isAllowed

      public boolean isAllowed(EAccessProperty... accessProperties)
      Deprecated.
    • isAllowed

      public boolean isAllowed(IAccessProperty... customProperties)
      Deprecated.
    • isAllowed

      public boolean isAllowed(IViewModel view)
      Deprecated.
    • addMainMenuEntry

      public IMenuEntryModel addMainMenuEntry(IMenuEntryModel entry)
      Deprecated.
    • addMainMenuEntry

      public IMenuEntryModel addMainMenuEntry(org.apache.commons.lang3.builder.Builder<IMenuEntryModel> builder)
      Deprecated.
    • addMainMenuEntry

      public void addMainMenuEntry(CustomViewModel customView)
      Deprecated.
    • getMainMenuEntries

      public List<IMenuEntryModel> getMainMenuEntries()
      Deprecated.
    • getMainMenuModel

      public org.primefaces.model.menu.MenuModel getMainMenuModel()
      Deprecated.
      Returns:
      Creates the MenuModel for the menu component, based on the current getMainMenuEntries(). This allows for dynamic menu entries and should be used in favor of c:forEach, which has issues when the menu entries change dynamically.
    • getAllMenuEntries

      public Collection<IMenuEntryModel> getAllMenuEntries()
      Deprecated.
      Returns:
      All menu entries, including sub entries (children of #getMainMenuEntries()).
    • getByView

      public IMenuEntryModel getByView(IViewModel view)
      Deprecated.
      Returns:
      The menu entry for the given view. null, if no such entry exists.
    • getClientDashboardEntries

      public List<IMenuEntryModel> getClientDashboardEntries()
      Deprecated.
      Returns:
      The menu entries that are to be shown on the (client) dashboard, in the correct order.
    • getAdminDashboardEntries

      public List<IMenuEntryModel> getAdminDashboardEntries(@Nullable EAdminDashCategory category)
      Deprecated.
      Parameters:
      category - If given, only returns entries for that category. Iff null, returns all entries for the admin dashboard.
      Returns:
      The menu entries that are to be shown on the (admin) dashboard, in the correct order.
    • getSessionEventBusBean

      @Deprecated public SessionEventBusBean getSessionEventBusBean()
      Deprecated.
    • setSessionEventBusBean

      @Deprecated public void setSessionEventBusBean(SessionEventBusBean sessionEventBusBean)
      Deprecated.
    • getViewBean

      @Deprecated public ViewBean getViewBean()
      Deprecated.
    • setViewBean

      @Deprecated public void setViewBean(ViewBean viewBean)
      Deprecated.
    • getSessionBean

      @Deprecated public SessionBean getSessionBean()
      Deprecated.
    • setSessionBean

      @Deprecated public void setSessionBean(SessionBean sessionBean)
      Deprecated.