Package org.opennms.web.event
Class DaoWebEventRepository
- java.lang.Object
-
- org.opennms.web.event.DaoWebEventRepository
-
- All Implemented Interfaces:
WebEventRepository,org.springframework.beans.factory.InitializingBean
public class DaoWebEventRepository extends Object implements WebEventRepository, org.springframework.beans.factory.InitializingBean
Deprecated.Move all of these methods into theEventDao. This class just delegates straight to it anyway.DaoWebEventRepository class.
- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description DaoWebEventRepository()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidacknowledgeAll(String user, Date timestamp)Deprecated.acknowledgeAllvoidacknowledgeMatchingEvents(String user, Date timestamp, EventCriteria criteria)Deprecated.acknowledgeMatchingEventsvoidafterPropertiesSet()Deprecated.intcountMatchingEvents(EventCriteria criteria)Deprecated.countMatchingEventsint[]countMatchingEventsBySeverity(EventCriteria criteria)Deprecated.countMatchingEventsBySeverityEventgetEvent(int eventId)Deprecated.getEventEvent[]getMatchingEvents(EventCriteria criteria)Deprecated.getMatchingEventsvoidunacknowledgeAll()Deprecated.unacknowledgeAllvoidunacknowledgeMatchingEvents(EventCriteria criteria)Deprecated.unacknowledgeMatchingEvents
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws ExceptionDeprecated.- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
acknowledgeAll
@Transactional public void acknowledgeAll(String user, Date timestamp)
Deprecated.acknowledgeAll
- Specified by:
acknowledgeAllin interfaceWebEventRepository- Parameters:
user- aStringobject.timestamp- a java$util$Date object.
-
acknowledgeMatchingEvents
@Transactional public void acknowledgeMatchingEvents(String user, Date timestamp, EventCriteria criteria)
Deprecated.acknowledgeMatchingEvents
- Specified by:
acknowledgeMatchingEventsin interfaceWebEventRepository- Parameters:
user- aStringobject.timestamp- a java$util$Date object.criteria- aEventCriteriaobject.
-
countMatchingEvents
@Transactional public int countMatchingEvents(EventCriteria criteria)
Deprecated.countMatchingEvents
- Specified by:
countMatchingEventsin interfaceWebEventRepository- Parameters:
criteria- aEventCriteriaobject.- Returns:
- a int.
-
countMatchingEventsBySeverity
@Transactional public int[] countMatchingEventsBySeverity(EventCriteria criteria)
Deprecated.countMatchingEventsBySeverity
- Specified by:
countMatchingEventsBySeverityin interfaceWebEventRepository- Parameters:
criteria- aEventCriteriaobject.- Returns:
- an array of int.
-
getEvent
@Transactional public Event getEvent(int eventId)
Deprecated.getEvent
- Specified by:
getEventin interfaceWebEventRepository- Parameters:
eventId- a int.- Returns:
- a
Eventobject.
-
getMatchingEvents
@Transactional public Event[] getMatchingEvents(EventCriteria criteria)
Deprecated.getMatchingEvents
- Specified by:
getMatchingEventsin interfaceWebEventRepository- Parameters:
criteria- aEventCriteriaobject.- Returns:
- an array of
Eventobjects.
-
unacknowledgeAll
@Transactional public void unacknowledgeAll()
Deprecated.unacknowledgeAll
- Specified by:
unacknowledgeAllin interfaceWebEventRepository
-
unacknowledgeMatchingEvents
@Transactional public void unacknowledgeMatchingEvents(EventCriteria criteria)
Deprecated.unacknowledgeMatchingEvents
- Specified by:
unacknowledgeMatchingEventsin interfaceWebEventRepository- Parameters:
criteria- aEventCriteriaobject.
-
-