public class HibernateAdministrationDAO extends Object implements AdministrationDAO
Context
,
AdministrationDAO
,
AdministrationService
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
HibernateAdministrationDAO() |
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
sessionFactory
- @Deprecated public void createReport(Report r) throws DAOException
AdministrationDAO
createReport
in interface AdministrationDAO
r
- Report to createDAOException
AdministrationService.createReport(org.openmrs.reporting.Report)
@Deprecated public void updateReport(Report r) throws DAOException
AdministrationDAO
updateReport
in interface AdministrationDAO
r
- Report to updateDAOException
AdministrationService.updateReport(org.openmrs.reporting.Report)
@Deprecated public void deleteReport(Report r) throws DAOException
AdministrationDAO
deleteReport
in interface AdministrationDAO
r
- Report to deleteDAOException
AdministrationService.deleteReport(org.openmrs.reporting.Report)
public void mrnGeneratorLog(String site, Integer start, Integer count)
mrnGeneratorLog
in interface AdministrationDAO
AdministrationService.mrnGeneratorLog(java.lang.String,java.lang.Integer,java.lang.Integer)
public Collection getMRNGeneratorLog()
getMRNGeneratorLog
in interface AdministrationDAO
AdministrationService.getMRNGeneratorLog()
@Deprecated public void createReportObject(AbstractReportObject ro) throws DAOException
AdministrationDAO
createReportObject
in interface AdministrationDAO
ro
- AbstractReportObject to createDAOException
@Deprecated public void updateReportObject(AbstractReportObject ro) throws DAOException
AdministrationDAO
updateReportObject
in interface AdministrationDAO
ro
- AbstractReportObject to updateDAOException
@Deprecated public void deleteReportObject(Integer reportObjectId) throws DAOException
AdministrationDAO
deleteReportObject
in interface AdministrationDAO
reportObjectId
- Internal identifier for report object to deleteDAOException
public String getGlobalProperty(String propertyName) throws DAOException
getGlobalProperty
in interface AdministrationDAO
DAOException
AdministrationDAO.getGlobalProperty(java.lang.String)
public GlobalProperty getGlobalPropertyObject(String propertyName)
getGlobalPropertyObject
in interface AdministrationDAO
AdministrationDAO.getGlobalPropertyObject(java.lang.String)
public GlobalProperty getGlobalPropertyByUuid(String uuid) throws DAOException
getGlobalPropertyByUuid
in interface AdministrationDAO
DAOException
public List<GlobalProperty> getAllGlobalProperties() throws DAOException
getAllGlobalProperties
in interface AdministrationDAO
DAOException
AdministrationDAO.getAllGlobalProperties()
public List<GlobalProperty> getGlobalPropertiesByPrefix(String prefix)
getGlobalPropertiesByPrefix
in interface AdministrationDAO
AdministrationDAO.getGlobalPropertiesByPrefix(java.lang.String)
public List<GlobalProperty> getGlobalPropertiesBySuffix(String suffix)
getGlobalPropertiesBySuffix
in interface AdministrationDAO
AdministrationDAO.getGlobalPropertiesBySuffix(java.lang.String)
public void deleteGlobalProperty(GlobalProperty property) throws DAOException
deleteGlobalProperty
in interface AdministrationDAO
DAOException
AdministrationDAO.deleteGlobalProperty(GlobalProperty)
public GlobalProperty saveGlobalProperty(GlobalProperty gp) throws DAOException
saveGlobalProperty
in interface AdministrationDAO
DAOException
AdministrationDAO.saveGlobalProperty(org.openmrs.GlobalProperty)
public List<List<Object>> executeSQL(String sql, boolean selectOnly) throws DAOException
executeSQL
in interface AdministrationDAO
DAOException
AdministrationDAO.executeSQL(java.lang.String, boolean)
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.