Package org.opennms.web.notification
Interface WebNotificationRepository
-
- All Known Implementing Classes:
DaoWebNotificationRepository
public interface WebNotificationRepository
WebNotificationRepository interface.
- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- ranger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
acknowledgeMatchingNotification(String user, Date timestamp, NotificationCriteria criteria)
acknowledgeMatchingNotificationint
countMatchingNotifications(NotificationCriteria criteria)
countMatchingNotificationsNotification[]
getMatchingNotifications(NotificationCriteria criteria)
getMatchingNotificationsNotification
getNotification(int noticeId)
getNotification
-
-
-
Method Detail
-
countMatchingNotifications
int countMatchingNotifications(NotificationCriteria criteria)
countMatchingNotifications
- Parameters:
criteria
- aNotificationCriteria
object.- Returns:
- a int.
-
getNotification
Notification getNotification(int noticeId)
getNotification
- Parameters:
noticeId
- a int.- Returns:
- a
Notification
object.
-
getMatchingNotifications
Notification[] getMatchingNotifications(NotificationCriteria criteria)
getMatchingNotifications
- Parameters:
criteria
- aNotificationCriteria
object.- Returns:
- an array of
Notification
objects.
-
acknowledgeMatchingNotification
void acknowledgeMatchingNotification(String user, Date timestamp, NotificationCriteria criteria)
acknowledgeMatchingNotification
- Parameters:
user
- aString
object.timestamp
- a java$util$Date object.criteria
- aNotificationCriteria
object.
-
-