=== modified file 'dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/reporttable/impl/DefaultReportTableService.java' --- dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/reporttable/impl/DefaultReportTableService.java 2016-02-28 12:29:01 +0000 +++ dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/reporttable/impl/DefaultReportTableService.java 2016-03-08 15:34:53 +0000 @@ -37,11 +37,12 @@ import org.hisp.dhis.common.AnalyticalObjectStore; import org.hisp.dhis.common.DisplayProperty; import org.hisp.dhis.common.GenericAnalyticalObjectService; +import org.hisp.dhis.common.GenericIdentifiableObjectStore; import org.hisp.dhis.common.Grid; import org.hisp.dhis.i18n.I18nFormat; import org.hisp.dhis.organisationunit.OrganisationUnit; import org.hisp.dhis.organisationunit.OrganisationUnitService; -import org.hisp.dhis.report.ReportService; +import org.hisp.dhis.report.Report; import org.hisp.dhis.reporttable.ReportTable; import org.hisp.dhis.reporttable.ReportTableService; import org.hisp.dhis.system.grid.ListGrid; @@ -74,11 +75,11 @@ this.reportTableStore = reportTableStore; } - private ReportService reportService; + private GenericIdentifiableObjectStore reportStore; - public void setReportService( ReportService reportService ) + public void setReportStore( GenericIdentifiableObjectStore reportStore ) { - this.reportService = reportService; + this.reportStore = reportStore; } private OrganisationUnitService organisationUnitService; @@ -141,7 +142,7 @@ } else if ( mode.equals( MODE_REPORT ) ) { - return reportService.getReport( uid ).getReportTable(); + return reportStore.getByUid( uid ).getReportTable(); } return null; === modified file 'dhis-2/dhis-services/dhis-service-reporting/src/main/resources/META-INF/dhis/beans.xml' --- dhis-2/dhis-services/dhis-service-reporting/src/main/resources/META-INF/dhis/beans.xml 2016-03-07 18:04:27 +0000 +++ dhis-2/dhis-services/dhis-service-reporting/src/main/resources/META-INF/dhis/beans.xml 2016-03-08 15:34:53 +0000 @@ -15,7 +15,7 @@ - +