org.figure8.join.businessobjects.reporting.persistence
Interface SubscriptionDao

All Superinterfaces:
ObjectDao
All Known Implementing Classes:
HibernateSubscriptionDao

public interface SubscriptionDao
extends ObjectDao

Data Access interface for Subscription business objects.

Version:
$Revision: 1.1 $
Author:
Laurent Broudoux

Method Summary
 Subscription getSubscription(long id)
          Retrieve subscription corresponding to identifier
 java.util.List getSubscriptionsForUser(java.lang.String subscriberId)
          Retrieve subscriptions corresponding to a subscriber
 
Methods inherited from interface org.figure8.join.core.persistence.ObjectDao
findAll, findAllSorted, getPersistentClass, initialize, initializeAssociation, isInitialized, refresh, remove, replicate, save
 

Method Detail

getSubscription

Subscription getSubscription(long id)
Retrieve subscription corresponding to identifier

Parameters:
id - The unique identifier of subcription to retrieve
Returns:
The corresponding subscription or null if no one match

getSubscriptionsForUser

java.util.List getSubscriptionsForUser(java.lang.String subscriberId)
Retrieve subscriptions corresponding to a subscriber

Parameters:
subscriberId - Unique identifier of user having subscriptions
Returns:
A list of org.figure8.join.businessobjects.reporting.Subscription


Copyright © 2005-2008 Join. All Rights Reserved.