public interface NotificationsSender
Modifier and Type | Method and Description |
---|---|
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(String recipient,
NotificationContext context,
NotificationData notificationData,
ConversionContext conversionContext)
Sends a notification.
|
void |
sendNotifications(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.
|
void sendNotification(Notification notification, NotificationData notificationData, ConversionContext conversionContext)
notification
- the watch that triggered the notification being sentnotificationData
- data for rendering the emailconversionContext
- conversionContext specific to the type of entity the email is being sent aboutvoid sendNotification(String recipient, NotificationContext context, NotificationData notificationData, ConversionContext conversionContext)
void sendPageNotifications(AbstractPage page, NotificationData notificationData, ConversionContext conversionContext)
page
- the page related to the notifications to be sent.notificationData
- data for rendering the emailconversionContext
- conversionContext specific to the type of entity the email is being sent aboutvoid sendSpaceNotifications(Space space, NotificationData notificationData, ConversionContext conversionContext)
space
- the space related to the notifications to be sent.void sendNetworkNotifications(NotificationData notificationData, ConversionContext conversionContext)
void sendNotifications(List<Notification> notifications, NotificationData notificationData, ConversionContext conversionContext)
notifications
, as long as they are
permitted to see it.Copyright © 2003–2020 Atlassian. All rights reserved.