com.silverpeas.notification.builder
Class DefaultUserNotification
java.lang.Object
com.silverpeas.notification.builder.DefaultUserNotification
- All Implemented Interfaces:
- UserNotification
public class DefaultUserNotification
- extends Object
- implements UserNotification
- Author:
- Yohann Chastagnier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultUserNotification
public DefaultUserNotification()
DefaultUserNotification
public DefaultUserNotification(String title,
String content)
DefaultUserNotification
public DefaultUserNotification(String title,
Map<String,SilverpeasTemplate> templates,
String content)
getNotificationMetaData
public NotificationMetaData getNotificationMetaData()
- Description copied from interface:
UserNotification
- Gets the notification data container
- Specified by:
getNotificationMetaData
in interface UserNotification
- Returns:
send
public void send()
- Description copied from interface:
UserNotification
- Sends the notification
- Specified by:
send
in interface UserNotification
send
public void send(NotifMediaType mediaType)
- Description copied from interface:
UserNotification
- Sends the notification for the given media type
- Specified by:
send
in interface UserNotification
Copyright © 2016 Silverpeas. All Rights Reserved.