public class NotificationBean extends AJSFContext
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder
Constructor and Description |
---|
NotificationBean() |
Modifier and Type | Method and Description |
---|---|
void |
addSessionMessage(String summary,
String detail,
String severity)
Saves the given message in the session.
|
void |
addSessionMessages(List<javax.faces.application.FacesMessage> messages)
Saves the given FacesMessages in the session.
|
List<SessionFacesMessage> |
getSessionFacesMessages() |
String |
getSessionFacesMessagesJson() |
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 List<SessionFacesMessage> getSessionFacesMessages()
public void addSessionMessages(List<javax.faces.application.FacesMessage> messages)
messages
- Message to be saved.public void addSessionMessage(String summary, String detail, String severity)
summary
- Summary of the message.detail
- Details of the message.severity
- Severity, one of "info", "error", "warn".public String getSessionFacesMessagesJson()
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.