EventDao
. This class just
delegates straight to it anyway.public class DaoWebEventRepository extends Object implements WebEventRepository, org.springframework.beans.factory.InitializingBean
DaoWebEventRepository class.
Constructor and Description |
---|
DaoWebEventRepository()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
acknowledgeAll(String user,
Date timestamp)
Deprecated.
acknowledgeAll
|
void |
acknowledgeMatchingEvents(String user,
Date timestamp,
EventCriteria criteria)
Deprecated.
acknowledgeMatchingEvents
|
void |
afterPropertiesSet()
Deprecated.
|
int |
countMatchingEvents(EventCriteria criteria)
Deprecated.
countMatchingEvents
|
int[] |
countMatchingEventsBySeverity(EventCriteria criteria)
Deprecated.
countMatchingEventsBySeverity
|
Event |
getEvent(int eventId)
Deprecated.
getEvent
|
Event[] |
getMatchingEvents(EventCriteria criteria)
Deprecated.
getMatchingEvents
|
void |
unacknowledgeAll()
Deprecated.
unacknowledgeAll
|
void |
unacknowledgeMatchingEvents(EventCriteria criteria)
Deprecated.
unacknowledgeMatchingEvents
|
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
@Transactional public void acknowledgeAll(String user, Date timestamp)
acknowledgeAll
acknowledgeAll
in interface WebEventRepository
user
- a String
object.timestamp
- a java$util$Date object.@Transactional public void acknowledgeMatchingEvents(String user, Date timestamp, EventCriteria criteria)
acknowledgeMatchingEvents
acknowledgeMatchingEvents
in interface WebEventRepository
user
- a String
object.timestamp
- a java$util$Date object.criteria
- a EventCriteria
object.@Transactional public int countMatchingEvents(EventCriteria criteria)
countMatchingEvents
countMatchingEvents
in interface WebEventRepository
criteria
- a EventCriteria
object.@Transactional public int[] countMatchingEventsBySeverity(EventCriteria criteria)
countMatchingEventsBySeverity
countMatchingEventsBySeverity
in interface WebEventRepository
criteria
- a EventCriteria
object.@Transactional public Event getEvent(int eventId)
getEvent
getEvent
in interface WebEventRepository
eventId
- a int.Event
object.@Transactional public Event[] getMatchingEvents(EventCriteria criteria)
getMatchingEvents
getMatchingEvents
in interface WebEventRepository
criteria
- a EventCriteria
object.Event
objects.@Transactional public void unacknowledgeAll()
unacknowledgeAll
unacknowledgeAll
in interface WebEventRepository
@Transactional public void unacknowledgeMatchingEvents(EventCriteria criteria)
unacknowledgeMatchingEvents
unacknowledgeMatchingEvents
in interface WebEventRepository
criteria
- a EventCriteria
object.Copyright © 2021. All rights reserved.