- Timestamp:
- 05/09/08 10:53:35 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openmrs/trunk/src/api/org/openmrs/api/context/ServiceContext.java
r4095 r4158 25 25 import org.openmrs.api.CohortService; 26 26 import org.openmrs.api.ConceptService; 27 import org.openmrs.api.DataSetService; 27 28 import org.openmrs.api.EncounterService; 28 29 import org.openmrs.api.FormService; … … 33 34 import org.openmrs.api.PersonService; 34 35 import org.openmrs.api.ProgramWorkflowService; 36 import org.openmrs.api.ReportService; 35 37 import org.openmrs.api.UserService; 36 38 import org.openmrs.arden.ArdenService; … … 39 41 import org.openmrs.notification.AlertService; 40 42 import org.openmrs.notification.MessageService; 41 import org.openmrs.reporting.Report Service;43 import org.openmrs.reporting.ReportObjectService; 42 44 import org.openmrs.scheduler.SchedulerService; 43 45 import org.openmrs.util.OpenmrsClassLoader; … … 183 185 184 186 /** 187 * @return report object service 188 */ 189 public ReportObjectService getReportObjectService() { 190 return (ReportObjectService)getService(ReportObjectService.class); 191 } 192 193 /** 185 194 * @return report service 186 195 */ 187 196 public ReportService getReportService() { 188 return (ReportService) getService(ReportService.class);197 return (ReportService) getService(ReportService.class); 189 198 } 190 199 … … 344 353 345 354 /** 346 * @param reportService the reportService to set 355 * @param reportObjectService the reportObjectService to set 356 */ 357 public void setReportObjectService(ReportObjectService reportObjectService) { 358 setService(ReportObjectService.class, reportObjectService); 359 } 360 361 /** 362 * @param reportService 347 363 */ 348 364 public void setReportService(ReportService reportService) { 349 365 setService(ReportService.class, reportService); 366 } 367 368 /** 369 * @param dataSetService 370 */ 371 public void setDataSetService(DataSetService dataSetService) { 372 setService(DataSetService.class, dataSetService); 373 } 374 375 /** 376 * @return 377 */ 378 public DataSetService getDataSetService() { 379 return (DataSetService) getService(DataSetService.class); 350 380 } 351 381