Interface ISubscriptionDAO
-
- All Known Implementing Classes:
SubscriptionDAO
public interface ISubscriptionDAOInterface for subscriber DAO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nIdSubscription, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tableList<Subscription>findByFilter(SubscriptionFilter filter)Find a list of subscriptions from a filterintgetMaxOrder(fr.paris.lutece.portal.service.plugin.Plugin plugin)Get max ordervoidinsert(Subscription subscription, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.Subscriptionload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tableCollection<Subscription>selectSubscriptionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the subscription objects and returns them as a collectionvoidstore(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 insertplugin- 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 Subscriptionplugin- 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 deleteplugin- 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 subscriptionplugin- 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
-
getMaxOrder
int getMaxOrder(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get max order- Parameters:
plugin-- Returns:
- max order
-
-