@Ignore @Test public void getRepositoryByIdTest() { }
@Override public ReportRepository getRepositoryById(String repositoryId) { for (ReportRepository repository : m_repositoryList) { if (repositoryId.equals(repository.getRepositoryId())) { logger.debug("getRepositoryById was called for: '{}' result: '{}'", repositoryId, repository); return repository; } } logger.debug("getRepositoryById was called for: '{}' result: '{}'", repositoryId, null); return null; }
DefaultGlobalReportRepository implements GlobalReportRepository { @Override public ReportRepository getRepositoryById(String repositoryId) { for (ReportRepository repository : m_repositoryList) { if (repositoryId.equals(repository.getRepositoryId())) { logger.debug("getRepositoryById was called for: '{}' result: '{}'", repositoryId, repository); return repository; } } logger.debug("getRepositoryById was called for: '{}' result: '{}'", repositoryId, null); return null; } }
DefaultGlobalReportRepository implements GlobalReportRepository { @Override public ReportRepository getRepositoryById(String repositoryId) { for (ReportRepository repository : m_repositoryList) { if (repositoryId.equals(repository.getRepositoryId())) { logger.debug("getRepositoryById was called for: '{}' result: '{}'", repositoryId, repository); return repository; } } logger.debug("getRepositoryById was called for: '{}' result: '{}'", repositoryId, null); return null; } DefaultGlobalReportRepository(RemoteRepositoryConfigDao remoteRepositoryConfigDao, ReportRepository localReportRepository); }
DefaultGlobalReportRepository implements GlobalReportRepository { @Override public ReportRepository getRepositoryById(String repositoryId) { for (ReportRepository repository : m_repositoryList) { if (repositoryId.equals(repository.getRepositoryId())) { logger.debug("getRepositoryById was called for: '{}' result: '{}'", repositoryId, repository); return repository; } } logger.debug("getRepositoryById was called for: '{}' result: '{}'", repositoryId, null); return null; } 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 ReportRepository getRepositoryById(String repositoryId) { for (ReportRepository repository : m_repositoryList) { if (repositoryId.equals(repository.getRepositoryId())) { logger.debug("getRepositoryById was called for: '{}' result: '{}'", repositoryId, repository); return repository; } } logger.debug("getRepositoryById was called for: '{}' result: '{}'", repositoryId, null); return null; } 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();  }