public class DefaultClusterSafeSubscribedGadgetFeedStore extends Object implements com.atlassian.gadgets.directory.spi.SubscribedGadgetFeedStore
Constructor and Description |
---|
DefaultClusterSafeSubscribedGadgetFeedStore(ClusterManager clusterManager,
com.atlassian.bandana.BandanaManager bandanaManager,
SubscribedGadgetFeedIdGenerator subscribedGadgetFeedIdGenerator) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.gadgets.directory.spi.SubscribedGadgetFeed |
addFeed(URI feedUri) |
boolean |
containsFeed(String feedId) |
Iterable<com.atlassian.gadgets.directory.spi.SubscribedGadgetFeed> |
getAllFeeds() |
com.atlassian.gadgets.directory.spi.SubscribedGadgetFeed |
getFeed(String feedId) |
void |
removeFeed(String feedId) |
public DefaultClusterSafeSubscribedGadgetFeedStore(ClusterManager clusterManager, com.atlassian.bandana.BandanaManager bandanaManager, SubscribedGadgetFeedIdGenerator subscribedGadgetFeedIdGenerator)
public com.atlassian.gadgets.directory.spi.SubscribedGadgetFeed addFeed(URI feedUri)
addFeed
in interface com.atlassian.gadgets.directory.spi.SubscribedGadgetFeedStore
public void removeFeed(String feedId)
removeFeed
in interface com.atlassian.gadgets.directory.spi.SubscribedGadgetFeedStore
public boolean containsFeed(String feedId)
containsFeed
in interface com.atlassian.gadgets.directory.spi.SubscribedGadgetFeedStore
public com.atlassian.gadgets.directory.spi.SubscribedGadgetFeed getFeed(String feedId)
getFeed
in interface com.atlassian.gadgets.directory.spi.SubscribedGadgetFeedStore
public Iterable<com.atlassian.gadgets.directory.spi.SubscribedGadgetFeed> getAllFeeds()
getAllFeeds
in interface com.atlassian.gadgets.directory.spi.SubscribedGadgetFeedStore
Copyright © 2003–2015 Atlassian. All rights reserved.