@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, onStartup
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onShutdown, onStartup
public ReportObjectServiceImpl()
public void setReportObjectDAO(ReportObjectDAO dao)
ReportObjectService
setReportObjectDAO
in interface ReportObjectService
ReportObjectService.setReportObjectDAO(org.openmrs.reporting.db.ReportObjectDAO)
public java.util.List<AbstractReportObject> getAllReportObjects()
ReportObjectService
getAllReportObjects
in interface ReportObjectService
ReportObjectService.getAllReportObjects()
public AbstractReportObject getReportObject(java.lang.Integer reportObjectId) throws APIException
ReportObjectService
getReportObject
in interface ReportObjectService
APIException
ReportObjectService.getReportObject(java.lang.Integer)
public java.util.List<AbstractReportObject> getReportObjectsByType(java.lang.String reportObjectType) throws APIException
ReportObjectService
getReportObjectsByType
in interface ReportObjectService
reportObjectType
- String representing the type of the objectAPIException
ReportObjectService.getReportObjectsByType(java.lang.String)
public PatientSearch getPatientSearch(java.lang.Integer searchId) throws APIException
ReportObjectService
getPatientSearch
in interface ReportObjectService
APIException
ReportObjectService.getPatientSearch(java.lang.Integer)
public java.util.List<PatientSearch> getAllPatientSearches() throws APIException
ReportObjectService
getAllPatientSearches
in interface ReportObjectService
APIException
ReportObjectService.getAllPatientSearches()
public PatientSearch getPatientSearch(java.lang.String name) throws APIException
ReportObjectService
getPatientSearch
in interface ReportObjectService
APIException
ReportObjectService.getPatientSearch(java.lang.String)
public PatientFilter getPatientFilterById(java.lang.Integer filterId) throws APIException
ReportObjectService
getPatientFilterById
in interface ReportObjectService
APIException
ReportObjectService.getPatientFilterById(java.lang.Integer)
public PatientFilter getPatientFilterByName(java.lang.String filterName) throws APIException
ReportObjectService
getPatientFilterByName
in interface ReportObjectService
APIException
ReportObjectService.getPatientFilterByName(java.lang.String)
public java.util.List<PatientFilter> getAllPatientFilters() throws APIException
ReportObjectService
getAllPatientFilters
in interface ReportObjectService
APIException
ReportObjectService.getAllPatientFilters()
public java.lang.Integer createReportObject(AbstractReportObject reportObject) throws APIException
createReportObject
in interface ReportObjectService
APIException
ReportObjectService.createReportObject(org.openmrs.reporting.AbstractReportObject)
public AbstractReportObject saveReportObject(AbstractReportObject reportObject) throws APIException
ReportObjectService
saveReportObject
in interface ReportObjectService
APIException
ReportObjectService.saveReportObject(org.openmrs.reporting.AbstractReportObject)
public void deleteReport(AbstractReportObject reportObject) throws APIException
deleteReport
in interface ReportObjectService
APIException
ReportObjectService.deleteReport(org.openmrs.reporting.AbstractReportObject)
public void purgeReportObject(AbstractReportObject reportObject) throws APIException
ReportObjectService
purgeReportObject
in interface ReportObjectService
APIException
ReportObjectService.purgeReportObject(org.openmrs.reporting.AbstractReportObject)
public void updateReportObject(AbstractReportObject reportObject) throws APIException
updateReportObject
in interface ReportObjectService
APIException
ReportObjectService.updateReportObject(org.openmrs.reporting.AbstractReportObject)
public java.util.List<java.lang.String> getReportObjectTypes()
ReportObjectService
getReportObjectTypes
in interface ReportObjectService
ReportObjectService.getReportObjectTypes()
public java.util.List<java.lang.String> getReportObjectSubTypes(java.lang.String type)
ReportObjectService
getReportObjectSubTypes
in interface ReportObjectService
ReportObjectService.getReportObjectSubTypes(java.lang.String)
public boolean isSubTypeOfType(java.lang.String type, java.lang.String subType)
ReportObjectService
isSubTypeOfType
in interface ReportObjectService
ReportObjectService.isSubTypeOfType(java.lang.String,
java.lang.String)
public java.lang.String getReportObjectClassBySubType(java.lang.String subType)
getReportObjectClassBySubType
in interface ReportObjectService
ReportObjectService.getReportObjectClassBySubType(java.lang.String)
public java.util.List<java.lang.String> getAllReportObjectClasses()
ReportObjectService
getAllReportObjectClasses
in interface ReportObjectService
ReportObjectService.getAllReportObjectClasses()
public java.lang.String getReportObjectValidatorByClass(java.lang.String currentClassName)
ReportObjectService
getReportObjectValidatorByClass
in interface ReportObjectService
ReportObjectService.getReportObjectValidatorByClass(java.lang.String)
public java.lang.String getDefaultReportObjectValidator()
ReportObjectService
getDefaultReportObjectValidator
in interface ReportObjectService
ReportObjectService.getDefaultReportObjectValidator()
public void createSearchHistory(CohortSearchHistory history)
createSearchHistory
in interface ReportObjectService
ReportObjectService.createSearchHistory(org.openmrs.cohort.CohortSearchHistory)
public CohortSearchHistory saveSearchHistory(CohortSearchHistory history)
ReportObjectService
saveSearchHistory
in interface ReportObjectService
ReportObjectService.saveSearchHistory(org.openmrs.cohort.CohortSearchHistory)
public void deleteSearchHistory(CohortSearchHistory history)
deleteSearchHistory
in interface ReportObjectService
ReportObjectService.deleteSearchHistory(org.openmrs.cohort.CohortSearchHistory)
public void purgeSearchHistory(CohortSearchHistory history)
ReportObjectService
purgeSearchHistory
in interface ReportObjectService
ReportObjectService.purgeSearchHistory(org.openmrs.cohort.CohortSearchHistory)
public CohortSearchHistory getSearchHistory(java.lang.Integer reportObjectId)
ReportObjectService
getSearchHistory
in interface ReportObjectService
ReportObjectService.getSearchHistory(java.lang.Integer)
public java.util.List<CohortSearchHistory> getSearchHistories()
getSearchHistories
in interface ReportObjectService
ReportObjectService.getSearchHistories()
public java.util.List<CohortSearchHistory> getAllSearchHistories()
ReportObjectService
getAllSearchHistories
in interface ReportObjectService
ReportObjectService.getAllSearchHistories()
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.