public interface NotificationPlugin
extends io.vertigo.core.component.Plugin
| Modifier and Type | Method and Description |
|---|---|
List<Notification> |
getCurrentNotifications(io.vertigo.dynamo.domain.model.UID<io.vertigo.account.account.Account> account) |
void |
remove(io.vertigo.dynamo.domain.model.UID<io.vertigo.account.account.Account> accountURI,
UUID notificationUUID) |
void |
removeAll(String type,
String targetUrl) |
void |
send(NotificationEvent notificationEvent) |
void |
updateUserContent(io.vertigo.dynamo.domain.model.UID<io.vertigo.account.account.Account> accountURI,
UUID notificationUUID,
String userContent) |
void send(NotificationEvent notificationEvent)
notificationEvent - Notification to sendList<Notification> getCurrentNotifications(io.vertigo.dynamo.domain.model.UID<io.vertigo.account.account.Account> account)
account - Accout urivoid remove(io.vertigo.dynamo.domain.model.UID<io.vertigo.account.account.Account> accountURI,
UUID notificationUUID)
accountURI - Account urinotificationUUID - Notification uuidvoid removeAll(String type, String targetUrl)
type - Notification's typetargetUrl - Target URL, use to filter all notifications to removeCopyright © 2019. All Rights Reserved.