|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 AdministrationDAOr - Report to create
DAOExceptionAdministrationService.createReport(org.openmrs.reporting.Report)
@Deprecated
public void updateReport(Report r)
throws DAOException
AdministrationDAO
updateReport in interface AdministrationDAOr - Report to update
DAOExceptionAdministrationService.updateReport(org.openmrs.reporting.Report)
@Deprecated
public void deleteReport(Report r)
throws DAOException
AdministrationDAO
deleteReport in interface AdministrationDAOr - Report to delete
DAOExceptionAdministrationService.deleteReport(org.openmrs.reporting.Report)
public void mrnGeneratorLog(java.lang.String site,
java.lang.Integer start,
java.lang.Integer count)
mrnGeneratorLog in interface AdministrationDAOAdministrationService.mrnGeneratorLog(java.lang.String,java.lang.Integer,java.lang.Integer)public java.util.Collection getMRNGeneratorLog()
getMRNGeneratorLog in interface AdministrationDAOAdministrationService.getMRNGeneratorLog()
@Deprecated
public void createReportObject(AbstractReportObject ro)
throws DAOException
AdministrationDAO
createReportObject in interface AdministrationDAOro - AbstractReportObject to create
DAOException
@Deprecated
public void updateReportObject(AbstractReportObject ro)
throws DAOException
AdministrationDAO
updateReportObject in interface AdministrationDAOro - AbstractReportObject to update
DAOException
@Deprecated
public void deleteReportObject(java.lang.Integer reportObjectId)
throws DAOException
AdministrationDAO
deleteReportObject in interface AdministrationDAOreportObjectId - Internal identifier for report object to delete
DAOException
public java.lang.String getGlobalProperty(java.lang.String propertyName)
throws DAOException
getGlobalProperty in interface AdministrationDAODAOExceptionAdministrationDAO.getGlobalProperty(java.lang.String)public GlobalProperty getGlobalPropertyObject(java.lang.String propertyName)
getGlobalPropertyObject in interface AdministrationDAOAdministrationDAO.getGlobalPropertyObject(java.lang.String)
public GlobalProperty getGlobalPropertyByUuid(java.lang.String uuid)
throws DAOException
getGlobalPropertyByUuid in interface AdministrationDAODAOException
public java.util.List<GlobalProperty> getAllGlobalProperties()
throws DAOException
getAllGlobalProperties in interface AdministrationDAODAOExceptionAdministrationDAO.getAllGlobalProperties()public java.util.List<GlobalProperty> getGlobalPropertiesByPrefix(java.lang.String prefix)
getGlobalPropertiesByPrefix in interface AdministrationDAOAdministrationDAO.getGlobalPropertiesByPrefix(java.lang.String)public java.util.List<GlobalProperty> getGlobalPropertiesBySuffix(java.lang.String suffix)
getGlobalPropertiesBySuffix in interface AdministrationDAOAdministrationDAO.getGlobalPropertiesBySuffix(java.lang.String)
public void deleteGlobalProperty(GlobalProperty property)
throws DAOException
deleteGlobalProperty in interface AdministrationDAODAOExceptionAdministrationDAO.deleteGlobalProperty(GlobalProperty)
public GlobalProperty saveGlobalProperty(GlobalProperty gp)
throws DAOException
saveGlobalProperty in interface AdministrationDAODAOExceptionAdministrationDAO.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 AdministrationDAODAOExceptionAdministrationDAO.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 | ||||||||