|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.gadgets.refimpl.SubscribedGadgetFeedStoreImpl
public class SubscribedGadgetFeedStoreImpl
| Constructor Summary | |
|---|---|
SubscribedGadgetFeedStoreImpl(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory factory)
|
|
| Method Summary | |
|---|---|
SubscribedGadgetFeed |
addFeed(URI feedUri)
Add the gadget feed to those that are subscribed to. |
boolean |
containsFeed(String feedId)
Returns true if a feed with the given ID has been subscribed to, false otherwise. |
Iterable<SubscribedGadgetFeed> |
getAllFeeds()
Returns the feeds that have been subscribed to |
SubscribedGadgetFeed |
getFeed(String feedId)
Returns the feed with the given ID, if it exists. |
void |
removeFeed(String feedId)
Remove the subscribed feed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubscribedGadgetFeedStoreImpl(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory factory)
| Method Detail |
|---|
public SubscribedGadgetFeed addFeed(URI feedUri)
SubscribedGadgetFeedStore
addFeed in interface SubscribedGadgetFeedStorefeedUri - the gadget spec URI to store. Must not be null.
public boolean containsFeed(String feedId)
SubscribedGadgetFeedStoretrue if a feed with the given ID has been subscribed to, false otherwise.
containsFeed in interface SubscribedGadgetFeedStorefeedId - ID of the feed to check for existence
public SubscribedGadgetFeed getFeed(String feedId)
SubscribedGadgetFeedStorenull otherwise.
getFeed in interface SubscribedGadgetFeedStorefeedId - ID of the feed to retrieve
null otherwisepublic Iterable<SubscribedGadgetFeed> getAllFeeds()
SubscribedGadgetFeedStore
getAllFeeds in interface SubscribedGadgetFeedStorepublic void removeFeed(String feedId)
SubscribedGadgetFeedStore
removeFeed in interface SubscribedGadgetFeedStorefeedId - ID of the feed to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||