|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate.support.HibernateDaoSupport
com.atlassian.hibernate.HibernateObjectDao
com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao
com.atlassian.confluence.core.persistence.hibernate.ConfluenceHibernateObjectDao
com.atlassian.confluence.mail.notification.persistence.dao.hibernate.HibernateNotificationDao
public class HibernateNotificationDao
| Field Summary |
|---|
| Fields inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao |
|---|
cacheFactory |
| Fields inherited from class org.springframework.dao.support.DaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
HibernateNotificationDao()
|
|
| 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. |
java.lang.Class |
getPersistentClass()
|
void |
removeAllNotificationsForUser(com.atlassian.user.User user)
Remove all the notifications for a particular user. |
void |
removeDailyReportNotificationForUser(java.lang.String username)
|
| Methods inherited from class com.atlassian.confluence.core.persistence.hibernate.ConfluenceHibernateObjectDao |
|---|
findByQuery |
| Methods inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao |
|---|
findAllSorted, findLatestVersionsCount, findLatestVersionsIterator, save, setCacheFactory, updateModificationData |
| Methods inherited from class com.atlassian.hibernate.HibernateObjectDao |
|---|
findAll, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getByClassId, index, refresh, reIndex, remove, replicate, save, saveRaw, setIndexer, unIndex |
| Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
|---|
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory |
| Methods inherited from class org.springframework.dao.support.DaoSupport |
|---|
afterPropertiesSet, initDao |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface bucket.core.persistence.ObjectDao |
|---|
findAll, findAllSorted, refresh, remove, replicate, save, saveRaw |
| Constructor Detail |
|---|
public HibernateNotificationDao()
| Method Detail |
|---|
public java.util.List findNotificationsByUser(com.atlassian.user.User user)
NotificationDao
findNotificationsByUser in interface NotificationDaopublic java.util.List findNotificationsByPage(AbstractPage page)
NotificationDao
findNotificationsByPage in interface NotificationDaopublic java.util.List findNotificationsBySpace(Space space)
NotificationDao
findNotificationsBySpace in interface NotificationDao
public Notification findNotificationByUserAndPage(com.atlassian.user.User user,
AbstractPage page)
findNotificationByUserAndPage in interface NotificationDao
public Notification findNotificationByUserAndSpace(com.atlassian.user.User user,
java.lang.String spaceKey)
findNotificationByUserAndSpace in interface NotificationDaopublic void removeAllNotificationsForUser(com.atlassian.user.User user)
removeAllNotificationsForUser in interface NotificationDaouser - the user to remove all notifications forpublic void removeDailyReportNotificationForUser(java.lang.String username)
removeDailyReportNotificationForUser in interface NotificationDaopublic Notification findDailyReportNotification(java.lang.String username)
NotificationDao
findDailyReportNotification in interface NotificationDaopublic java.util.List findAllDailyReportNotifications()
NotificationDao
findAllDailyReportNotifications in interface NotificationDaopublic java.lang.Class getPersistentClass()
getPersistentClass in interface bucket.core.persistence.ObjectDao
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||