|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.mail.notification.DefaultNotificationsSender
public class DefaultNotificationsSender
| Constructor Summary | |
|---|---|
DefaultNotificationsSender(UserAccessor userAccessor,
com.atlassian.core.task.MultiQueueTaskManager taskManager,
NotificationManager notificationManager,
Renderer viewRenderer,
PermissionManager permissionManager,
FormatSettingsManager formatSettingsManager,
com.atlassian.plugin.webresource.WebResourceManager webResourceManager,
I18NBeanFactory i18NBeanFactory,
LocaleManager localeManager,
Differ differ,
NotificationRenderManager notificationRenderManager,
DataSourceFactory dataSourceFactory)
|
|
| Method Summary | |
|---|---|
protected com.atlassian.mail.queue.MailQueueItem |
createNotificationTask(com.atlassian.user.User toUser,
NotificationData notificationData,
String renderedSubject,
NotificationContext context)
|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultNotificationsSender(UserAccessor userAccessor,
com.atlassian.core.task.MultiQueueTaskManager taskManager,
NotificationManager notificationManager,
Renderer viewRenderer,
PermissionManager permissionManager,
FormatSettingsManager formatSettingsManager,
com.atlassian.plugin.webresource.WebResourceManager webResourceManager,
I18NBeanFactory i18NBeanFactory,
LocaleManager localeManager,
Differ differ,
NotificationRenderManager notificationRenderManager,
DataSourceFactory dataSourceFactory)
| Method Detail |
|---|
public final void sendNotification(Notification notification,
NotificationData notificationData,
ConversionContext conversionContext)
NotificationsSender
sendNotification in interface NotificationsSendernotification - 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 about
public final void sendNotification(String recipient,
NotificationContext context,
NotificationData notificationData,
ConversionContext conversionContext)
sendNotification in interface NotificationsSender
public void sendPageNotifications(AbstractPage page,
NotificationData notificationData,
ConversionContext conversionContext)
NotificationsSender
sendPageNotifications in interface NotificationsSenderpage - 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 about
public void sendSpaceNotifications(Space space,
NotificationData notificationData,
ConversionContext conversionContext)
NotificationsSender
sendSpaceNotifications in interface NotificationsSenderspace - the space related to the notifications to be sent.
public void sendNetworkNotifications(NotificationData notificationData,
ConversionContext conversionContext)
NotificationsSender
sendNetworkNotifications in interface NotificationsSender
public void sendNotifications(List<Notification> notifications,
NotificationData notificationData,
ConversionContext conversionContext)
NotificationsSendernotifications, as long as they are
permitted to see it.
sendNotifications in interface NotificationsSender
protected com.atlassian.mail.queue.MailQueueItem createNotificationTask(com.atlassian.user.User toUser,
NotificationData notificationData,
String renderedSubject,
NotificationContext context)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||