@Transactional @Deprecated public interface ReportObjectService extends OpenmrsService
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 id)
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
void setReportObjectDAO(ReportObjectDAO dao)
dao
- @Transactional(readOnly=true) java.util.List<AbstractReportObject> getAllReportObjects() throws APIException
APIException
@Transactional(readOnly=true) AbstractReportObject getReportObject(java.lang.Integer reportObjectId) throws APIException
reportObjectId
- APIException
@Transactional(readOnly=true) java.util.List<AbstractReportObject> getReportObjectsByType(java.lang.String reportObjectType) throws APIException
reportObjectType
- String representing the type of the objectAPIException
@Transactional(readOnly=true) PatientFilter getPatientFilterById(java.lang.Integer filterId) throws APIException
filterId
- APIException
@Transactional(readOnly=true) PatientFilter getPatientFilterByName(java.lang.String filterName) throws APIException
filterName
- APIException
@Transactional(readOnly=true) java.util.List<PatientFilter> getAllPatientFilters() throws APIException
APIException
java.lang.Integer createReportObject(AbstractReportObject reportObject) throws APIException
saveReportObject(AbstractReportObject)
APIException
void deleteReport(AbstractReportObject reportObject) throws APIException
purgeReportObject(AbstractReportObject)
APIException
void purgeReportObject(AbstractReportObject reportObject) throws APIException
reportObject
- APIException
void updateReportObject(AbstractReportObject reportObject) throws APIException
saveReportObject(AbstractReportObject)
APIException
AbstractReportObject saveReportObject(AbstractReportObject reportObject) throws APIException
reportObject
- APIException
@Transactional(readOnly=true) java.util.List<java.lang.String> getReportObjectTypes() throws APIException
APIException
@Transactional(readOnly=true) java.util.List<java.lang.String> getReportObjectSubTypes(java.lang.String type) throws APIException
APIException
boolean isSubTypeOfType(java.lang.String type, java.lang.String subType) throws APIException
type
- subType
- APIException
@Transactional(readOnly=true) java.lang.String getReportObjectClassBySubType(java.lang.String subType) throws APIException
APIException
@Transactional(readOnly=true) java.util.List<java.lang.String> getAllReportObjectClasses() throws APIException
APIException
@Transactional(readOnly=true) java.lang.String getReportObjectValidatorByClass(java.lang.String currentClassName) throws APIException
currentClassName
- APIException
@Transactional(readOnly=true) java.lang.String getDefaultReportObjectValidator() throws APIException
APIException
void createSearchHistory(CohortSearchHistory history) throws APIException
saveSearchHistory(CohortSearchHistory)
APIException
CohortSearchHistory saveSearchHistory(CohortSearchHistory history) throws APIException
history
- APIException
void deleteSearchHistory(CohortSearchHistory history) throws APIException
purgeSearchHistory(CohortSearchHistory)
APIException
void purgeSearchHistory(CohortSearchHistory history) throws APIException
history
- APIException
@Transactional(readOnly=true) CohortSearchHistory getSearchHistory(java.lang.Integer id) throws APIException
id
- APIException
@Transactional(readOnly=true) java.util.List<CohortSearchHistory> getSearchHistories() throws APIException
getAllSearchHistories()
APIException
@Transactional(readOnly=true) java.util.List<CohortSearchHistory> getAllSearchHistories() throws APIException
APIException
@Transactional(readOnly=true) PatientSearch getPatientSearch(java.lang.Integer searchId) throws APIException
searchId
- APIException
@Transactional(readOnly=true) java.util.List<PatientSearch> getAllPatientSearches() throws APIException
APIException
@Transactional(readOnly=true) PatientSearch getPatientSearch(java.lang.String name) throws APIException
name
- APIException
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.