Package org.opennms.netmgt.dao.api
Interface EventDao
-
- All Known Implementing Classes:
EventDaoHibernate
,MockEventDao
public interface EventDao extends LegacyOnmsDao<OnmsEvent,Integer>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
deletePreviousEventsForAlarm(Integer id, OnmsEvent e)
List<OnmsEvent>
getEventsAfterDate(List<String> ueiList, 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.List<OnmsEvent>
getEventsForEventParameters(Map<String,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
-
getEventsAfterDate
List<OnmsEvent> getEventsAfterDate(List<String> ueiList, 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.
-
-