Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register
Show
Ignore:
Timestamp:
05/09/08 10:53:35 (2 months ago)
Author:
bwolfe
Message:

Merging report-api-refactoring to trunk [2696]:[4157]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs/trunk/src/api/org/openmrs/api/context/Context.java

    r4095 r4158  
    3434import org.openmrs.api.CohortService; 
    3535import org.openmrs.api.ConceptService; 
     36import org.openmrs.api.DataSetService; 
    3637import org.openmrs.api.EncounterService; 
    3738import org.openmrs.api.FormService; 
     
    4243import org.openmrs.api.PersonService; 
    4344import org.openmrs.api.ProgramWorkflowService; 
     45import org.openmrs.api.ReportService; 
    4446import org.openmrs.api.UserService; 
    4547import org.openmrs.api.db.ContextDAO; 
     
    5557import org.openmrs.notification.mail.MailMessageSender; 
    5658import org.openmrs.notification.mail.velocity.VelocityMessagePreparator; 
    57 import org.openmrs.reporting.ReportService; 
     59import org.openmrs.reporting.ReportObjectService; 
    5860import org.openmrs.scheduler.SchedulerService; 
    5961import org.openmrs.scheduler.SchedulerUtil; 
     
    316318                return getServiceContext().getFormService(); 
    317319        } 
    318  
     320         
    319321        /** 
    320322         * @return report service 
     
    322324        public static ReportService getReportService() { 
    323325                return getServiceContext().getReportService(); 
     326        } 
     327 
     328        /** 
     329         * @return report object service 
     330         */ 
     331        public static ReportObjectService getReportObjectService() { 
     332                return getServiceContext().getReportObjectService(); 
     333        } 
     334         
     335        /** 
     336         * @return dataset service 
     337         */ 
     338        public static DataSetService getDataSetService() { 
     339                return getServiceContext().getDataSetService(); 
    324340        } 
    325341