Package org.opennms.web.event
Interface WebEventRepository
-
- All Known Implementing Classes:
DaoWebEventRepository
public interface WebEventRepository
WebEventRepository interface.
- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- ranger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
acknowledgeAll(String user, Date timestamp)
acknowledgeAllvoid
acknowledgeMatchingEvents(String user, Date timestamp, EventCriteria criteria)
acknowledgeMatchingEventsint
countMatchingEvents(EventCriteria criteria)
countMatchingEventsint[]
countMatchingEventsBySeverity(EventCriteria criteria)
countMatchingEventsBySeverityEvent
getEvent(int eventId)
getEventEvent[]
getMatchingEvents(EventCriteria criteria)
getMatchingEventsvoid
unacknowledgeAll()
unacknowledgeAllvoid
unacknowledgeMatchingEvents(EventCriteria criteria)
unacknowledgeMatchingEvents
-
-
-
Method Detail
-
countMatchingEvents
int countMatchingEvents(EventCriteria criteria)
countMatchingEvents
- Parameters:
criteria
- aEventCriteria
object.- Returns:
- a int.
-
countMatchingEventsBySeverity
int[] countMatchingEventsBySeverity(EventCriteria criteria)
countMatchingEventsBySeverity
- Parameters:
criteria
- aEventCriteria
object.- Returns:
- an array of int.
-
getEvent
Event getEvent(int eventId)
getEvent
- Parameters:
eventId
- a int.- Returns:
- a
Event
object.
-
getMatchingEvents
Event[] getMatchingEvents(EventCriteria criteria)
getMatchingEvents
- Parameters:
criteria
- aEventCriteria
object.- Returns:
- an array of
Event
objects.
-
acknowledgeMatchingEvents
void acknowledgeMatchingEvents(String user, Date timestamp, EventCriteria criteria)
acknowledgeMatchingEvents
- Parameters:
user
- aString
object.timestamp
- a java$util$Date object.criteria
- aEventCriteria
object.
-
acknowledgeAll
void acknowledgeAll(String user, Date timestamp)
acknowledgeAll
- Parameters:
user
- aString
object.timestamp
- a java$util$Date object.
-
unacknowledgeMatchingEvents
void unacknowledgeMatchingEvents(EventCriteria criteria)
unacknowledgeMatchingEvents
- Parameters:
criteria
- aEventCriteria
object.
-
unacknowledgeAll
void unacknowledgeAll()
unacknowledgeAll
-
-