@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, 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 List<AbstractReportObject> getAllReportObjects()
ReportObjectService
getAllReportObjects
in interface ReportObjectService
ReportObjectService.getAllReportObjects()
public AbstractReportObject getReportObject(Integer reportObjectId) throws APIException
ReportObjectService
getReportObject
in interface ReportObjectService
APIException
ReportObjectService.getReportObject(java.lang.Integer)
public List<AbstractReportObject> getReportObjectsByType(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(Integer searchId) throws APIException
ReportObjectService
getPatientSearch
in interface ReportObjectService
APIException
ReportObjectService.getPatientSearch(java.lang.Integer)
public List<PatientSearch> getAllPatientSearches() throws APIException
ReportObjectService
getAllPatientSearches
in interface ReportObjectService
APIException
ReportObjectService.getAllPatientSearches()
public PatientSearch getPatientSearch(String name) throws APIException
ReportObjectService
getPatientSearch
in interface ReportObjectService
APIException
ReportObjectService.getPatientSearch(java.lang.String)
public PatientFilter getPatientFilterById(Integer filterId) throws APIException
ReportObjectService
getPatientFilterById
in interface ReportObjectService
APIException
ReportObjectService.getPatientFilterById(java.lang.Integer)
public PatientFilter getPatientFilterByName(String filterName) throws APIException
ReportObjectService
getPatientFilterByName
in interface ReportObjectService
APIException
ReportObjectService.getPatientFilterByName(java.lang.String)
public List<PatientFilter> getAllPatientFilters() throws APIException
ReportObjectService
getAllPatientFilters
in interface ReportObjectService
APIException
ReportObjectService.getAllPatientFilters()
public 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 List<String> getReportObjectTypes()
ReportObjectService
getReportObjectTypes
in interface ReportObjectService
ReportObjectService.getReportObjectTypes()
public List<String> getReportObjectSubTypes(String type)
ReportObjectService
getReportObjectSubTypes
in interface ReportObjectService
ReportObjectService.getReportObjectSubTypes(java.lang.String)
public boolean isSubTypeOfType(String type, String subType)
ReportObjectService
isSubTypeOfType
in interface ReportObjectService
ReportObjectService.isSubTypeOfType(java.lang.String,
java.lang.String)
public String getReportObjectClassBySubType(String subType)
getReportObjectClassBySubType
in interface ReportObjectService
ReportObjectService.getReportObjectClassBySubType(java.lang.String)
public List<String> getAllReportObjectClasses()
ReportObjectService
getAllReportObjectClasses
in interface ReportObjectService
ReportObjectService.getAllReportObjectClasses()
public String getReportObjectValidatorByClass(String currentClassName)
ReportObjectService
getReportObjectValidatorByClass
in interface ReportObjectService
ReportObjectService.getReportObjectValidatorByClass(java.lang.String)
public 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(Integer reportObjectId)
ReportObjectService
getSearchHistory
in interface ReportObjectService
ReportObjectService.getSearchHistory(java.lang.Integer)
public List<CohortSearchHistory> getSearchHistories()
getSearchHistories
in interface ReportObjectService
ReportObjectService.getSearchHistories()
public List<CohortSearchHistory> getAllSearchHistories()
ReportObjectService
getAllSearchHistories
in interface ReportObjectService
ReportObjectService.getAllSearchHistories()
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.