This NotificationService informs users about updates by sending E-Mails.
More...
This NotificationService informs users about updates by sending E-Mails.
- Author
- Felix Wiemuth, Philip Wendland
unicopa.copa.server.notification.EmailNotificationService.EmailNotificationService |
( |
CopaSystemContext |
context) | |
|
Create a new EmailNotificationService.
Reads the configuration and text templates from /email and gets an EmailService object.
- Parameters
-
context | The system context |
void unicopa.copa.server.notification.EmailNotificationService.notifyClient |
( |
NotificationEvent |
event, |
|
|
int |
userID |
|
) |
| |
|
virtual |
void unicopa.copa.server.notification.EmailNotificationService.notifyClients |
( |
SingleEventUpdate |
update) | |
|
|
virtual |
Notify all users that have subscribed to get the specified SingleEventUpdate by sending an E-Mail to their registered E-Mail address.
The content of the E-Mail will be in the language the user specified in his settings (if available).
- Parameters
-
update | the SingleEventUpdate to inform about |
Implements unicopa.copa.server.notification.NotificationService.
final Logger unicopa.copa.server.notification.EmailNotificationService.LOG |
|
static |
Initial value:= Logger
.getLogger(GoogleCloudNotificationService.class.getName())
The documentation for this class was generated from the following file:
- CopaServer/src/main/java/unicopa/copa/server/notification/EmailNotificationService.java