public final class MemoryNotificationPlugin extends Object implements NotificationPlugin
| Constructor and Description |
|---|
MemoryNotificationPlugin() |
| Modifier and Type | Method and Description |
|---|---|
List<Notification> |
getCurrentNotifications(io.vertigo.dynamo.domain.model.URI<Account> userProfileURI) |
void |
remove(io.vertigo.dynamo.domain.model.URI<Account> accountURI,
UUID notificationUUID) |
void |
removeAll(String type,
String targetUrl) |
void |
send(NotificationEvent notificationEvent) |
public void send(NotificationEvent notificationEvent)
send in interface NotificationPluginnotificationEvent - Notification to sendpublic List<Notification> getCurrentNotifications(io.vertigo.dynamo.domain.model.URI<Account> userProfileURI)
getCurrentNotifications in interface NotificationPluginuserProfileURI - Accout uripublic void remove(io.vertigo.dynamo.domain.model.URI<Account> accountURI, UUID notificationUUID)
remove in interface NotificationPluginaccountURI - Account urinotificationUUID - Notification uuidpublic void removeAll(String type, String targetUrl)
removeAll in interface NotificationPlugintype - Notification's typetargetUrl - Target URL, use to filter all notifications to removeCopyright © 2016. All Rights Reserved.