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