public class DaoWebNotificationRepository extends Object implements WebNotificationRepository, org.springframework.beans.factory.InitializingBean
DaoWebNotificationRepository class.
| Constructor and Description |
|---|
DaoWebNotificationRepository() |
| Modifier and Type | Method and Description |
|---|---|
void |
acknowledgeMatchingNotification(String user,
Date timestamp,
NotificationCriteria criteria)
acknowledgeMatchingNotification
|
void |
afterPropertiesSet() |
int |
countMatchingNotifications(NotificationCriteria criteria)
countMatchingNotifications
|
Notification[] |
getMatchingNotifications(NotificationCriteria criteria)
getMatchingNotifications
|
Notification |
getNotification(int noticeId)
getNotification
|
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException@Transactional public void acknowledgeMatchingNotification(String user, Date timestamp, NotificationCriteria criteria)
acknowledgeMatchingNotification
acknowledgeMatchingNotification in interface WebNotificationRepositoryuser - a String object.timestamp - a java$util$Date object.criteria - a NotificationCriteria object.@Transactional public int countMatchingNotifications(NotificationCriteria criteria)
countMatchingNotifications
countMatchingNotifications in interface WebNotificationRepositorycriteria - a NotificationCriteria object.@Transactional public Notification[] getMatchingNotifications(NotificationCriteria criteria)
getMatchingNotifications
getMatchingNotifications in interface WebNotificationRepositorycriteria - a NotificationCriteria object.Notification objects.@Transactional public Notification getNotification(int noticeId)
getNotification
getNotification in interface WebNotificationRepositorynoticeId - a int.Notification object.Copyright © 2020. All rights reserved.