public class HibernateNotificationDao extends ConfluenceHibernateObjectDao implements NotificationDao
cacheFactory, confluenceUserDaoNON_CACHEABLE| Constructor and Description | 
|---|
HibernateNotificationDao()  | 
| Modifier and Type | Method and Description | 
|---|---|
List<Notification> | 
findAllDailyReportNotifications()
Find all daily report notifications. 
 | 
List<Notification> | 
findAllNotificationsBySpace(Space space)
Find all notifications linked to the specified space regardless of type specified. 
 | 
List<Notification> | 
findAllNotificationsByUser(com.atlassian.user.User user)
Find all notifications owned by the specified user, including digest
 etc. 
 | 
Notification | 
findDailyReportNotification(String username)
Find the specified user's daily report notification. 
 | 
Notification | 
findGlobalBlogWatchForUser(com.atlassian.user.User user)
Find the global blog notification for this user if they have one. 
 | 
Notification | 
findNetworkNotificationByUser(com.atlassian.user.User user)
Find the Network notification for this user if they have one. 
 | 
Notification | 
findNotificationByUserAndContent(com.atlassian.user.User user,
                                ContentEntityObject content)
Find any user notification linked to the specified content. 
 | 
Notification | 
findNotificationByUserAndLabel(com.atlassian.user.User user,
                              Label label)
Find any user notification linked to the specified label. 
 | 
Notification | 
findNotificationByUserAndPage(com.atlassian.user.User user,
                             AbstractPage page)  | 
Notification | 
findNotificationByUserAndSpace(com.atlassian.user.User user,
                              Space space)
Find any user notification linked to the specified space regardless of type. 
 | 
Notification | 
findNotificationByUserAndSpace(com.atlassian.user.User user,
                              String spaceKey)
Find any user notification linked to the specified space regardless of type. 
 | 
Notification | 
findNotificationByUserAndSpaceAndType(com.atlassian.user.User user,
                                     Space space,
                                     ContentTypeEnum type)
Find the user notification linked to the specified space with a type specified - may be null if watching the
 whole space. 
 | 
List<Notification> | 
findNotificationsByContent(ContentEntityObject content)  | 
List<Notification> | 
findNotificationsByFollowing(com.atlassian.user.User user)  | 
List<Notification> | 
findNotificationsByLabel(Label label)  | 
List<Notification> | 
findNotificationsByPage(AbstractPage page)
Find the notifications linked to the specified content. 
 | 
List<Notification> | 
findNotificationsBySpace(Space space)
Find the notifications linked to the specified space regardless of type specified. 
 | 
List<Notification> | 
findNotificationsBySpaceAndType(Space space,
                               ContentTypeEnum type)
Find all notifications linked to the specified space for a certain type. 
 | 
List<Notification> | 
findNotificationsByUser(com.atlassian.user.User user)
Find the space and page notifications owned by the specified user. 
 | 
Iterable<Long> | 
findPageAndSpaceNotificationIdsFromSpace(Space space)
Retrieves ids for all notifications in a space. 
 | 
List<Notification> | 
findSiteBlogNotifications()
Find the global blog notification for all users. 
 | 
Class | 
getPersistentClass()  | 
findAllSorted, findLatestVersionsCount, findLatestVersionsIterator, findNamedQueryStringParams, save, setCacheFactory, setConfluenceUserDao, updateModificationDatafindAll, findAllSorted, findByClassIds, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getByClassId, getCountResult, index, refresh, reIndex, remove, replicate, save, saveRaw, setIndexer, unIndex, uniqueResultcheckDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindAll, findAllSorted, findAllSorted, findByClassIds, refresh, remove, replicate, save, saveRawpublic List<Notification> findNotificationsByUser(com.atlassian.user.User user)
NotificationDaofindNotificationsByUser in interface NotificationDaopublic List<Notification> findAllNotificationsByUser(com.atlassian.user.User user)
NotificationDaofindAllNotificationsByUser in interface NotificationDaopublic List<Notification> findNotificationsByPage(AbstractPage page)
NotificationDaofindNotificationsByPage in interface NotificationDaopublic List<Notification> findNotificationsBySpace(Space space)
NotificationDaofindNotificationsBySpace in interface NotificationDaopublic List<Notification> findAllNotificationsBySpace(Space space)
NotificationDaofindAllNotificationsBySpace in interface NotificationDaopublic Iterable<Long> findPageAndSpaceNotificationIdsFromSpace(Space space)
NotificationDaofindPageAndSpaceNotificationIdsFromSpace in interface NotificationDaospace - a space to find the notifications forpublic List<Notification> findNotificationsBySpaceAndType(Space space, ContentTypeEnum type)
NotificationDaofindNotificationsBySpaceAndType in interface NotificationDaopublic Notification findNotificationByUserAndPage(com.atlassian.user.User user, AbstractPage page)
findNotificationByUserAndPage in interface NotificationDaopublic Notification findNotificationByUserAndSpace(com.atlassian.user.User user, Space space)
NotificationDaofindNotificationByUserAndSpace in interface NotificationDaopublic Notification findNotificationByUserAndContent(com.atlassian.user.User user, ContentEntityObject content)
NotificationDaofindNotificationByUserAndContent in interface NotificationDaopublic List<Notification> findNotificationsByContent(ContentEntityObject content)
findNotificationsByContent in interface NotificationDaopublic Notification findNotificationByUserAndLabel(com.atlassian.user.User user, Label label)
NotificationDaofindNotificationByUserAndLabel in interface NotificationDaopublic List<Notification> findNotificationsByLabel(Label label)
findNotificationsByLabel in interface NotificationDaopublic Notification findNotificationByUserAndSpace(com.atlassian.user.User user, String spaceKey)
NotificationDaofindNotificationByUserAndSpace in interface NotificationDaopublic Notification findNotificationByUserAndSpaceAndType(com.atlassian.user.User user, Space space, ContentTypeEnum type)
NotificationDaofindNotificationByUserAndSpaceAndType in interface NotificationDaopublic Notification findDailyReportNotification(String username)
NotificationDaofindDailyReportNotification in interface NotificationDaopublic List<Notification> findAllDailyReportNotifications()
NotificationDaofindAllDailyReportNotifications in interface NotificationDaopublic Notification findGlobalBlogWatchForUser(com.atlassian.user.User user)
findGlobalBlogWatchForUser in interface NotificationDaopublic Notification findNetworkNotificationByUser(com.atlassian.user.User user)
findNetworkNotificationByUser in interface NotificationDaopublic List<Notification> findSiteBlogNotifications()
NotificationDaofindSiteBlogNotifications in interface NotificationDaopublic List<Notification> findNotificationsByFollowing(com.atlassian.user.User user)
findNotificationsByFollowing in interface NotificationDaopublic Class getPersistentClass()
getPersistentClass in interface ObjectDaoCopyright © 2003–2016 Atlassian. All rights reserved.