Class NullUserNotification
- java.lang.Object
-
- org.silverpeas.core.notification.user.NullUserNotification
-
- All Implemented Interfaces:
UserNotification
public class NullUserNotification extends Object implements UserNotification
- Author:
- Yohann Chastagnier
-
-
Constructor Summary
Constructors Constructor Description NullUserNotification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotificationMetaData
getNotificationMetaData()
Gets the metadata about the notification to send so that all the properties required to send the notification can be set.void
send()
Sends this notification at the specified addresses declared within the metadata of this notification.void
send(BuiltInNotifAddress notificationAddress)
Sends this notification to the specified builtin user notification address.
-
-
-
Method Detail
-
getNotificationMetaData
public NotificationMetaData getNotificationMetaData()
Description copied from interface:UserNotification
Gets the metadata about the notification to send so that all the properties required to send the notification can be set.- Specified by:
getNotificationMetaData
in interfaceUserNotification
- Returns:
- the notification metadata.
-
send
public void send()
Description copied from interface:UserNotification
Sends this notification at the specified addresses declared within the metadata of this notification.- Specified by:
send
in interfaceUserNotification
-
send
public void send(BuiltInNotifAddress notificationAddress)
Description copied from interface:UserNotification
Sends this notification to the specified builtin user notification address.- Specified by:
send
in interfaceUserNotification
- Parameters:
notificationAddress
- the type of the media to vehicle the notification.
-
-