org.opennms.web.event
Class JdbcWebEventRepository

java.lang.Object
  extended by org.opennms.web.event.JdbcWebEventRepository
All Implemented Interfaces:
WebEventRepository

public class JdbcWebEventRepository
extends Object
implements WebEventRepository


Nested Class Summary
static class JdbcWebEventRepository.EventMapper
           
 
Constructor Summary
JdbcWebEventRepository()
           
 
Method Summary
 void acknowledgeAll(String user, Date timestamp)
           
 void acknowledgeMatchingEvents(String user, Date timestamp, EventCriteria criteria)
           
 int countMatchingEvents(EventCriteria criteria)
           
 int[] countMatchingEventsBySeverity(EventCriteria criteria)
           
 Event getEvent(int eventId)
           
 Event[] getMatchingEvents(EventCriteria criteria)
           
 void unacknowledgeAll()
           
 void unacknowledgeMatchingEvents(EventCriteria criteria)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcWebEventRepository

public JdbcWebEventRepository()
Method Detail

countMatchingEvents

public int countMatchingEvents(EventCriteria criteria)
Specified by:
countMatchingEvents in interface WebEventRepository

countMatchingEventsBySeverity

public int[] countMatchingEventsBySeverity(EventCriteria criteria)
Specified by:
countMatchingEventsBySeverity in interface WebEventRepository

getEvent

public Event getEvent(int eventId)
Specified by:
getEvent in interface WebEventRepository

getMatchingEvents

public Event[] getMatchingEvents(EventCriteria criteria)
Specified by:
getMatchingEvents in interface WebEventRepository

acknowledgeAll

public void acknowledgeAll(String user,
                           Date timestamp)
Specified by:
acknowledgeAll in interface WebEventRepository

acknowledgeMatchingEvents

public void acknowledgeMatchingEvents(String user,
                                      Date timestamp,
                                      EventCriteria criteria)
Specified by:
acknowledgeMatchingEvents in interface WebEventRepository

unacknowledgeAll

public void unacknowledgeAll()
Specified by:
unacknowledgeAll in interface WebEventRepository

unacknowledgeMatchingEvents

public void unacknowledgeMatchingEvents(EventCriteria criteria)
Specified by:
unacknowledgeMatchingEvents in interface WebEventRepository


Copyright © 2009. All Rights Reserved.