|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SubscribedGadgetFeedStore
Provides persistent storage of the base URIs of external applications whose gadgets appear in the directory.
| 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 |
| Method Detail |
|---|
SubscribedGadgetFeed addFeed(URI feedUri)
feedUri - the gadget spec URI to store. Must not be null.
boolean containsFeed(String feedId)
true if a feed with the given ID has been subscribed to, false otherwise.
feedId - ID of the feed to check for existence
SubscribedGadgetFeed getFeed(String feedId)
null otherwise.
feedId - ID of the feed to retrieve
null otherwiseIterable<SubscribedGadgetFeed> getAllFeeds()
void removeFeed(String feedId)
feedId - ID of the feed to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||