org.opennms.web.event
Class DaoWebEventRepository

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

public class DaoWebEventRepository
extends Object
implements WebEventRepository


Constructor Summary
DaoWebEventRepository()
           
 
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

DaoWebEventRepository

public DaoWebEventRepository()
Method Detail

acknowledgeAll

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

acknowledgeMatchingEvents

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

countMatchingEvents

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

countMatchingEventsBySeverity

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

getEvent

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

getMatchingEvents

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

unacknowledgeAll

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

unacknowledgeMatchingEvents

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


Copyright © 2009. All Rights Reserved.