net.sf.flock.hibernate
Class HibernateSubscriptionManager
java.lang.Object
  |
  +--net.sf.flock.support.AbstractSubscriptionManager
        |
        +--net.sf.flock.hibernate.HibernateSubscriptionManager
- All Implemented Interfaces: 
- FeedFactoryI, SubscriptionManagerI
- public class HibernateSubscriptionManager- extends AbstractSubscriptionManager- implements FeedFactoryI
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
HibernateSubscriptionManager
public HibernateSubscriptionManager(java.util.Properties properties)
                             throws FlockResourceException
storeSubscription
protected void storeSubscription(Subscription subscription)
                          throws java.lang.Exception
- 
 
- 
- java.lang.Exception
 
loadSubscription
protected Subscription loadSubscription(java.net.URL url)
                                 throws java.lang.Exception
- 
 
- 
- java.lang.Exception
 
createSubscription
protected SubscriptionI createSubscription(SubscriptionInfoI subscriptionInfo)
                                    throws FlockResourceException
- 
- Specified by:
- createSubscriptionin class- AbstractSubscriptionManager
 
- 
- FlockResourceException
 
getFeedFactory
protected FeedFactoryI getFeedFactory()
- 
- Specified by:
- getFeedFactoryin class- AbstractSubscriptionManager
 
- 
 
createFeed
public FeedI createFeed(SubscriptionInfoI subscriptionInfoI)
- 
- Specified by:
- createFeedin interface- FeedFactoryI
 
- 
 
unsubscribe
public void unsubscribe(java.net.URL url)
                 throws FlockResourceException
- Description copied from interface: SubscriptionManagerI
- Remove a subscription.
 
- 
- Specified by:
- unsubscribein interface- SubscriptionManagerI
 
- 
- Parameters:
- url- subscription location
- Throws:
- FlockResourceException
 
getSubscription
public SubscriptionI getSubscription(java.net.URL url)
                              throws FlockResourceException
- Description copied from interface: SubscriptionManagerI
- Get a given a subscription.
 
- 
- Specified by:
- getSubscriptionin interface- SubscriptionManagerI
 
- 
- Parameters:
- url- subscription location
- Returns:
- SubscriptionI
- Throws:
- FlockResourceException
 
getSubscriptionInfos
public java.util.Collection getSubscriptionInfos()
                                          throws FlockResourceException
- Description copied from interface: SubscriptionManagerI
- Get lightweight information about all subscriptions.
 
- 
- Specified by:
- getSubscriptionInfosin interface- SubscriptionManagerI
 
- 
- Returns:
- Collection of SubscriptionInfoI objects
- Throws:
- FlockResourceException
 
refresh
public void refresh(java.net.URL url)
             throws FlockResourceException
- Description copied from interface: SubscriptionManagerI
- Refresh a subscription (synchronously).
 
- 
- Specified by:
- refreshin interface- SubscriptionManagerI
 
- 
- Parameters:
- url- subscription location
- Throws:
- FlockResourceException
 
findItems
public java.util.Collection findItems(FilterI[] filters)
                               throws FlockResourceException
- 
- Specified by:
- findItemsin interface- SubscriptionManagerI
 
- 
- Parameters:
- filters-
- Returns:
- Collection
- Throws:
- FlockResourceException
 
Copyright © 2002-2003 Presence Inc. All Rights Reserved.