Package de.xima.fc.gui.common.bean
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MainMenuBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.primefaces.model.menu.MenuModelgetMenuModel()The menu model for the main menu, with all entries that should be shown on the main menu.StringgetSerenityMenuCookie(IView view, String idPrefix)voidinit()
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
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.
-
getMenuModel
public org.primefaces.model.menu.MenuModel getMenuModel()
The menu model for the main menu, with all entries that should be shown on the main menu.
-
-