@Test public void testGetOnlineReports() throws Exception { assertEquals(1,m_dao.getOnlineReports().size()); }
public List<Report> getOnlineReports() { List<Report> onlineReports = new ArrayList<Report>(); for(Report report : getContainer().getObject()) { if (report.isOnline()) { onlineReports.add(report); } } return onlineReports; }
DefaultDatabaseReportConfigDao extends AbstractCastorConfigDao<DatabaseReports, List<Report>> implements DatabaseReportConfigDao { public List<Report> getOnlineReports() { List<Report> onlineReports = new ArrayList<Report>(); for(Report report : getContainer().getObject()) { if (report.isOnline()) { onlineReports.add(report); } } return onlineReports; } }
DefaultDatabaseReportConfigDao extends AbstractCastorConfigDao<DatabaseReports, List<Report>> implements DatabaseReportConfigDao { public List<Report> getOnlineReports() { List<Report> onlineReports = new ArrayList<Report>(); for(Report report : getContainer().getObject()) { if (report.isOnline()) { onlineReports.add(report); } } return onlineReports; } DefaultDatabaseReportConfigDao(); }
DefaultDatabaseReportConfigDao extends AbstractCastorConfigDao<DatabaseReports, List<Report>> implements DatabaseReportConfigDao { public List<Report> getOnlineReports() { List<Report> onlineReports = new ArrayList<Report>(); for(Report report : getContainer().getObject()) { if (report.isOnline()) { onlineReports.add(report); } } return onlineReports; } DefaultDatabaseReportConfigDao(); @Override List<Report> translateConfig(DatabaseReports castorConfig); String getReportService(String name); String getDisplayName(String name); List<Report> getReports(); List<Report> getOnlineReports(); }
DefaultDatabaseReportConfigDao extends AbstractCastorConfigDao<DatabaseReports, List<Report>> implements DatabaseReportConfigDao { public List<Report> getOnlineReports() { List<Report> onlineReports = new ArrayList<Report>(); for(Report report : getContainer().getObject()) { if (report.isOnline()) { onlineReports.add(report); } } return onlineReports; } DefaultDatabaseReportConfigDao(); @Override List<Report> translateConfig(DatabaseReports castorConfig); String getReportService(String name); String getDisplayName(String name); List<Report> getReports(); List<Report> getOnlineReports();  }