Package | Description |
---|---|
org.openmrs.notification | |
org.openmrs.notification.db | |
org.openmrs.notification.db.hibernate | |
org.openmrs.notification.impl | |
org.openmrs.notification.web.dwr |
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
alert in the database |
Modifier and Type | Method and Description |
---|---|
List<Alert> |
AlertService.getAlerts()
Deprecated.
use
AlertService.getAlertsByUser(User) and pass "null" as the parameter for
user |
List<Alert> |
AlertService.getAlerts(User user)
Deprecated.
|
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
|
List<Alert> |
AlertService.getAllAlerts(User user)
Deprecated.
use #getAlerts(User, boolean, boolean)
|
Modifier and Type | Method and Description |
---|---|
void |
AlertService.createAlert(Alert alert)
Deprecated.
|
void |
AlertService.markAlertRead(Alert alert)
Deprecated.
|
void |
AlertService.purgeAlert(Alert alert)
Completely delete the given alert from the database
|
Alert |
AlertService.saveAlert(Alert alert)
Save the given
alert in the database |
void |
AlertRecipient.setAlert(Alert alert) |
void |
AlertService.updateAlert(Alert alert)
Deprecated.
|
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()
Deprecated.
|
List<Alert> |
AlertServiceImpl.getAlerts(User user)
Deprecated.
|
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) |
List<Alert> |
AlertServiceImpl.getAllAlerts(User user)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
AlertServiceImpl.createAlert(Alert alert)
Deprecated.
|
void |
AlertServiceImpl.markAlertRead(Alert alert)
Deprecated.
|
void |
AlertServiceImpl.purgeAlert(Alert alert) |
Alert |
AlertServiceImpl.saveAlert(Alert alert) |
void |
AlertServiceImpl.updateAlert(Alert alert)
Deprecated.
|
Constructor and Description |
---|
AlertListItem(Alert alert) |
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.