| Package | Description | 
|---|---|
| org.openmrs.notification | |
| org.openmrs.notification.db | |
| org.openmrs.notification.db.hibernate | |
| org.openmrs.notification.impl | 
| Modifier and Type | Method and Description | 
|---|---|
| Alert | AlertRecipient. getAlert() | 
| Alert | AlertService. getAlert(Integer alertId)Get alert by internal identifier | 
| Alert | Alert. markAlertRead()Convenience method to mark this alert as read. | 
| Alert | AlertService. saveAlert(Alert alert)Save the given  alertin the database | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Alert> | AlertService. getAlerts(User user,
         boolean includeRead,
         boolean includeExpired)Finds alerts for the given user with the given status | 
| List<Alert> | AlertService. getAlertsByUser(User user)Find the alerts that are not read and have not expired for a user This will probably be the
 most commonly called method If null is passed in for  user, find alerts for the
 currently authenticated user. | 
| List<Alert> | AlertService. getAllActiveAlerts(User user)Find all alerts for a user that have not expired | 
| List<Alert> | AlertService. getAllAlerts()Get all unexpired alerts for all users | 
| List<Alert> | AlertService. getAllAlerts(boolean includeExpired)Get alerts for all users while obeying includeExpired | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AlertService. purgeAlert(Alert alert)Completely delete the given alert from the database | 
| Alert | AlertService. saveAlert(Alert alert)Save the given  alertin the database | 
| void | AlertRecipient. setAlert(Alert alert) | 
| Constructor and Description | 
|---|
| AlertRecipient(Alert a)Initializes a recipient with the given alert | 
| AlertRecipient(Alert a,
              User recipient)Initializes a recipient with the given alert and recipient/user | 
| Modifier and Type | Method and Description | 
|---|---|
| Alert | AlertDAO. getAlert(Integer alertId) | 
| Alert | AlertDAO. saveAlert(Alert alert) | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Alert> | AlertDAO. getAlerts(User user,
         boolean includeRead,
         boolean includeVoided) | 
| List<Alert> | AlertDAO. getAllAlerts(boolean includeExpired) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AlertDAO. deleteAlert(Alert alert) | 
| Alert | AlertDAO. saveAlert(Alert alert) | 
| Modifier and Type | Method and Description | 
|---|---|
| Alert | HibernateAlertDAO. getAlert(Integer alertId) | 
| Alert | HibernateAlertDAO. saveAlert(Alert alert) | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Alert> | HibernateAlertDAO. getAlerts(User user,
         boolean includeRead,
         boolean includeExpired) | 
| List<Alert> | HibernateAlertDAO. getAllAlerts(boolean includeExpired) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | HibernateAlertDAO. deleteAlert(Alert alert) | 
| Alert | HibernateAlertDAO. saveAlert(Alert alert) | 
| Modifier and Type | Method and Description | 
|---|---|
| Alert | AlertServiceImpl. getAlert(Integer alertId) | 
| Alert | AlertServiceImpl. saveAlert(Alert alert) | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Alert> | AlertServiceImpl. getAlerts(User user,
         boolean includeRead,
         boolean includeExpired) | 
| List<Alert> | AlertServiceImpl. getAlertsByUser(User user) | 
| List<Alert> | AlertServiceImpl. getAllActiveAlerts(User user) | 
| List<Alert> | AlertServiceImpl. getAllAlerts() | 
| List<Alert> | AlertServiceImpl. getAllAlerts(boolean includeExpired) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AlertServiceImpl. purgeAlert(Alert alert) | 
| Alert | AlertServiceImpl. saveAlert(Alert alert) | 
Copyright © 2024 OpenMRS Inc.. All rights reserved.