com.atlassian.confluence.mail.notification
Interface NotificationManager

All Known Implementing Classes:
DefaultNotificationManager

public interface NotificationManager


Method Summary
 Notification addDailyReportNotfication(com.atlassian.user.User user)
           
 Notification addPageNotification(com.atlassian.user.User user, AbstractPage page)
           
 Notification addSpaceNotification(com.atlassian.user.User user, Space space)
           
 java.util.List<Notification> findNotificationsByFollowing(com.atlassian.user.User modifier)
           
 Notification getDailyReportNotificationForUser(com.atlassian.user.User user)
           
 java.util.List<Notification> getDailyReportNotifications()
           
 Notification getNetworkNotificationForUser(com.atlassian.user.User user)
           
 Notification getNotificationByUserAndPage(com.atlassian.user.User user, AbstractPage page)
           
 Notification getNotificationByUserAndSpace(com.atlassian.user.User user, java.lang.String spaceKey)
           
 java.util.List<Notification> getNotificationsByPage(AbstractPage page)
           
 java.util.List<Notification> getNotificationsBySpace(Space space)
           
 java.util.List<Notification> getNotificationsByUser(com.atlassian.user.User user)
           
 Notification getSiteBlogNotificationForUser(com.atlassian.user.User user)
           
 java.util.List<Notification> getSiteBlogNotifications()
           
 boolean isUserWatchingPageOrSpace(com.atlassian.user.User user, Space space, AbstractPage page)
           
 void removeAllNotificationsForUser(com.atlassian.user.User user)
          Remove all of the notifications setup for this user.
 void removeDailyReportNotification(com.atlassian.user.User user)
           
 void removeNotification(Notification notification)
           
 void setNetworkNotificationForUser(com.atlassian.user.User user, boolean watchingNetwork)
           
 void setSiteBlogNotificationForUser(com.atlassian.user.User user, boolean globalBlogWatchForUser)
           
 

Method Detail

getNotificationsByUser

java.util.List<Notification> getNotificationsByUser(com.atlassian.user.User user)

getNotificationsByPage

java.util.List<Notification> getNotificationsByPage(AbstractPage page)

getNotificationsBySpace

java.util.List<Notification> getNotificationsBySpace(Space space)

getNotificationByUserAndPage

Notification getNotificationByUserAndPage(com.atlassian.user.User user,
                                          AbstractPage page)

getNotificationByUserAndSpace

Notification getNotificationByUserAndSpace(com.atlassian.user.User user,
                                           java.lang.String spaceKey)

addPageNotification

Notification addPageNotification(com.atlassian.user.User user,
                                 AbstractPage page)

addSpaceNotification

Notification addSpaceNotification(com.atlassian.user.User user,
                                  Space space)

addDailyReportNotfication

Notification addDailyReportNotfication(com.atlassian.user.User user)

removeDailyReportNotification

void removeDailyReportNotification(com.atlassian.user.User user)

removeNotification

void removeNotification(Notification notification)

isUserWatchingPageOrSpace

boolean isUserWatchingPageOrSpace(com.atlassian.user.User user,
                                  Space space,
                                  AbstractPage page)

removeAllNotificationsForUser

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


getDailyReportNotifications

java.util.List<Notification> getDailyReportNotifications()

getDailyReportNotificationForUser

Notification getDailyReportNotificationForUser(com.atlassian.user.User user)

getSiteBlogNotificationForUser

Notification getSiteBlogNotificationForUser(com.atlassian.user.User user)

getNetworkNotificationForUser

Notification getNetworkNotificationForUser(com.atlassian.user.User user)

setSiteBlogNotificationForUser

void setSiteBlogNotificationForUser(com.atlassian.user.User user,
                                    boolean globalBlogWatchForUser)

setNetworkNotificationForUser

void setNetworkNotificationForUser(com.atlassian.user.User user,
                                   boolean watchingNetwork)

getSiteBlogNotifications

java.util.List<Notification> getSiteBlogNotifications()

findNotificationsByFollowing

java.util.List<Notification> findNotificationsByFollowing(com.atlassian.user.User modifier)


Copyright © 2003-2010 Atlassian. All Rights Reserved.