@Deprecated public class ReportObjectServiceImpl extends BaseOpenmrsService implements ReportObjectService
| Constructor and Description |
|---|
ReportObjectServiceImpl()
Deprecated.
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
createReportObject(AbstractReportObject reportObject)
Deprecated.
|
void |
createSearchHistory(CohortSearchHistory history)
Deprecated.
|
void |
deleteReport(AbstractReportObject reportObject)
Deprecated.
|
void |
deleteSearchHistory(CohortSearchHistory history)
Deprecated.
|
List<PatientFilter> |
getAllPatientFilters()
Deprecated.
Auto generated method comment
|
List<PatientSearch> |
getAllPatientSearches()
Deprecated.
Get all patient searches in the database
|
List<String> |
getAllReportObjectClasses()
Deprecated.
Auto generated method comment
|
List<AbstractReportObject> |
getAllReportObjects()
Deprecated.
Get all report objects stored in the system
|
List<CohortSearchHistory> |
getAllSearchHistories()
Deprecated.
Get all search histories stored in the database
|
String |
getDefaultReportObjectValidator()
Deprecated.
Auto generated method comment
|
PatientFilter |
getPatientFilterById(Integer filterId)
Deprecated.
Auto generated method comment
|
PatientFilter |
getPatientFilterByName(String filterName)
Deprecated.
Auto generated method comment
|
PatientSearch |
getPatientSearch(Integer searchId)
Deprecated.
Get patient search object by internal id or null if none found
|
PatientSearch |
getPatientSearch(String name)
Deprecated.
Get a patient search matching the name exactly or null if none found
|
AbstractReportObject |
getReportObject(Integer reportObjectId)
Deprecated.
Get the report object by internal id
|
String |
getReportObjectClassBySubType(String subType)
Deprecated.
|
List<AbstractReportObject> |
getReportObjectsByType(String reportObjectType)
Deprecated.
Get report objects by type that was stored.
|
List<String> |
getReportObjectSubTypes(String type)
Deprecated.
Get the current list of different sub types stored in the system
|
List<String> |
getReportObjectTypes()
Deprecated.
Get the current list of different reportObjectTypes stored in the system
|
String |
getReportObjectValidatorByClass(String currentClassName)
Deprecated.
Auto generated method comment
|
List<CohortSearchHistory> |
getSearchHistories()
Deprecated.
|
CohortSearchHistory |
getSearchHistory(Integer reportObjectId)
Deprecated.
Get a CohortSearchHistory by internal id or null if none found
|
boolean |
isSubTypeOfType(String type,
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 List<AbstractReportObject> getAllReportObjects()
ReportObjectServicegetAllReportObjects in interface ReportObjectServiceReportObjectService.getAllReportObjects()public AbstractReportObject getReportObject(Integer reportObjectId) throws APIException
ReportObjectServicegetReportObject in interface ReportObjectServiceAPIExceptionReportObjectService.getReportObject(java.lang.Integer)public List<AbstractReportObject> getReportObjectsByType(String reportObjectType) throws APIException
ReportObjectServicegetReportObjectsByType in interface ReportObjectServicereportObjectType - String representing the type of the objectAPIExceptionReportObjectService.getReportObjectsByType(java.lang.String)public PatientSearch getPatientSearch(Integer searchId) throws APIException
ReportObjectServicegetPatientSearch in interface ReportObjectServiceAPIExceptionReportObjectService.getPatientSearch(java.lang.Integer)public List<PatientSearch> getAllPatientSearches() throws APIException
ReportObjectServicegetAllPatientSearches in interface ReportObjectServiceAPIExceptionReportObjectService.getAllPatientSearches()public PatientSearch getPatientSearch(String name) throws APIException
ReportObjectServicegetPatientSearch in interface ReportObjectServiceAPIExceptionReportObjectService.getPatientSearch(java.lang.String)public PatientFilter getPatientFilterById(Integer filterId) throws APIException
ReportObjectServicegetPatientFilterById in interface ReportObjectServiceAPIExceptionReportObjectService.getPatientFilterById(java.lang.Integer)public PatientFilter getPatientFilterByName(String filterName) throws APIException
ReportObjectServicegetPatientFilterByName in interface ReportObjectServiceAPIExceptionReportObjectService.getPatientFilterByName(java.lang.String)public List<PatientFilter> getAllPatientFilters() throws APIException
ReportObjectServicegetAllPatientFilters in interface ReportObjectServiceAPIExceptionReportObjectService.getAllPatientFilters()public 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 List<String> getReportObjectTypes()
ReportObjectServicegetReportObjectTypes in interface ReportObjectServiceReportObjectService.getReportObjectTypes()public List<String> getReportObjectSubTypes(String type)
ReportObjectServicegetReportObjectSubTypes in interface ReportObjectServiceReportObjectService.getReportObjectSubTypes(java.lang.String)public boolean isSubTypeOfType(String type, String subType)
ReportObjectServiceisSubTypeOfType in interface ReportObjectServiceReportObjectService.isSubTypeOfType(java.lang.String,
java.lang.String)public String getReportObjectClassBySubType(String subType)
getReportObjectClassBySubType in interface ReportObjectServiceReportObjectService.getReportObjectClassBySubType(java.lang.String)public List<String> getAllReportObjectClasses()
ReportObjectServicegetAllReportObjectClasses in interface ReportObjectServiceReportObjectService.getAllReportObjectClasses()public String getReportObjectValidatorByClass(String currentClassName)
ReportObjectServicegetReportObjectValidatorByClass in interface ReportObjectServiceReportObjectService.getReportObjectValidatorByClass(java.lang.String)public 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(Integer reportObjectId)
ReportObjectServicegetSearchHistory in interface ReportObjectServiceReportObjectService.getSearchHistory(java.lang.Integer)public List<CohortSearchHistory> getSearchHistories()
getSearchHistories in interface ReportObjectServiceReportObjectService.getSearchHistories()public List<CohortSearchHistory> getAllSearchHistories()
ReportObjectServicegetAllSearchHistories in interface ReportObjectServiceReportObjectService.getAllSearchHistories()Copyright © 2018 OpenMRS LLC.. All Rights Reserved.