@Deprecated public class ReportObjectServiceImpl extends BaseOpenmrsService implements ReportObjectService
| Constructor and Description | 
|---|
ReportObjectServiceImpl()
Deprecated.  
Default constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Integer | 
createReportObject(AbstractReportObject reportObject)
Deprecated.   
 | 
void | 
createSearchHistory(CohortSearchHistory history)
Deprecated.   
 | 
void | 
deleteReport(AbstractReportObject reportObject)
Deprecated.   
 | 
void | 
deleteSearchHistory(CohortSearchHistory history)
Deprecated.   
 | 
java.util.List<PatientFilter> | 
getAllPatientFilters()
Deprecated.  
Auto generated method comment 
 | 
java.util.List<PatientSearch> | 
getAllPatientSearches()
Deprecated.  
Get all patient searches in the database 
 | 
java.util.List<java.lang.String> | 
getAllReportObjectClasses()
Deprecated.  
Auto generated method comment 
 | 
java.util.List<AbstractReportObject> | 
getAllReportObjects()
Deprecated.  
Get all report objects stored in the system 
 | 
java.util.List<CohortSearchHistory> | 
getAllSearchHistories()
Deprecated.  
Get all search histories stored in the database 
 | 
java.lang.String | 
getDefaultReportObjectValidator()
Deprecated.  
Auto generated method comment 
 | 
PatientFilter | 
getPatientFilterById(java.lang.Integer filterId)
Deprecated.  
Auto generated method comment 
 | 
PatientFilter | 
getPatientFilterByName(java.lang.String filterName)
Deprecated.  
Auto generated method comment 
 | 
PatientSearch | 
getPatientSearch(java.lang.Integer searchId)
Deprecated.  
Get patient search object by internal id or null if none found 
 | 
PatientSearch | 
getPatientSearch(java.lang.String name)
Deprecated.  
Get a patient search matching the name exactly or null if none found 
 | 
AbstractReportObject | 
getReportObject(java.lang.Integer reportObjectId)
Deprecated.  
Get the report object by internal id 
 | 
java.lang.String | 
getReportObjectClassBySubType(java.lang.String subType)
Deprecated.  
  | 
java.util.List<AbstractReportObject> | 
getReportObjectsByType(java.lang.String reportObjectType)
Deprecated.  
Get report objects by type that was stored. 
 | 
java.util.List<java.lang.String> | 
getReportObjectSubTypes(java.lang.String type)
Deprecated.  
Get the current list of different sub types stored in the system 
 | 
java.util.List<java.lang.String> | 
getReportObjectTypes()
Deprecated.  
Get the current list of different reportObjectTypes stored in the system 
 | 
java.lang.String | 
getReportObjectValidatorByClass(java.lang.String currentClassName)
Deprecated.  
Auto generated method comment 
 | 
java.util.List<CohortSearchHistory> | 
getSearchHistories()
Deprecated.   
 | 
CohortSearchHistory | 
getSearchHistory(java.lang.Integer reportObjectId)
Deprecated.  
Get a CohortSearchHistory by internal id or null if none found 
 | 
boolean | 
isSubTypeOfType(java.lang.String type,
               java.lang.String subType)
Deprecated.  
Auto generated method comment 
 | 
void | 
purgeReportObject(AbstractReportObject reportObject)
Deprecated.  
Completely delete the given reportObject from the database 
 | 
void | 
purgeSearchHistory(CohortSearchHistory history)
Deprecated.  
Completely delete this method from the database 
 | 
AbstractReportObject | 
saveReportObject(AbstractReportObject reportObject)
Deprecated.  
Save the given report object to the database 
 | 
CohortSearchHistory | 
saveSearchHistory(CohortSearchHistory history)
Deprecated.  
TODO: why is this method in this service? 
 | 
void | 
setReportObjectDAO(ReportObjectDAO dao)
Deprecated.  
Used by spring to set the data access class to use 
 | 
void | 
updateReportObject(AbstractReportObject reportObject)
Deprecated.   
 | 
onShutdown, onStartupclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonShutdown, onStartuppublic ReportObjectServiceImpl()
public void setReportObjectDAO(ReportObjectDAO dao)
ReportObjectServicesetReportObjectDAO in interface ReportObjectServiceReportObjectService.setReportObjectDAO(org.openmrs.reporting.db.ReportObjectDAO)public java.util.List<AbstractReportObject> getAllReportObjects()
ReportObjectServicegetAllReportObjects in interface ReportObjectServiceReportObjectService.getAllReportObjects()public AbstractReportObject getReportObject(java.lang.Integer reportObjectId) throws APIException
ReportObjectServicegetReportObject in interface ReportObjectServiceAPIExceptionReportObjectService.getReportObject(java.lang.Integer)public java.util.List<AbstractReportObject> getReportObjectsByType(java.lang.String reportObjectType) throws APIException
ReportObjectServicegetReportObjectsByType in interface ReportObjectServicereportObjectType - String representing the type of the objectAPIExceptionReportObjectService.getReportObjectsByType(java.lang.String)public PatientSearch getPatientSearch(java.lang.Integer searchId) throws APIException
ReportObjectServicegetPatientSearch in interface ReportObjectServiceAPIExceptionReportObjectService.getPatientSearch(java.lang.Integer)public java.util.List<PatientSearch> getAllPatientSearches() throws APIException
ReportObjectServicegetAllPatientSearches in interface ReportObjectServiceAPIExceptionReportObjectService.getAllPatientSearches()public PatientSearch getPatientSearch(java.lang.String name) throws APIException
ReportObjectServicegetPatientSearch in interface ReportObjectServiceAPIExceptionReportObjectService.getPatientSearch(java.lang.String)public PatientFilter getPatientFilterById(java.lang.Integer filterId) throws APIException
ReportObjectServicegetPatientFilterById in interface ReportObjectServiceAPIExceptionReportObjectService.getPatientFilterById(java.lang.Integer)public PatientFilter getPatientFilterByName(java.lang.String filterName) throws APIException
ReportObjectServicegetPatientFilterByName in interface ReportObjectServiceAPIExceptionReportObjectService.getPatientFilterByName(java.lang.String)public java.util.List<PatientFilter> getAllPatientFilters() throws APIException
ReportObjectServicegetAllPatientFilters in interface ReportObjectServiceAPIExceptionReportObjectService.getAllPatientFilters()public java.lang.Integer createReportObject(AbstractReportObject reportObject) throws APIException
createReportObject in interface ReportObjectServiceAPIExceptionReportObjectService.createReportObject(org.openmrs.reporting.AbstractReportObject)public AbstractReportObject saveReportObject(AbstractReportObject reportObject) throws APIException
ReportObjectServicesaveReportObject in interface ReportObjectServiceAPIExceptionReportObjectService.saveReportObject(org.openmrs.reporting.AbstractReportObject)public void deleteReport(AbstractReportObject reportObject) throws APIException
deleteReport in interface ReportObjectServiceAPIExceptionReportObjectService.deleteReport(org.openmrs.reporting.AbstractReportObject)public void purgeReportObject(AbstractReportObject reportObject) throws APIException
ReportObjectServicepurgeReportObject in interface ReportObjectServiceAPIExceptionReportObjectService.purgeReportObject(org.openmrs.reporting.AbstractReportObject)public void updateReportObject(AbstractReportObject reportObject) throws APIException
updateReportObject in interface ReportObjectServiceAPIExceptionReportObjectService.updateReportObject(org.openmrs.reporting.AbstractReportObject)public java.util.List<java.lang.String> getReportObjectTypes()
ReportObjectServicegetReportObjectTypes in interface ReportObjectServiceReportObjectService.getReportObjectTypes()public java.util.List<java.lang.String> getReportObjectSubTypes(java.lang.String type)
ReportObjectServicegetReportObjectSubTypes in interface ReportObjectServiceReportObjectService.getReportObjectSubTypes(java.lang.String)public boolean isSubTypeOfType(java.lang.String type,
                               java.lang.String subType)
ReportObjectServiceisSubTypeOfType in interface ReportObjectServiceReportObjectService.isSubTypeOfType(java.lang.String,
      java.lang.String)public java.lang.String getReportObjectClassBySubType(java.lang.String subType)
getReportObjectClassBySubType in interface ReportObjectServiceReportObjectService.getReportObjectClassBySubType(java.lang.String)public java.util.List<java.lang.String> getAllReportObjectClasses()
ReportObjectServicegetAllReportObjectClasses in interface ReportObjectServiceReportObjectService.getAllReportObjectClasses()public java.lang.String getReportObjectValidatorByClass(java.lang.String currentClassName)
ReportObjectServicegetReportObjectValidatorByClass in interface ReportObjectServiceReportObjectService.getReportObjectValidatorByClass(java.lang.String)public java.lang.String getDefaultReportObjectValidator()
ReportObjectServicegetDefaultReportObjectValidator in interface ReportObjectServiceReportObjectService.getDefaultReportObjectValidator()public void createSearchHistory(CohortSearchHistory history)
createSearchHistory in interface ReportObjectServiceReportObjectService.createSearchHistory(org.openmrs.cohort.CohortSearchHistory)public CohortSearchHistory saveSearchHistory(CohortSearchHistory history)
ReportObjectServicesaveSearchHistory in interface ReportObjectServiceReportObjectService.saveSearchHistory(org.openmrs.cohort.CohortSearchHistory)public void deleteSearchHistory(CohortSearchHistory history)
deleteSearchHistory in interface ReportObjectServiceReportObjectService.deleteSearchHistory(org.openmrs.cohort.CohortSearchHistory)public void purgeSearchHistory(CohortSearchHistory history)
ReportObjectServicepurgeSearchHistory in interface ReportObjectServiceReportObjectService.purgeSearchHistory(org.openmrs.cohort.CohortSearchHistory)public CohortSearchHistory getSearchHistory(java.lang.Integer reportObjectId)
ReportObjectServicegetSearchHistory in interface ReportObjectServiceReportObjectService.getSearchHistory(java.lang.Integer)public java.util.List<CohortSearchHistory> getSearchHistories()
getSearchHistories in interface ReportObjectServiceReportObjectService.getSearchHistories()public java.util.List<CohortSearchHistory> getAllSearchHistories()
ReportObjectServicegetAllSearchHistories in interface ReportObjectServiceReportObjectService.getAllSearchHistories()Copyright © 2018 OpenMRS Inc.. All Rights Reserved.