Class MainMenuBean

java.lang.Object
de.xima.fc.gui.common.bean.MainMenuBean
All Implemented Interfaces:
Serializable

@Named @ViewScoped public class MainMenuBean extends Object implements Serializable
View scoped bean holding the main menu of the adminstration backend.
Since:
8.0.0
Author:
XIMA Media GmbH
See Also:
  • Constructor Details

    • MainMenuBean

      public MainMenuBean()
  • Method Details

    • init

      @PostConstruct public void init()
    • getMenuModel

      public org.primefaces.model.menu.MenuModel getMenuModel()
      Returns:
      The menu model for the main menu, with all entries that should be shown on the main menu.
    • getSerenityMenuCookie

      public String getSerenityMenuCookie(IView view, String idPrefix)
      Parameters:
      view - View for which to get the cookie.
      idPrefix - Prefix to prepend to the cookie name.
      Returns:
      Value of the cookie the Serenity menu uses for storing the currently selected menu entry.