|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.gadgets.directory.internal.impl.SubscribedGadgetFeedStoreImpl
public class SubscribedGadgetFeedStoreImpl
Constructor Summary | |
---|---|
SubscribedGadgetFeedStoreImpl(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory factory)
|
Method Summary | |
---|---|
void |
add(SubscribedGadgetFeed feed)
Add the gadget feed to those that are subscribed to. |
boolean |
contains(String feedId)
Returns true if a feed with the given ID has been subscribed to, false otherwise. |
SubscribedGadgetFeed |
get(String feedId)
Returns the feed with the given ID, if it exists. |
Iterable<SubscribedGadgetFeed> |
getAll()
Returns the feeds that have been subscribed to |
void |
remove(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 void add(SubscribedGadgetFeed feed)
SubscribedGadgetFeedStore
add
in interface SubscribedGadgetFeedStore
feed
- feed information to storepublic boolean contains(String feedId)
SubscribedGadgetFeedStore
true
if a feed with the given ID has been subscribed to, false
otherwise.
contains
in interface SubscribedGadgetFeedStore
feedId
- ID of the feed to check for existencepublic SubscribedGadgetFeed get(String feedId)
SubscribedGadgetFeedStore
null
otherwise.
get
in interface SubscribedGadgetFeedStore
feedId
- ID of the feed to retrieve
null
otherwisepublic Iterable<SubscribedGadgetFeed> getAll()
SubscribedGadgetFeedStore
getAll
in interface SubscribedGadgetFeedStore
public void remove(String feedId)
SubscribedGadgetFeedStore
remove
in interface SubscribedGadgetFeedStore
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |