Package de.xima.fc.gui.common.utils.msg
Class MessageUtils
- java.lang.Object
-
- de.xima.fc.gui.common.utils.msg.I18nUtils
-
- de.xima.fc.gui.common.utils.msg.MessageUtils
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AMessaging
public class MessageUtils extends I18nUtils implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MessageUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addErrorMsg(String i18nDetail)
static void
addErrorMsg(String i18nDetail, Object... params)
static void
addErrorMsg(String i18nTitle, String i18nDetail)
Methode zum Erzeugen einer neuen Fehlermeldungstatic void
addErrorMsg(String i18nTitle, String i18nDetail, Object... params)
static void
addErrorMsg(String i18nTitle, Throwable exception)
static void
addErrorMsg(Throwable exception)
static void
addErrorMsgFromString(String summary)
static void
addErrorMsgFromString(String summary, String details)
static void
addErrorMsgToComponent(String componentId, String i18nDetail)
static void
addErrorMsgToComponent(String componentId, String i18nDetail, Object... params)
static void
addErrorMsgToComponent(String componentId, String i18nTitle, String i18nDetail)
static void
addErrorMsgToComponent(String componentId, String i18nTitle, String i18nDetail, Object... params)
static void
addErrorMsgToComponent(String componentId, String i18nTitle, Throwable exception)
Methode zum Erzeugen einer neuen Fehlermeldungstatic void
addErrorMsgToComponent(String componentId, Throwable exception)
static void
addInfoMsg(String i18nDetail)
static void
addInfoMsg(String i18nDetail, Object... params)
static void
addInfoMsg(String i18nTitle, String i18nDetail)
static void
addInfoMsg(String i18nTitle, String i18nDetail, Object... params)
static void
addInfoMsgFromString(String summary)
static void
addInfoMsgFromString(String summary, String details)
static void
addInfoMsgToComponent(String componentId, String i18nDetail)
static void
addInfoMsgToComponent(String componentId, String i18nDetail, Object... params)
static void
addInfoMsgToComponent(String componentId, String i18nTitle, String i18nDetail)
static void
addInfoMsgToComponent(String componentId, String i18nTitle, String i18nDetail, Object... params)
static void
addMsg(FCMessage msg)
static void
addMsg(String componentId, javax.faces.application.FacesMessage msg)
static void
addMsg(javax.faces.application.FacesMessage msg)
static void
addMsg(javax.faces.application.FacesMessage.Severity severity, String i18nTitle, String i18nDetail, Object... params)
static void
addMsgs(Iterable<javax.faces.application.FacesMessage> msgs)
static void
addMsgs(List<FCMessage> msgs)
static void
addMsgToComponent(String componentId, FCMessage msg)
static void
addMsgToComponent(String componentId, javax.faces.application.FacesMessage.Severity severity, String i18nTitle, String i18nDetail, Object... params)
static void
addWarnMsg(String i18nDetail)
static void
addWarnMsg(String i18nDetail, Object... params)
static void
addWarnMsg(String i18nTitle, String i18nDetail)
static void
addWarnMsg(String i18nTitle, String i18nDetail, Object... params)
static void
addWarnMsgFromString(String summary)
static void
addWarnMsgFromString(String summary, String details)
static void
addWarnMsgToComponent(String componentId, String i18nDetail)
static void
addWarnMsgToComponent(String componentId, String i18nDetail, Object... params)
static void
addWarnMsgToComponent(String componentId, String i18nTitle, String i18nDetail)
static void
addWarnMsgToComponent(String componentId, String i18nTitle, String i18nDetail, Object... params)
static void
cleanErrorMsg()
Methode zum entfernen aller Fehler-Meldungen der Oberflächestatic javax.faces.application.FacesMessage
errorMsg(String i18nDetail, Object... params)
static javax.faces.application.FacesMessage
errorMsg(String i18nTitle, String i18nDetail, Object... params)
static String
getErrorMessage(Throwable exception)
static javax.faces.application.FacesMessage
getNewErrorMsg(String i18nDetail)
static javax.faces.application.FacesMessage
getNewErrorMsg(String i18nTitle, String i18nDetail, Object... params)
static javax.faces.application.FacesMessage
getNewErrorMsg(Throwable exception)
static javax.faces.application.FacesMessage
getNewInfoMsg(String i18nDetail)
static javax.faces.application.FacesMessage
getNewInfoMsg(String i18nTitle, String i18nDetail, Object... params)
static javax.faces.application.FacesMessage
getNewMsg(javax.faces.application.FacesMessage.Severity severity, String i18nTitle, String i18nDetail, Object... params)
static javax.faces.application.FacesMessage
getNewWarnMsg(String i18nDetail)
static javax.faces.application.FacesMessage
getNewWarnMsg(String i18nTitle, String i18nDetail, Object... params)
static javax.faces.application.FacesMessage
msg(javax.faces.application.FacesMessage.Severity severity, String i18nTitle, String i18nDetail, Object... params)
-
Methods inherited from class de.xima.fc.gui.common.utils.msg.I18nUtils
getFacesContext, getLocale, rbValue, rbValue, rbValue, rbValueOrDefault, rbValueOrDefault
-
-
-
-
Method Detail
-
cleanErrorMsg
public static void cleanErrorMsg()
Methode zum entfernen aller Fehler-Meldungen der Oberfläche
-
addErrorMsg
public static void addErrorMsg(String i18nTitle, String i18nDetail)
Methode zum Erzeugen einer neuen Fehlermeldung
-
addErrorMsgToComponent
public static void addErrorMsgToComponent(String componentId, String i18nTitle, String i18nDetail)
-
addErrorMsgToComponent
public static void addErrorMsgToComponent(String componentId, String i18nTitle, Throwable exception)
Methode zum Erzeugen einer neuen Fehlermeldung
-
addErrorMsgToComponent
public static void addErrorMsgToComponent(String componentId, Throwable exception)
-
addErrorMsg
public static void addErrorMsg(Throwable exception)
-
addErrorMsgToComponent
public static void addErrorMsgToComponent(String componentId, String i18nTitle, String i18nDetail, Object... params)
-
errorMsg
public static javax.faces.application.FacesMessage errorMsg(String i18nTitle, String i18nDetail, Object... params)
-
addErrorMsgToComponent
public static void addErrorMsgToComponent(String componentId, String i18nDetail, Object... params)
-
errorMsg
public static javax.faces.application.FacesMessage errorMsg(String i18nDetail, Object... params)
-
addErrorMsgToComponent
public static void addErrorMsgToComponent(String componentId, String i18nDetail)
-
addErrorMsg
public static void addErrorMsg(String i18nDetail)
-
addErrorMsgFromString
public static void addErrorMsgFromString(String summary)
-
addWarnMsgToComponent
public static void addWarnMsgToComponent(String componentId, String i18nTitle, String i18nDetail)
-
addWarnMsgToComponent
public static void addWarnMsgToComponent(String componentId, String i18nTitle, String i18nDetail, Object... params)
-
addWarnMsgToComponent
public static void addWarnMsgToComponent(String componentId, String i18nDetail, Object... params)
-
addWarnMsgToComponent
public static void addWarnMsgToComponent(String componentId, String i18nDetail)
-
addWarnMsg
public static void addWarnMsg(String i18nDetail)
-
addWarnMsgFromString
public static void addWarnMsgFromString(String summary)
-
addInfoMsgToComponent
public static void addInfoMsgToComponent(String componentId, String i18nTitle, String i18nDetail)
-
addInfoMsgToComponent
public static void addInfoMsgToComponent(String componentId, String i18nTitle, String i18nDetail, Object... params)
-
addInfoMsgToComponent
public static void addInfoMsgToComponent(String componentId, String i18nDetail, Object... params)
-
addInfoMsg
public static void addInfoMsg(String i18nDetail)
-
addInfoMsgToComponent
public static void addInfoMsgToComponent(String componentId, String i18nDetail)
-
addInfoMsgFromString
public static void addInfoMsgFromString(String summary)
-
addMsg
public static void addMsg(javax.faces.application.FacesMessage.Severity severity, String i18nTitle, String i18nDetail, Object... params)
-
msg
public static javax.faces.application.FacesMessage msg(javax.faces.application.FacesMessage.Severity severity, String i18nTitle, String i18nDetail, Object... params)
-
addMsgToComponent
public static void addMsgToComponent(String componentId, javax.faces.application.FacesMessage.Severity severity, String i18nTitle, String i18nDetail, Object... params)
-
addMsg
public static void addMsg(javax.faces.application.FacesMessage msg)
-
addMsgs
public static void addMsgs(Iterable<javax.faces.application.FacesMessage> msgs)
-
addMsg
public static void addMsg(String componentId, javax.faces.application.FacesMessage msg)
-
addMsg
public static void addMsg(FCMessage msg)
-
getNewInfoMsg
public static javax.faces.application.FacesMessage getNewInfoMsg(String i18nDetail)
-
getNewInfoMsg
public static javax.faces.application.FacesMessage getNewInfoMsg(String i18nTitle, String i18nDetail, Object... params)
-
getNewWarnMsg
public static javax.faces.application.FacesMessage getNewWarnMsg(String i18nDetail)
-
getNewWarnMsg
public static javax.faces.application.FacesMessage getNewWarnMsg(String i18nTitle, String i18nDetail, Object... params)
-
getNewErrorMsg
public static javax.faces.application.FacesMessage getNewErrorMsg(String i18nDetail)
-
getNewErrorMsg
public static javax.faces.application.FacesMessage getNewErrorMsg(Throwable exception)
-
getNewErrorMsg
public static javax.faces.application.FacesMessage getNewErrorMsg(String i18nTitle, String i18nDetail, Object... params)
-
-