|
||||||||||
| 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 | |
|---|---|
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 |
| Method Detail |
|---|
void add(SubscribedGadgetFeed feed)
feed - feed information to storeboolean contains(String feedId)
true if a feed with the given ID has been subscribed to, false otherwise.
feedId - ID of the feed to check for existenceSubscribedGadgetFeed get(String feedId)
null otherwise.
feedId - ID of the feed to retrieve
null otherwiseIterable<SubscribedGadgetFeed> getAll()
void remove(String feedId)
feedUri - URI of the feed to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||