fr.paris.lutece.plugins.subscribe.business
Interface ISubscriptionDAO

All Known Implementing Classes:
SubscriptionDAO

public interface ISubscriptionDAO

Interface for subscriber DAO


Method Summary
 void delete(int nIdSubscription, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 List<Subscription> findByFilter(SubscriptionFilter filter)
          Find a list of subscriptions from a filter
 void insert(Subscription subscription, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 Subscription load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data from the table
 Collection<Subscription> selectSubscriptionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all the subscription objects and returns them as a collection
 void store(Subscription subscription, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 

Method Detail

insert

void insert(Subscription subscription,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
subscription - instance of the Subscription object to insert
plugin - the Plugin

store

void store(Subscription subscription,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table

Parameters:
subscription - the reference of the Subscription
plugin - the Plugin

delete

void delete(int nIdSubscription,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Parameters:
nIdSubscription - int identifier of the Subscription to delete
plugin - the Plugin

load

Subscription load(int nKey,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table

Parameters:
nKey - The identifier of the subscription
plugin - the plugin
Returns:
The instance of the subscription

selectSubscriptionsList

Collection<Subscription> selectSubscriptionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the subscription objects and returns them as a collection

Parameters:
plugin - the plugin
Returns:
The collection which contains the data of all the subscription objects

findByFilter

List<Subscription> findByFilter(SubscriptionFilter filter)
Find a list of subscriptions from a filter

Parameters:
filter - The filter
Returns:
The list of subscriptions that matches the given filter


Copyright © 2013 Mairie de Paris. All Rights Reserved.