org.silverpeas.util
Class NotifierUtil

java.lang.Object
  extended by org.silverpeas.util.NotifierUtil

public class NotifierUtil
extends Object

This utility class provides tools to display easily some dynamic notifications using the notifier plugin. User: Yohann Chastagnier Date: 23/07/13


Constructor Summary
NotifierUtil()
           
 
Method Summary
static Message addError(String message, Object... parameters)
           
static Message addInfo(String message, Object... parameters)
           
static Message addSevere(String message, Object... parameters)
           
static Message addSuccess(String message, Object... parameters)
           
static Message addWarning(String message, Object... parameters)
           
static ResourceLocator getResourceLocator(String propertyFileBaseName)
          Gets the resource locator from the given property file and by taking into account of the current known language.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotifierUtil

public NotifierUtil()
Method Detail

getResourceLocator

public static 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:

addSevere

public static Message addSevere(String message,
                                Object... parameters)
See Also:
MessageManager.addSevere(String)

addError

public static Message addError(String message,
                               Object... parameters)
See Also:
MessageManager.addError(String)

addWarning

public static Message addWarning(String message,
                                 Object... parameters)
See Also:
MessageManager.addWarning(String)

addSuccess

public static Message addSuccess(String message,
                                 Object... parameters)
See Also:
MessageManager.addSuccess(String)

addInfo

public static Message addInfo(String message,
                              Object... parameters)
See Also:
MessageManager.addInfo(String)


Copyright © 2016 Silverpeas. All Rights Reserved.