public interface NotificationServices
extends io.vertigo.core.component.Component
| Modifier and Type | Method and Description |
|---|---|
List<Notification> |
getCurrentNotifications(io.vertigo.dynamo.domain.model.URI<io.vertigo.account.identity.Account> accountURI)
Retrieves all notifications for one account
|
void |
remove(io.vertigo.dynamo.domain.model.URI<io.vertigo.account.identity.Account> accountURI,
UUID notificationUUID)
Removes one notification.
|
void |
removeAll(String type,
String targetUrl)
Removes all notifications by type and targetUrl.
|
void |
send(Notification notification,
Set<io.vertigo.dynamo.domain.model.URI<io.vertigo.account.identity.Account>> accountURIs)
Sends a notification to a set of users
|
void send(Notification notification, Set<io.vertigo.dynamo.domain.model.URI<io.vertigo.account.identity.Account>> accountURIs)
notification - NotificationaccountURIs - Destination usersList<Notification> getCurrentNotifications(io.vertigo.dynamo.domain.model.URI<io.vertigo.account.identity.Account> accountURI)
accountURI - Accountvoid remove(io.vertigo.dynamo.domain.model.URI<io.vertigo.account.identity.Account> accountURI,
UUID notificationUUID)
accountURI - User accountnotificationUUID - Notification uidCopyright © 2017. All Rights Reserved.