public class NotificationFeedService extends Object implements NotificationFeedManager
NotificationFeedManager.| Constructor and Description |
|---|
NotificationFeedService(NotificationFeedStore store) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
createFeed(Id.NotificationFeed feed) |
void |
deleteFeed(Id.NotificationFeed feed) |
Id.NotificationFeed |
getFeed(Id.NotificationFeed feed) |
List<Id.NotificationFeed> |
listFeeds(Id.Namespace namespace) |
@Inject public NotificationFeedService(NotificationFeedStore store)
public boolean createFeed(Id.NotificationFeed feed) throws NotificationFeedException
createFeed in interface NotificationFeedManagerNotificationFeedExceptionpublic void deleteFeed(Id.NotificationFeed feed) throws NotificationFeedNotFoundException
deleteFeed in interface NotificationFeedManagerNotificationFeedNotFoundExceptionpublic Id.NotificationFeed getFeed(Id.NotificationFeed feed) throws NotificationFeedNotFoundException
getFeed in interface NotificationFeedManagerNotificationFeedNotFoundExceptionpublic List<Id.NotificationFeed> listFeeds(Id.Namespace namespace) throws NotificationFeedException
listFeeds in interface NotificationFeedManagerNotificationFeedExceptionCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.