@Test public void testSave(){ ReportCatalogEntry reportCatalogEntry = new ReportCatalogEntry(); m_reportCatalogDao.save(reportCatalogEntry); m_reportCatalogDao.flush(); replay(m_reportCatalogDao); m_reportStoreService.save(reportCatalogEntry); verify(m_reportCatalogDao); }
public void save(final ReportCatalogEntry reportCatalogEntry) { m_reportCatalogDao.save(reportCatalogEntry); m_reportCatalogDao.flush(); }
DefaultReportStoreService implements ReportStoreService { public void save(final ReportCatalogEntry reportCatalogEntry) { m_reportCatalogDao.save(reportCatalogEntry); m_reportCatalogDao.flush(); } }
DefaultReportStoreService implements ReportStoreService { public void save(final ReportCatalogEntry reportCatalogEntry) { m_reportCatalogDao.save(reportCatalogEntry); m_reportCatalogDao.flush(); } DefaultReportStoreService(); }
DefaultReportStoreService implements ReportStoreService { public void save(final ReportCatalogEntry reportCatalogEntry) { m_reportCatalogDao.save(reportCatalogEntry); m_reportCatalogDao.flush(); } DefaultReportStoreService(); void delete(Integer[] ids); void delete(Integer id); List<ReportCatalogEntry> getAll(); Map<String, Object> getFormatMap(); void render(Integer id, ReportFormat format, OutputStream outputStream); void save(final ReportCatalogEntry reportCatalogEntry); void setReportCatalogDao(ReportCatalogDao reportCatalogDao); void setReportServiceLocator(ReportServiceLocator reportServiceLocator); void setGlobalReportRepository(GlobalReportRepository globalReportRepository); }
DefaultReportStoreService implements ReportStoreService { public void save(final ReportCatalogEntry reportCatalogEntry) { m_reportCatalogDao.save(reportCatalogEntry); m_reportCatalogDao.flush(); } DefaultReportStoreService(); void delete(Integer[] ids); void delete(Integer id); List<ReportCatalogEntry> getAll(); Map<String, Object> getFormatMap(); void render(Integer id, ReportFormat format, OutputStream outputStream); void save(final ReportCatalogEntry reportCatalogEntry); void setReportCatalogDao(ReportCatalogDao reportCatalogDao); void setReportServiceLocator(ReportServiceLocator reportServiceLocator); void setGlobalReportRepository(GlobalReportRepository globalReportRepository);  }