|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.api.db.hibernate.HibernateAdministrationDAO
public class HibernateAdministrationDAO
Hibernate specific database methods for the AdministrationService
Context
,
AdministrationDAO
,
AdministrationService
Field Summary | |
---|---|
protected org.apache.commons.logging.Log |
log
|
Constructor Summary | |
---|---|
HibernateAdministrationDAO()
|
Method Summary | |
---|---|
void |
createReport(Report r)
Deprecated. see reportingcompatibility module |
void |
createReportObject(AbstractReportObject ro)
Deprecated. see reportingcompatibility module |
void |
deleteGlobalProperty(GlobalProperty property)
|
void |
deleteReport(Report r)
Deprecated. see reportingcompatibility module |
void |
deleteReportObject(java.lang.Integer reportObjectId)
Deprecated. see reportingcompatibility module |
java.util.List<java.util.List<java.lang.Object>> |
executeSQL(java.lang.String sql,
boolean selectOnly)
|
java.util.List<GlobalProperty> |
getAllGlobalProperties()
|
java.util.List<GlobalProperty> |
getGlobalPropertiesByPrefix(java.lang.String prefix)
|
java.util.List<GlobalProperty> |
getGlobalPropertiesBySuffix(java.lang.String suffix)
|
java.lang.String |
getGlobalProperty(java.lang.String propertyName)
|
GlobalProperty |
getGlobalPropertyByUuid(java.lang.String uuid)
|
GlobalProperty |
getGlobalPropertyObject(java.lang.String propertyName)
|
java.util.Collection |
getMRNGeneratorLog()
|
void |
mrnGeneratorLog(java.lang.String site,
java.lang.Integer start,
java.lang.Integer count)
|
GlobalProperty |
saveGlobalProperty(GlobalProperty gp)
|
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory)
Set session factory |
void |
updateReport(Report r)
Deprecated. see reportingcompatibility module |
void |
updateReportObject(AbstractReportObject ro)
Deprecated. see reportingcompatibility module |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.apache.commons.logging.Log log
Constructor Detail |
---|
public HibernateAdministrationDAO()
Method Detail |
---|
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
sessionFactory
- @Deprecated public void createReport(Report r) throws DAOException
AdministrationDAO
createReport
in interface AdministrationDAO
r
- Report to create
DAOException
AdministrationService.createReport(org.openmrs.reporting.Report)
@Deprecated public void updateReport(Report r) throws DAOException
AdministrationDAO
updateReport
in interface AdministrationDAO
r
- Report to update
DAOException
AdministrationService.updateReport(org.openmrs.reporting.Report)
@Deprecated public void deleteReport(Report r) throws DAOException
AdministrationDAO
deleteReport
in interface AdministrationDAO
r
- Report to delete
DAOException
AdministrationService.deleteReport(org.openmrs.reporting.Report)
public void mrnGeneratorLog(java.lang.String site, java.lang.Integer start, java.lang.Integer count)
mrnGeneratorLog
in interface AdministrationDAO
AdministrationService.mrnGeneratorLog(java.lang.String,java.lang.Integer,java.lang.Integer)
public java.util.Collection getMRNGeneratorLog()
getMRNGeneratorLog
in interface AdministrationDAO
AdministrationService.getMRNGeneratorLog()
@Deprecated public void createReportObject(AbstractReportObject ro) throws DAOException
AdministrationDAO
createReportObject
in interface AdministrationDAO
ro
- AbstractReportObject to create
DAOException
@Deprecated public void updateReportObject(AbstractReportObject ro) throws DAOException
AdministrationDAO
updateReportObject
in interface AdministrationDAO
ro
- AbstractReportObject to update
DAOException
@Deprecated public void deleteReportObject(java.lang.Integer reportObjectId) throws DAOException
AdministrationDAO
deleteReportObject
in interface AdministrationDAO
reportObjectId
- Internal identifier for report object to delete
DAOException
public java.lang.String getGlobalProperty(java.lang.String propertyName) throws DAOException
getGlobalProperty
in interface AdministrationDAO
DAOException
AdministrationDAO.getGlobalProperty(java.lang.String)
public GlobalProperty getGlobalPropertyObject(java.lang.String propertyName)
getGlobalPropertyObject
in interface AdministrationDAO
AdministrationDAO.getGlobalPropertyObject(java.lang.String)
public GlobalProperty getGlobalPropertyByUuid(java.lang.String uuid) throws DAOException
getGlobalPropertyByUuid
in interface AdministrationDAO
DAOException
public java.util.List<GlobalProperty> getAllGlobalProperties() throws DAOException
getAllGlobalProperties
in interface AdministrationDAO
DAOException
AdministrationDAO.getAllGlobalProperties()
public java.util.List<GlobalProperty> getGlobalPropertiesByPrefix(java.lang.String prefix)
getGlobalPropertiesByPrefix
in interface AdministrationDAO
AdministrationDAO.getGlobalPropertiesByPrefix(java.lang.String)
public java.util.List<GlobalProperty> getGlobalPropertiesBySuffix(java.lang.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 java.util.List<java.util.List<java.lang.Object>> executeSQL(java.lang.String sql, boolean selectOnly) throws DAOException
executeSQL
in interface AdministrationDAO
DAOException
AdministrationDAO.executeSQL(java.lang.String, boolean)
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |