Package de.xima.fc.gui.common.bean
Class MainMenuBean
java.lang.Object
de.xima.fc.gui.common.bean.MainMenuBean
- All Implemented Interfaces:
Serializable
View scoped bean holding the main menu of the adminstration backend.
- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.primefaces.model.menu.MenuModel
getSerenityMenuCookie
(IView view, String idPrefix) void
init()
-
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
- 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.
-