org.opennms.web.notification
Class DaoWebNotificationRepository

java.lang.Object
  extended by org.opennms.web.notification.DaoWebNotificationRepository
All Implemented Interfaces:
WebNotificationRepository

public class DaoWebNotificationRepository
extends Object
implements WebNotificationRepository


Constructor Summary
DaoWebNotificationRepository()
           
 
Method Summary
 void acknowledgeMatchingNotification(String user, Date timestamp, NotificationCriteria criteria)
           
 int countMatchingNotifications(NotificationCriteria criteria)
           
 Notification[] getMatchingNotifications(NotificationCriteria criteria)
           
 Notification getNotification(int noticeId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DaoWebNotificationRepository

public DaoWebNotificationRepository()
Method Detail

acknowledgeMatchingNotification

@Transactional
public void acknowledgeMatchingNotification(String user,
                                                          Date timestamp,
                                                          NotificationCriteria criteria)
Specified by:
acknowledgeMatchingNotification in interface WebNotificationRepository

countMatchingNotifications

@Transactional
public int countMatchingNotifications(NotificationCriteria criteria)
Specified by:
countMatchingNotifications in interface WebNotificationRepository

getMatchingNotifications

@Transactional
public Notification[] getMatchingNotifications(NotificationCriteria criteria)
Specified by:
getMatchingNotifications in interface WebNotificationRepository

getNotification

@Transactional
public Notification getNotification(int noticeId)
Specified by:
getNotification in interface WebNotificationRepository


Copyright © 2009. All Rights Reserved.