com.stratelia.silverpeas.peasCore.servlets
Class WebMessager
java.lang.Object
com.stratelia.silverpeas.peasCore.servlets.WebMessager
public final class WebMessager
- extends Object
This utility class provides tools to display easily some dynamic notifications using the
notifier plugin.
- Author:
- Yohann Chastagnier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static WebMessager getInstance()
getResourceLocator
public ResourceLocator getResourceLocator(String propertyFileBaseName)
- Gets the resource locator from the given property file and by taking into account of the
current known language.
- Parameters:
propertyFileBaseName
-
- Returns:
- the aimed resource locator instance.
addSevere
public Message addSevere(String message,
Object... parameters)
- See Also:
NotifierUtil.addSevere(String, Object...)
addError
public Message addError(String message,
Object... parameters)
- See Also:
NotifierUtil.addError(String, Object...)
addWarning
public Message addWarning(String message,
Object... parameters)
- See Also:
NotifierUtil.addWarning(String, Object...)
addSuccess
public Message addSuccess(String message,
Object... parameters)
- See Also:
NotifierUtil.addSuccess(String, Object...)
addInfo
public Message addInfo(String message,
Object... parameters)
- See Also:
NotifierUtil.addInfo(String, Object...)
Copyright © 2016 Silverpeas. All Rights Reserved.