@Test public void testReportRepositoryId() throws Exception { assertNull("First report repository id test", m_legacyLocalReportsDao.getReports().get(0).getRepositoryId()); assertNull("Second report repository id test", m_legacyLocalReportsDao.getReports().get(1).getRepositoryId()); assertNull("Third report repository id test", m_legacyLocalReportsDao.getReports().get(2).getRepositoryId()); }
@Override public List<BasicReportDefinition> getReports() { ArrayList<BasicReportDefinition> resultList = new ArrayList<BasicReportDefinition>(); for (BasicReportDefinition report : m_legacyLocalReportsDefinition.getReportList()) { resultList.add(report); } return resultList; }
LegacyLocalReportsDao implements LocalReportsDao { @Override public List<BasicReportDefinition> getReports() { ArrayList<BasicReportDefinition> resultList = new ArrayList<BasicReportDefinition>(); for (BasicReportDefinition report : m_legacyLocalReportsDefinition.getReportList()) { resultList.add(report); } return resultList; } }
LegacyLocalReportsDao implements LocalReportsDao { @Override public List<BasicReportDefinition> getReports() { ArrayList<BasicReportDefinition> resultList = new ArrayList<BasicReportDefinition>(); for (BasicReportDefinition report : m_legacyLocalReportsDefinition.getReportList()) { resultList.add(report); } return resultList; } LegacyLocalReportsDao(Resource configResource); }
LegacyLocalReportsDao implements LocalReportsDao { @Override public List<BasicReportDefinition> getReports() { ArrayList<BasicReportDefinition> resultList = new ArrayList<BasicReportDefinition>(); for (BasicReportDefinition report : m_legacyLocalReportsDefinition.getReportList()) { resultList.add(report); } return resultList; } LegacyLocalReportsDao(Resource configResource); @Override void loadConfiguration(); @Override void setConfigResource(Resource configResource); @Override Resource getConfigResource(); @Override List<BasicReportDefinition> getReports(); @Override List<BasicReportDefinition> getOnlineReports(); @Override String getReportService(String id); @Override String getDisplayName(String id); void setLegacyLocalReportsDefinition(LegacyLocalReportsDefinition legacyLocalReportsDefinition); LegacyLocalReportsDefinition getLegacyLocalReportsDefinition(); }
LegacyLocalReportsDao implements LocalReportsDao { @Override public List<BasicReportDefinition> getReports() { ArrayList<BasicReportDefinition> resultList = new ArrayList<BasicReportDefinition>(); for (BasicReportDefinition report : m_legacyLocalReportsDefinition.getReportList()) { resultList.add(report); } return resultList; } LegacyLocalReportsDao(Resource configResource); @Override void loadConfiguration(); @Override void setConfigResource(Resource configResource); @Override Resource getConfigResource(); @Override List<BasicReportDefinition> getReports(); @Override List<BasicReportDefinition> getOnlineReports(); @Override String getReportService(String id); @Override String getDisplayName(String id); void setLegacyLocalReportsDefinition(LegacyLocalReportsDefinition legacyLocalReportsDefinition); LegacyLocalReportsDefinition getLegacyLocalReportsDefinition();  }