Package org.opennms.netmgt.dao.api
Interface EventDao
-
- All Superinterfaces:
LegacyOnmsDao<OnmsEvent,java.lang.Integer>
,OnmsDao<OnmsEvent,java.lang.Integer>
- All Known Implementing Classes:
EventDaoHibernate
,MockEventDao
public interface EventDao extends LegacyOnmsDao<OnmsEvent,java.lang.Integer>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
deletePreviousEventsForAlarm(java.lang.Integer id, OnmsEvent e)
java.util.List<OnmsEvent>
getEventsAfterDate(java.util.List<java.lang.String> ueiList, java.util.Date date)
Returns a list of events which have been created AFTER date and the uei of each event matches one uei entry of the ueiList.java.util.List<OnmsEvent>
getEventsForEventParameters(java.util.Map<java.lang.String,java.lang.String> eventParameters)
-
Methods inherited from interface org.opennms.netmgt.dao.api.LegacyOnmsDao
countMatching, findMatching
-
Methods inherited from interface org.opennms.netmgt.dao.api.OnmsDao
clear, countAll, countMatching, delete, delete, findAll, findMatching, flush, get, initialize, load, lock, save, saveOrUpdate, update
-
-
-
-
Method Detail
-
deletePreviousEventsForAlarm
int deletePreviousEventsForAlarm(java.lang.Integer id, OnmsEvent e)
-
getEventsAfterDate
java.util.List<OnmsEvent> getEventsAfterDate(java.util.List<java.lang.String> ueiList, java.util.Date date)
Returns a list of events which have been created AFTER date and the uei of each event matches one uei entry of the ueiList.- Parameters:
ueiList
- list with uei'sdate
- the date after which all events are loaded.- Returns:
- a list of events which have been created AFTER date and the uei of each event matches one uei entry of the ueiList.
-
getEventsForEventParameters
java.util.List<OnmsEvent> getEventsForEventParameters(java.util.Map<java.lang.String,java.lang.String> eventParameters)
-
-