@Test public void getAllOnlineReportsTest() { assertEquals("Test size of online reports", 2, m_globalReportRepository.getAllOnlineReports().size()); }
@Override public List<BasicReportDefinition> getAllOnlineReports() { List<BasicReportDefinition> results = new ArrayList<BasicReportDefinition>(); for (ReportRepository repository : m_repositoryList) { results.addAll(repository.getOnlineReports()); } logger.debug("getAllOnlineReports was called result: '{}'", results); return results; }
DefaultGlobalReportRepository implements GlobalReportRepository { @Override public List<BasicReportDefinition> getAllOnlineReports() { List<BasicReportDefinition> results = new ArrayList<BasicReportDefinition>(); for (ReportRepository repository : m_repositoryList) { results.addAll(repository.getOnlineReports()); } logger.debug("getAllOnlineReports was called result: '{}'", results); return results; } }
DefaultGlobalReportRepository implements GlobalReportRepository { @Override public List<BasicReportDefinition> getAllOnlineReports() { List<BasicReportDefinition> results = new ArrayList<BasicReportDefinition>(); for (ReportRepository repository : m_repositoryList) { results.addAll(repository.getOnlineReports()); } logger.debug("getAllOnlineReports was called result: '{}'", results); return results; } DefaultGlobalReportRepository(RemoteRepositoryConfigDao remoteRepositoryConfigDao, ReportRepository localReportRepository); }
DefaultGlobalReportRepository implements GlobalReportRepository { @Override public List<BasicReportDefinition> getAllOnlineReports() { List<BasicReportDefinition> results = new ArrayList<BasicReportDefinition>(); for (ReportRepository repository : m_repositoryList) { results.addAll(repository.getOnlineReports()); } logger.debug("getAllOnlineReports was called result: '{}'", results); return results; } DefaultGlobalReportRepository(RemoteRepositoryConfigDao remoteRepositoryConfigDao, ReportRepository localReportRepository); @Override List<BasicReportDefinition> getAllReports(); @Override List<BasicReportDefinition> getReports(String repositoryId); @Override List<BasicReportDefinition> getAllOnlineReports(); @Override List<BasicReportDefinition> getOnlineReports(String repositoryId); @Override String getReportService(String reportId); @Override String getDisplayName(String reportId); @Override String getEngine(String reportId); @Override InputStream getTemplateStream(String reportId); @Override List<ReportRepository> getRepositoryList(); @Override void addReportRepository(ReportRepository repository); @Override ReportRepository getRepositoryById(String repositoryId); void setLocalReportRepository(ReportRepository reportRepository); ReportRepository getReportRepository(); void setRemoteRepositoryConfigDao(RemoteRepositoryConfigDao remoteRepositoryConfigDao); RemoteRepositoryConfigDao getRemoteRepositoryConfigDao(); @Override void reloadConfigurationFiles(); }
DefaultGlobalReportRepository implements GlobalReportRepository { @Override public List<BasicReportDefinition> getAllOnlineReports() { List<BasicReportDefinition> results = new ArrayList<BasicReportDefinition>(); for (ReportRepository repository : m_repositoryList) { results.addAll(repository.getOnlineReports()); } logger.debug("getAllOnlineReports was called result: '{}'", results); return results; } DefaultGlobalReportRepository(RemoteRepositoryConfigDao remoteRepositoryConfigDao, ReportRepository localReportRepository); @Override List<BasicReportDefinition> getAllReports(); @Override List<BasicReportDefinition> getReports(String repositoryId); @Override List<BasicReportDefinition> getAllOnlineReports(); @Override List<BasicReportDefinition> getOnlineReports(String repositoryId); @Override String getReportService(String reportId); @Override String getDisplayName(String reportId); @Override String getEngine(String reportId); @Override InputStream getTemplateStream(String reportId); @Override List<ReportRepository> getRepositoryList(); @Override void addReportRepository(ReportRepository repository); @Override ReportRepository getRepositoryById(String repositoryId); void setLocalReportRepository(ReportRepository reportRepository); ReportRepository getReportRepository(); void setRemoteRepositoryConfigDao(RemoteRepositoryConfigDao remoteRepositoryConfigDao); RemoteRepositoryConfigDao getRemoteRepositoryConfigDao(); @Override void reloadConfigurationFiles();  }