public class MenuTemplateBean extends AJSFContext
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder
Constructor and Description |
---|
MenuTemplateBean() |
destroySessionBean, encodeURL, findBean, findBean, findBean, findBean, findBean, findBean, findBean, findCurrentView, getBeanName, getBeanName, getContext, getCurrentViewBean, getLocaleBean, getRequest, getResponse, getSession, getSession, getSessionAttribute, isMasterServerContext, loadLazy, redirect, redirect, redirect, redirect, redirectToDashboard, redirectToDashboard, setLocaleBean, setSessionAttribute, uc
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, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg
public SessionEventBusBean getSessionEventBusBean()
public void setSessionEventBusBean(SessionEventBusBean sessionEventBusBean)
public ViewBean getViewBean()
public void setViewBean(ViewBean viewBean)
public SessionBean getSessionBean()
public void setSessionBean(SessionBean sessionBean)
@PostConstruct public void init()
public void initMainMenu()
public boolean isAllowed(EAccessProperty... accessProperties)
public boolean isAllowed(IAccessProperty... customProperties)
public boolean isAllowed(IViewModel view)
public IMenuEntryModel addMainMenuEntry(IMenuEntryModel entry)
public IMenuEntryModel addMainMenuEntry(org.apache.commons.lang3.builder.Builder<IMenuEntryModel> builder)
public void addMainMenuEntry(CustomViewModel customView)
public List<IMenuEntryModel> getMainMenuEntries()
public Collection<IMenuEntryModel> getAllMenuEntries()
getMainMenuEntries()
).public IMenuEntryModel getByView(IViewModel view)
null
, if no such entry exists.public List<IMenuEntryModel> getClientDashboardEntries()
public List<IMenuEntryModel> getAdminDashboardEntries(@Nullable EAdminDashCategory category)
category
- If given, only returns entries for that category. Iff null
, returns all entries for
the admin dashboard.public String getSerenityMenuCookie(IViewModel currentView, String idPrefix)
currentView
- View for which to get the cookie.Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.