public interface NotificationManager
extends io.vertigo.lang.Component
| Modifier and Type | Method and Description |
|---|---|
List<Notification> |
getCurrentNotifications(io.vertigo.dynamo.domain.model.URI<Account> accountURI)
Retrieve all notification for one account
|
void |
remove(io.vertigo.dynamo.domain.model.URI<Account> accountURI,
UUID notificationUUID)
Remove one notification.
|
void |
removeAll(String type,
String targetUrl)
Remove all notifications by type and targetUrl.
|
void |
send(Notification notification,
io.vertigo.dynamo.domain.model.URI<AccountGroup> groupURI)
Send a notification to a group
|
void send(Notification notification, io.vertigo.dynamo.domain.model.URI<AccountGroup> groupURI)
notification - NotificationgroupURI - Destination groupList<Notification> getCurrentNotifications(io.vertigo.dynamo.domain.model.URI<Account> accountURI)
accountURI - Accountvoid remove(io.vertigo.dynamo.domain.model.URI<Account> accountURI, UUID notificationUUID)
accountURI - User accountnotificationUUID - Notification uidCopyright © 2016. All Rights Reserved.