public interface SubscriptionService
Modifier and Type | Method and Description |
---|---|
Set<Subscription> |
getSubscriptions()
Gets all the subscriptions for the current user.
|
Set<Subscription> |
getSubscriptionsByPath(String path)
Gets the subscriptions for the path.
|
Set<Subscription> |
setSubscriptions(String path,
Set<SubscriptionEvent> events)
Sets the subscriptions for the path for the current user.
|
Set<Subscription> setSubscriptions(String path, Set<SubscriptionEvent> events) throws SubscriptionException
path
- the path to which to subscribe.events
- the events to which to subscribe.SubscriptionException
- thrown when there is an issue setting the subscriptions.Set<Subscription> getSubscriptionsByPath(String path) throws SubscriptionException
path
- the path from which to get subscriptions.SubscriptionException
- thrown when there is an issue getting th subscriptions.Set<Subscription> getSubscriptions()
<i>Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA</i>