@Test @JUnitTemporaryDatabase public void testGetEvent(){ Event event = m_daoEventRepo.getEvent(1); assertNotNull(event); assertEquals("uei.opennms.org/test", event.uei); assertNotNull(event.getEventDisplay()); assertTrue(event.getEventDisplay()); }
@Transactional public Event getEvent(int eventId) { return mapOnmsEventToEvent(m_eventDao.get(eventId)); }
DaoWebEventRepository implements WebEventRepository, InitializingBean { @Transactional public Event getEvent(int eventId) { return mapOnmsEventToEvent(m_eventDao.get(eventId)); } }
DaoWebEventRepository implements WebEventRepository, InitializingBean { @Transactional public Event getEvent(int eventId) { return mapOnmsEventToEvent(m_eventDao.get(eventId)); }  }
DaoWebEventRepository implements WebEventRepository, InitializingBean { @Transactional public Event getEvent(int eventId) { return mapOnmsEventToEvent(m_eventDao.get(eventId)); }  @Override void afterPropertiesSet(); @Transactional void acknowledgeAll(String user, Date timestamp); @Transactional void acknowledgeMatchingEvents(String user, Date timestamp, EventCriteria criteria); @Transactional int countMatchingEvents(EventCriteria criteria); @Transactional int[] countMatchingEventsBySeverity(EventCriteria criteria); @Transactional Event getEvent(int eventId); @Transactional Event[] getMatchingEvents(EventCriteria criteria); @Transactional void unacknowledgeAll(); @Transactional void unacknowledgeMatchingEvents(EventCriteria criteria); }
DaoWebEventRepository implements WebEventRepository, InitializingBean { @Transactional public Event getEvent(int eventId) { return mapOnmsEventToEvent(m_eventDao.get(eventId)); }  @Override void afterPropertiesSet(); @Transactional void acknowledgeAll(String user, Date timestamp); @Transactional void acknowledgeMatchingEvents(String user, Date timestamp, EventCriteria criteria); @Transactional int countMatchingEvents(EventCriteria criteria); @Transactional int[] countMatchingEventsBySeverity(EventCriteria criteria); @Transactional Event getEvent(int eventId); @Transactional Event[] getMatchingEvents(EventCriteria criteria); @Transactional void unacknowledgeAll(); @Transactional void unacknowledgeMatchingEvents(EventCriteria criteria);  }