| Constructor and Description | 
|---|
HibernateAlertDAO()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
deleteAlert(Alert alert)  | 
Alert | 
getAlert(java.lang.Integer alertId)  | 
java.util.List<Alert> | 
getAlerts(User user,
         boolean includeRead,
         boolean includeExpired)  | 
java.util.List<Alert> | 
getAllAlerts(boolean includeExpired)  | 
Alert | 
saveAlert(Alert alert)  | 
void | 
setSessionFactory(org.hibernate.SessionFactory sessionFactory)
Set session factory 
 | 
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
sessionFactory - public Alert saveAlert(Alert alert) throws DAOException
saveAlert in interface AlertDAODAOExceptionAlertDAO.saveAlert(org.openmrs.notification.Alert)public Alert getAlert(java.lang.Integer alertId) throws DAOException
getAlert in interface AlertDAODAOExceptionAlertDAO.getAlert(java.lang.Integer)public void deleteAlert(Alert alert) throws DAOException
deleteAlert in interface AlertDAODAOExceptionAlertDAO.deleteAlert(org.openmrs.notification.Alert)public java.util.List<Alert> getAllAlerts(boolean includeExpired) throws DAOException
getAllAlerts in interface AlertDAODAOExceptionAlertService.getAllAlerts(boolean)public java.util.List<Alert> getAlerts(User user, boolean includeRead, boolean includeExpired) throws DAOException
getAlerts in interface AlertDAODAOExceptionAlertDAO.getAlerts(org.openmrs.User, boolean, boolean)Copyright © 2018 OpenMRS Inc.. All Rights Reserved.