Class UserNotificationManager
- java.lang.Object
-
- org.silverpeas.core.notification.user.builder.helper.UserNotificationManager
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUserNotificationManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotificationMetaDatabuild(UserNotificationBuilder notificationBuilder)Builds a notification data container from a given buildervoidbuildAndSend(UserNotificationBuilder notificationBuilder)Builds a notification data container from a given builder.voidbuildAndSend(BuiltInNotifAddress notificationAddress, UserNotificationBuilder notificationBuilder)Builds a notification data container from a given builder.
-
-
-
Method Detail
-
buildAndSend
public void buildAndSend(UserNotificationBuilder notificationBuilder)
Builds a notification data container from a given builder. After that, sends the builded notification- Parameters:
notificationBuilder- the builder to use to construct the notification.
-
buildAndSend
public void buildAndSend(BuiltInNotifAddress notificationAddress, UserNotificationBuilder notificationBuilder)
Builds a notification data container from a given builder. After that, sends the built notification to the specified builtin notification address.- Parameters:
notificationAddress- the address at which the notification should be sent.notificationBuilder- the builder to use to construct the notification.
-
build
public NotificationMetaData build(UserNotificationBuilder notificationBuilder)
Builds a notification data container from a given builder- Parameters:
notificationBuilder- the builder to use to construct the notification.- Returns:
- the metadata about the notification to send.
-
-