org.openmrs.api.db
Interface AdministrationDAO

All Known Implementing Classes:
HibernateAdministrationDAO

public interface AdministrationDAO

Database methods for the AdministrationService

See Also:
Context, AdministrationService

Method Summary
 void createReport(Report r)
          Deprecated. see reportingcompatibility module
 void createReportObject(AbstractReportObject ro)
          Deprecated. see reportingcompatibility module
 void deleteGlobalProperty(GlobalProperty gp)
           
 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 updateReport(Report r)
          Deprecated. see reportingcompatibility module
 void updateReportObject(AbstractReportObject ro)
          Deprecated. see reportingcompatibility module
 

Method Detail

createReport

@Deprecated
void createReport(Report r)
                  throws DAOException
Deprecated. see reportingcompatibility module

Create a new Report

Parameters:
r - Report to create
Throws:
DAOException

updateReport

@Deprecated
void updateReport(Report r)
                  throws DAOException
Deprecated. see reportingcompatibility module

Update Report

Parameters:
r - Report to update
Throws:
DAOException

deleteReport

@Deprecated
void deleteReport(Report r)
                  throws DAOException
Deprecated. see reportingcompatibility module

Delete Report

Parameters:
r - Report to delete
Throws:
DAOException

createReportObject

@Deprecated
void createReportObject(AbstractReportObject ro)
                        throws DAOException
Deprecated. see reportingcompatibility module

Create a new Report Object

Parameters:
ro - AbstractReportObject to create
Throws:
DAOException

updateReportObject

@Deprecated
void updateReportObject(AbstractReportObject ro)
                        throws DAOException
Deprecated. see reportingcompatibility module

Update Report Object

Parameters:
ro - AbstractReportObject to update
Throws:
DAOException

deleteReportObject

@Deprecated
void deleteReportObject(java.lang.Integer reportObjectId)
                        throws DAOException
Deprecated. see reportingcompatibility module

Delete Report Object

Parameters:
reportObjectId - Internal identifier for report object to delete
Throws:
DAOException

mrnGeneratorLog

void mrnGeneratorLog(java.lang.String site,
                     java.lang.Integer start,
                     java.lang.Integer count)
                     throws DAOException
Throws:
DAOException
See Also:
AdministrationService.mrnGeneratorLog(java.lang.String, java.lang.Integer, java.lang.Integer)

getMRNGeneratorLog

java.util.Collection<?> getMRNGeneratorLog()
                                           throws DAOException
Throws:
DAOException
See Also:
AdministrationService.getMRNGeneratorLog()

getGlobalProperty

java.lang.String getGlobalProperty(java.lang.String propertyName)
                                   throws DAOException
Throws:
DAOException
See Also:
AdministrationService.getGlobalProperty(String)

getGlobalPropertyObject

GlobalProperty getGlobalPropertyObject(java.lang.String propertyName)
See Also:
AdministrationService.getGlobalPropertyObject(java.lang.String)

getAllGlobalProperties

java.util.List<GlobalProperty> getAllGlobalProperties()
                                                      throws DAOException
Throws:
DAOException
See Also:
AdministrationService.getAllGlobalProperties()

getGlobalPropertyByUuid

GlobalProperty getGlobalPropertyByUuid(java.lang.String uuid)
                                       throws DAOException
Throws:
DAOException

getGlobalPropertiesByPrefix

java.util.List<GlobalProperty> getGlobalPropertiesByPrefix(java.lang.String prefix)
See Also:
AdministrationService.getGlobalPropertiesByPrefix(java.lang.String)

getGlobalPropertiesBySuffix

java.util.List<GlobalProperty> getGlobalPropertiesBySuffix(java.lang.String suffix)
See Also:
AdministrationService.getGlobalPropertiesBySuffix(java.lang.String)

deleteGlobalProperty

void deleteGlobalProperty(GlobalProperty gp)
                          throws DAOException
Throws:
DAOException
See Also:
AdministrationService.purgeGlobalProperty(org.openmrs.GlobalProperty)

saveGlobalProperty

GlobalProperty saveGlobalProperty(GlobalProperty gp)
                                  throws DAOException
Throws:
DAOException
See Also:
AdministrationService.saveGlobalProperty(org.openmrs.GlobalProperty)

executeSQL

java.util.List<java.util.List<java.lang.Object>> executeSQL(java.lang.String sql,
                                                            boolean selectOnly)
                                                            throws DAOException
Throws:
DAOException
See Also:
executeSQL(java.lang.String, boolean)

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change