com.silverpeas.notification.builder
Class DefaultUserNotification

java.lang.Object
  extended by com.silverpeas.notification.builder.DefaultUserNotification
All Implemented Interfaces:
UserNotification

public class DefaultUserNotification
extends Object
implements UserNotification

Author:
Yohann Chastagnier

Constructor Summary
DefaultUserNotification()
           
DefaultUserNotification(String title, Map<String,SilverpeasTemplate> templates, String content)
           
DefaultUserNotification(String title, String content)
           
 
Method Summary
 NotificationMetaData getNotificationMetaData()
          Gets the notification data container
 void send()
          Sends the notification
 void send(NotifMediaType mediaType)
          Sends the notification for the given media type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultUserNotification

public DefaultUserNotification()

DefaultUserNotification

public DefaultUserNotification(String title,
                               String content)

DefaultUserNotification

public DefaultUserNotification(String title,
                               Map<String,SilverpeasTemplate> templates,
                               String content)
Method Detail

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.