Class EventDaoHibernate

    • Constructor Detail

      • EventDaoHibernate

        public EventDaoHibernate()
    • Method Detail

      • deletePreviousEventsForAlarm

        public int deletePreviousEventsForAlarm​(Integer id,
                                                OnmsEvent e)
                                         throws org.springframework.dao.DataAccessException
        Specified by:
        deletePreviousEventsForAlarm in interface EventDao
        Throws:
        org.springframework.dao.DataAccessException
      • getEventsAfterDate

        public List<OnmsEvent> getEventsAfterDate​(List<String> ueiList,
                                                  Date date)
        Description copied from interface: EventDao
        Returns a list of events which have been created AFTER date and the uei of each event matches one uei entry of the ueiList.
        Specified by:
        getEventsAfterDate in interface EventDao
        Parameters:
        ueiList - list with uei's
        date - 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.