com.stratelia.silverpeas.notificationManager
Class NotificationSender
java.lang.Object
com.stratelia.silverpeas.notificationManager.NotificationSender
- All Implemented Interfaces:
- Serializable
public class NotificationSender
- extends Object
- implements Serializable
Cette classe est utilisee par les composants pour envoyer une notification a un (ou des)
utilisateur(s) (ou groupes) Elle package les appels et appelle la fonction du NotificationManager
pour reellement envoyer les notifications
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
notificationManager
protected NotificationManager notificationManager
instanceId
protected int instanceId
NotificationSender
public NotificationSender(String instanceId)
- Constructor for a standard component
- Parameters:
instanceId
- the instance Id of the calling's component
notifyUser
public void notifyUser(NotificationMetaData metaData)
throws NotificationManagerException
- Method declaration
- Parameters:
metaData
-
- Throws:
NotificationManagerException
- See Also:
notifyUser
public void notifyUser(int aMediaType,
NotificationMetaData metaData)
throws NotificationManagerException
- Method declaration
- Parameters:
aMediaType
- metaData
-
- Throws:
NotificationManagerException
- See Also:
getIdsLineFromIdsArray
public static String getIdsLineFromIdsArray(String[] asrc)
getIdsLineFromUserArray
public static String getIdsLineFromUserArray(UserDetail[] users)
getIdsLineFromGroupArray
public static String getIdsLineFromGroupArray(Group[] groups)
getIdsArrayFromIdsLine
public static String[] getIdsArrayFromIdsLine(String src)
Copyright © 2016 Silverpeas. All Rights Reserved.