|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NotificationDao
Data Access Object interface for dealing with notifications.
Method Summary | |
---|---|
java.util.List |
findAllDailyReportNotifications()
Find all daily report notifications. |
Notification |
findDailyReportNotification(java.lang.String username)
Find the specified users daily report notification. |
Notification |
findNotificationByUserAndPage(com.atlassian.user.User user,
AbstractPage page)
|
Notification |
findNotificationByUserAndSpace(com.atlassian.user.User user,
java.lang.String spaceKey)
|
java.util.List |
findNotificationsByPage(AbstractPage Page)
Find the notifications linked to the specified content. |
java.util.List |
findNotificationsBySpace(Space space)
Find the notifications links to the specified space. |
java.util.List |
findNotificationsByUser(com.atlassian.user.User user)
Find the space and page notifications owned by the specified user. |
void |
removeAllNotificationsForUser(com.atlassian.user.User user)
Deprecated. since 2.10 - Use findNotificationsByUser(User) and
ObjectDao.remove(com.atlassian.core.bean.EntityObject) instead. |
void |
removeDailyReportNotificationForUser(java.lang.String username)
Deprecated. since 2.10 - Use findDailyReportNotification(String) and
ObjectDao.remove(com.atlassian.core.bean.EntityObject) instead |
Methods inherited from interface bucket.core.persistence.ObjectDao |
---|
findAll, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw |
Method Detail |
---|
java.util.List findNotificationsByUser(com.atlassian.user.User user)
user
-
java.util.List findNotificationsByPage(AbstractPage Page)
Page
-
java.util.List findNotificationsBySpace(Space space)
space
-
Notification findNotificationByUserAndPage(com.atlassian.user.User user, AbstractPage page)
Notification findNotificationByUserAndSpace(com.atlassian.user.User user, java.lang.String spaceKey)
void removeAllNotificationsForUser(com.atlassian.user.User user)
findNotificationsByUser(User)
and
ObjectDao.remove(com.atlassian.core.bean.EntityObject)
instead.
user
- the user to remove all notifications forvoid removeDailyReportNotificationForUser(java.lang.String username)
findDailyReportNotification(String)
and
ObjectDao.remove(com.atlassian.core.bean.EntityObject)
instead
Notification findDailyReportNotification(java.lang.String username)
username
-
java.util.List findAllDailyReportNotifications()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |