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 void
acknowledgeAll(String user, Date timestamp)
Deprecated.acknowledgeAllvoid
acknowledgeMatchingEvents(String user, Date timestamp, EventCriteria criteria)
Deprecated.acknowledgeMatchingEventsvoid
afterPropertiesSet()
Deprecated.int
countMatchingEvents(EventCriteria criteria)
Deprecated.countMatchingEventsint[]
countMatchingEventsBySeverity(EventCriteria criteria)
Deprecated.countMatchingEventsBySeverityEvent
getEvent(int eventId)
Deprecated.getEventEvent[]
getMatchingEvents(EventCriteria criteria)
Deprecated.getMatchingEventsvoid
unacknowledgeAll()
Deprecated.unacknowledgeAllvoid
unacknowledgeMatchingEvents(EventCriteria criteria)
Deprecated.unacknowledgeMatchingEvents
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
Deprecated.- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
acknowledgeAll
@Transactional public void acknowledgeAll(String user, Date timestamp)
Deprecated.acknowledgeAll
- Specified by:
acknowledgeAll
in interfaceWebEventRepository
- Parameters:
user
- aString
object.timestamp
- a java$util$Date object.
-
acknowledgeMatchingEvents
@Transactional public void acknowledgeMatchingEvents(String user, Date timestamp, EventCriteria criteria)
Deprecated.acknowledgeMatchingEvents
- Specified by:
acknowledgeMatchingEvents
in interfaceWebEventRepository
- Parameters:
user
- aString
object.timestamp
- a java$util$Date object.criteria
- aEventCriteria
object.
-
countMatchingEvents
@Transactional public int countMatchingEvents(EventCriteria criteria)
Deprecated.countMatchingEvents
- Specified by:
countMatchingEvents
in interfaceWebEventRepository
- Parameters:
criteria
- aEventCriteria
object.- Returns:
- a int.
-
countMatchingEventsBySeverity
@Transactional public int[] countMatchingEventsBySeverity(EventCriteria criteria)
Deprecated.countMatchingEventsBySeverity
- Specified by:
countMatchingEventsBySeverity
in interfaceWebEventRepository
- Parameters:
criteria
- aEventCriteria
object.- Returns:
- an array of int.
-
getEvent
@Transactional public Event getEvent(int eventId)
Deprecated.getEvent
- Specified by:
getEvent
in interfaceWebEventRepository
- Parameters:
eventId
- a int.- Returns:
- a
Event
object.
-
getMatchingEvents
@Transactional public Event[] getMatchingEvents(EventCriteria criteria)
Deprecated.getMatchingEvents
- Specified by:
getMatchingEvents
in interfaceWebEventRepository
- Parameters:
criteria
- aEventCriteria
object.- Returns:
- an array of
Event
objects.
-
unacknowledgeAll
@Transactional public void unacknowledgeAll()
Deprecated.unacknowledgeAll
- Specified by:
unacknowledgeAll
in interfaceWebEventRepository
-
unacknowledgeMatchingEvents
@Transactional public void unacknowledgeMatchingEvents(EventCriteria criteria)
Deprecated.unacknowledgeMatchingEvents
- Specified by:
unacknowledgeMatchingEvents
in interfaceWebEventRepository
- Parameters:
criteria
- aEventCriteria
object.
-
-