public final class SubscriptionDAO extends Object implements ISubscriptionDAO
| Constructor and Description |
|---|
SubscriptionDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
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
|
List<Integer> |
selectIdSubscriptionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the subscription objects and returns them as a list
|
List<Subscription> |
selectSubscriptionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the subscription objects and returns them as a list
|
fr.paris.lutece.util.ReferenceList |
selectSubscriptionsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the subscription objects and returns them as a referenceList
|
void |
store(Subscription subscription,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(Subscription subscription, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ISubscriptionDAOsubscription - instance of the Subscription object to insertplugin - the Pluginpublic Subscription load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ISubscriptionDAOnKey - The identifier of the subscriptionplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ISubscriptionDAOnKey - The identifier of the Subscription to deleteplugin - the Pluginpublic void store(Subscription subscription, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface ISubscriptionDAOsubscription - the reference of the Subscriptionplugin - the Pluginpublic List<Subscription> selectSubscriptionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectSubscriptionsList in interface ISubscriptionDAOplugin - the Pluginpublic List<Integer> selectIdSubscriptionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdSubscriptionsList in interface ISubscriptionDAOplugin - the Pluginpublic fr.paris.lutece.util.ReferenceList selectSubscriptionsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectSubscriptionsReferenceList in interface ISubscriptionDAOplugin - the PluginCopyright © 2022 City of Paris. All rights reserved.