|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Service interface for managing subscriptions.
Method Summary | |
java.util.Collection |
getAggregateFeed(java.lang.String path,
int maxItems)
|
ITreeNode |
getHierarchy()
|
SubscriptionI |
getSubscription(java.net.URL url)
Get a given a subscription. |
java.util.Collection |
getSubscriptionInfos()
Get lightweight information about all subscriptions. |
void |
refresh(java.net.URL url)
Refresh a subscription (synchronously). |
boolean |
refreshAll()
Initiate asynchronous refresh cycle. |
SubscriptionI[] |
subscribe(SubscriptionInfoI subscriptionInfo)
Create a new subscription. |
SubscriptionI[] |
subscribe(java.net.URL url,
java.lang.String path)
Short version of subscribe. |
void |
unsubscribe(java.net.URL url)
Remove a subscription. |
Method Detail |
public SubscriptionI[] subscribe(SubscriptionInfoI subscriptionInfo) throws FlockResourceException
subscriptionInfo
- FlockResourceException
- public SubscriptionI[] subscribe(java.net.URL url, java.lang.String path) throws FlockResourceException
url
- path
- FlockResourceException
- public void unsubscribe(java.net.URL url) throws FlockResourceException
url
- subscription locationFlockResourceException
- public SubscriptionI getSubscription(java.net.URL url) throws FlockResourceException
url
- subscription locationFlockResourceException
- public java.util.Collection getSubscriptionInfos() throws FlockResourceException
FlockResourceException
- public void refresh(java.net.URL url) throws FlockResourceException
url
- subscription locationFlockResourceException
- public boolean refreshAll()
public ITreeNode getHierarchy() throws FlockResourceException
FlockResourceException
- public java.util.Collection getAggregateFeed(java.lang.String path, int maxItems) throws FlockResourceException
path
- maxItems
- FlockResourceException
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |