com.atlassian.confluence.mail.notification
Interface NotificationManager
- All Known Implementing Classes:
- DefaultNotificationManager
public interface NotificationManager
getNotificationsByUser
java.util.List getNotificationsByUser(com.atlassian.user.User user)
getNotificationsByPage
java.util.List getNotificationsByPage(AbstractPage page)
getNotificationsBySpace
java.util.List 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.
- Parameters:
user
-
getDailyReportNotifications
java.util.List getDailyReportNotifications()
getDailyReportNotificationForUser
Notification getDailyReportNotificationForUser(com.atlassian.user.User user)
Copyright © 2003-2009 Atlassian Pty Ltd. All Rights Reserved.