com.atlassian.confluence.mail.notification
Interface NotificationsSender

All Known Implementing Classes:
DefaultNotificationsSender

public interface NotificationsSender


Method Summary
 void sendNetworkNotifications(NotificationData notificationData, ConversionContext conversionContext)
          Sends notifications based on users following other users.
 void sendNotification(Notification notification, NotificationData notificationData, ConversionContext conversionContext)
          Sends content-based notifications.
 void sendNotification(java.lang.String recipient, NotificationContext context, NotificationData notificationData, ConversionContext conversionContext)
          Sends a notification.
 void sendNotifications(java.util.List<Notification> notifications, NotificationData notificationData, ConversionContext conversionContext)
          Sends the notificationData to each user listed in notifications, as long as they are permitted to see it.
 void sendPageNotifications(AbstractPage page, NotificationData notificationData, ConversionContext conversionContext)
          Sends page based notifications.
 void sendSpaceNotifications(Space space, NotificationData notificationData, ConversionContext conversionContext)
          Sends space based notifications.
 

Method Detail

sendNotification

void sendNotification(Notification notification,
                      NotificationData notificationData,
                      ConversionContext conversionContext)
Sends content-based notifications. Generates link to stop watching a notification and adds a link to manage content notification settings

Parameters:
notification - the watch that triggered the notification being sent
notificationData - data for rendering the email
conversionContext - conversionContext specific to the type of entity the email is being sent about

sendNotification

void sendNotification(java.lang.String recipient,
                      NotificationContext context,
                      NotificationData notificationData,
                      ConversionContext conversionContext)
Sends a notification. Checks the permissions before sending.


sendPageNotifications

void sendPageNotifications(AbstractPage page,
                           NotificationData notificationData,
                           ConversionContext conversionContext)
Sends page based notifications.

Parameters:
page - the page related to the notifications to be sent.
notificationData - data for rendering the email
conversionContext - conversionContext specific to the type of entity the email is being sent about

sendSpaceNotifications

void sendSpaceNotifications(Space space,
                            NotificationData notificationData,
                            ConversionContext conversionContext)
Sends space based notifications.

Parameters:
space - the space related to the notifications to be sent.

sendNetworkNotifications

void sendNetworkNotifications(NotificationData notificationData,
                              ConversionContext conversionContext)
Sends notifications based on users following other users.


sendNotifications

void sendNotifications(java.util.List<Notification> notifications,
                       NotificationData notificationData,
                       ConversionContext conversionContext)
Sends the notificationData to each user listed in notifications, as long as they are permitted to see it.



Copyright © 2003-2014 Atlassian. All Rights Reserved.