com.atlassian.confluence.mail.notification
Interface NotificationManager

All Known Implementing Classes:
DefaultNotificationManager

public interface NotificationManager


Method Summary
 Notification addDailyReportNotfication(User user)
           
 Notification addPageNotification(User user, AbstractPage page)
           
 Notification addSpaceNotification(User user, Space space)
           
 Notification getDailyReportNotificationForUser(User user)
           
 List getDailyReportNotifications()
           
 Notification getNotificationByUserAndPage(User user, AbstractPage page)
           
 Notification getNotificationByUserAndSpace(User user, String spaceKey)
           
 List getNotificationsByPage(AbstractPage page)
           
 List getNotificationsBySpace(Space space)
           
 List getNotificationsByUser(User user)
           
 boolean isUserWatchingPageOrSpace(User user, Space space, AbstractPage page)
           
 void removeAllNotificationsForUser(User user)
          Remove all of the notifications setup for this user.
 void removeDailyReportNotification(User user)
           
 void removeNotification(Notification notification)
           
 

Method Detail

getNotificationsByUser

List getNotificationsByUser(User user)

getNotificationsByPage

List getNotificationsByPage(AbstractPage page)

getNotificationsBySpace

List getNotificationsBySpace(Space space)

getNotificationByUserAndPage

Notification getNotificationByUserAndPage(User user,
                                          AbstractPage page)

getNotificationByUserAndSpace

Notification getNotificationByUserAndSpace(User user,
                                           String spaceKey)

addPageNotification

Notification addPageNotification(User user,
                                 AbstractPage page)

addSpaceNotification

Notification addSpaceNotification(User user,
                                  Space space)

addDailyReportNotfication

Notification addDailyReportNotfication(User user)

removeDailyReportNotification

void removeDailyReportNotification(User user)

removeNotification

void removeNotification(Notification notification)

isUserWatchingPageOrSpace

boolean isUserWatchingPageOrSpace(User user,
                                  Space space,
                                  AbstractPage page)

removeAllNotificationsForUser

void removeAllNotificationsForUser(User user)
Remove all of the notifications setup for this user. This includes space, page and daily report notifications.

Parameters:
user -

getDailyReportNotifications

List getDailyReportNotifications()

getDailyReportNotificationForUser

Notification getDailyReportNotificationForUser(User user)


Confluence is developed by Atlassian.