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.InitializingBean
Exception
@Transactional public void acknowledgeMatchingNotification(String user, Date timestamp, NotificationCriteria criteria)
acknowledgeMatchingNotification
acknowledgeMatchingNotification
in interface WebNotificationRepository
user
- a String
object.timestamp
- a java$util$Date object.criteria
- a NotificationCriteria
object.@Transactional public int countMatchingNotifications(NotificationCriteria criteria)
countMatchingNotifications
countMatchingNotifications
in interface WebNotificationRepository
criteria
- a NotificationCriteria
object.@Transactional public Notification[] getMatchingNotifications(NotificationCriteria criteria)
getMatchingNotifications
getMatchingNotifications
in interface WebNotificationRepository
criteria
- a NotificationCriteria
object.Notification
objects.@Transactional public Notification getNotification(int noticeId)
getNotification
getNotification
in interface WebNotificationRepository
noticeId
- a int.Notification
object.Copyright © 2021. All rights reserved.