Package de.xima.fc.gui.common.bean
Class MenuTemplateBean
java.lang.Object
de.xima.fc.gui.common.utils.msg.I18nUtils
de.xima.fc.gui.common.utils.msg.MessageUtils
de.xima.fc.gui.common.utils.msg.AMessaging
de.xima.fc.gui.common.utils.msg.AJSFContext
de.xima.fc.gui.common.bean.MenuTemplateBean
- All Implemented Interfaces:
Serializable
Deprecated.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder -
Field Summary
Fields inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
localeBean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMainMenuEntry(IMenuEntryModel entry) Deprecated.voidaddMainMenuEntry(CustomViewModel customView) Deprecated.addMainMenuEntry(org.apache.commons.lang3.builder.Builder<IMenuEntryModel> builder) Deprecated.getAdminDashboardEntries(EAdminDashCategory category) Deprecated.Deprecated.getByView(IViewModel view) Deprecated.Deprecated.Deprecated.org.primefaces.model.menu.MenuModelDeprecated.Deprecated.Deprecated.Deprecated.voidinit()Deprecated.voidDeprecated.booleanisAllowed(IViewModel view) Deprecated.booleanisAllowed(IAccessProperty... customProperties) Deprecated.booleanisAllowed(EAccessProperty... accessProperties) Deprecated.voidsetSessionBean(SessionBean sessionBean) Deprecated.voidsetSessionEventBusBean(SessionEventBusBean sessionEventBusBean) Deprecated.voidsetViewBean(ViewBean viewBean) Deprecated.Methods inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
destroySessionBean, encodeURL, findBean, findBean, findBean, findBean, findBean, findBean, findBean, findCurrentView, findUserContext, getBeanName, getBeanName, getContext, getCurrentViewBean, getLocaleBean, getRequest, getResponse, getSession, getSession, getSessionAttribute, isMasterServerContext, loadLazy, redirect, redirect, redirect, redirect, redirectToDashboard, redirectToDashboard, redirectToDashboard, setLocaleBean, setSessionAttribute, ucMethods inherited from class de.xima.fc.gui.common.utils.msg.MessageUtils
addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsgFromString, addErrorMsgFromString, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsgFromString, addInfoMsgFromString, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addMsg, addMsg, addMsg, addMsg, addMsgs, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, errorMsg, errorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg, msgMethods inherited from class de.xima.fc.gui.common.utils.msg.I18nUtils
getFacesContext, getLocale, rbValue, rbValue, rbValue, rbValueOrDefault, rbValueOrDefault
-
Constructor Details
-
MenuTemplateBean
public MenuTemplateBean()Deprecated.
-
-
Method Details
-
init
@PostConstruct public void init()Deprecated. -
initMainMenu
Deprecated. -
isAllowed
Deprecated. -
isAllowed
Deprecated. -
isAllowed
Deprecated. -
addMainMenuEntry
Deprecated. -
addMainMenuEntry
public IMenuEntryModel addMainMenuEntry(org.apache.commons.lang3.builder.Builder<IMenuEntryModel> builder) Deprecated. -
addMainMenuEntry
Deprecated. -
getMainMenuEntries
Deprecated. -
getMainMenuModel
public org.primefaces.model.menu.MenuModel getMainMenuModel()Deprecated.- Returns:
- Creates the
MenuModelfor the menu component, based on the currentgetMainMenuEntries(). This allows for dynamic menu entries and should be used in favor ofc:forEach, which has issues when the menu entries change dynamically.
-
getAllMenuEntries
Deprecated.- Returns:
- All menu entries, including sub entries (children of #
getMainMenuEntries()).
-
getByView
Deprecated.- Returns:
- The menu entry for the given view.
null, if no such entry exists.
-
getClientDashboardEntries
Deprecated.- Returns:
- The menu entries that are to be shown on the (client) dashboard, in the correct order.
-
getAdminDashboardEntries
Deprecated.- Parameters:
category- If given, only returns entries for that category. Iffnull, 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. -
setSessionEventBusBean
Deprecated. -
getViewBean
Deprecated. -
setViewBean
Deprecated. -
getSessionBean
Deprecated. -
setSessionBean
Deprecated.
-
MainMenuBeaninstead.