org.openmrs.notification.db
Interface AlertDAO

All Known Implementing Classes:
HibernateAlertDAO

public interface AlertDAO

Database methods for the AlertService

See Also:
Context, AlertService

Method Summary
 void deleteAlert(Alert alert)
           
 Alert getAlert(java.lang.Integer alertId)
           
 java.util.List<Alert> getAlerts(User user, boolean includeRead, boolean includeVoided)
           
 java.util.List<Alert> getAllAlerts(boolean includeExpired)
           
 Alert saveAlert(Alert alert)
           
 

Method Detail

saveAlert

Alert saveAlert(Alert alert)
                throws DAOException
Throws:
DAOException
See Also:
AlertService.saveAlert(org.openmrs.notification.Alert)

getAlert

Alert getAlert(java.lang.Integer alertId)
               throws DAOException
Throws:
DAOException
See Also:
AlertService.getAlert(Integer)

getAlerts

java.util.List<Alert> getAlerts(User user,
                                boolean includeRead,
                                boolean includeVoided)
                                throws DAOException
Throws:
DAOException
See Also:
AlertService.getAlerts(org.openmrs.User, boolean, boolean)

deleteAlert

void deleteAlert(Alert alert)
                 throws DAOException
Throws:
DAOException
See Also:
AlertService.purgeAlert(org.openmrs.notification.Alert)

getAllAlerts

java.util.List<Alert> getAllAlerts(boolean includeExpired)
See Also:
AlertService.getAllAlerts(boolean)

OpenMRS-1.7.x

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