Class EventDaoHibernate

    • Constructor Detail

      • EventDaoHibernate

        public EventDaoHibernate()
    • Method Detail

      • deletePreviousEventsForAlarm

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

        public java.util.List<OnmsEvent> getEventsAfterDate​(java.util.List<java.lang.String> ueiList,
                                                            java.util.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.
      • getEventsForEventParameters

        public java.util.List<OnmsEvent> getEventsForEventParameters​(java.util.Map<java.lang.String,​java.lang.String> eventParameters)
        Specified by:
        getEventsForEventParameters in interface EventDao