public interface ISubscriberDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(Subscriber subscriber,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Subscriber |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loads data from a subscriber's identifier
|
Collection<Subscriber> |
selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the list of subscribers
|
Subscriber |
selectByEmail(String strEmail,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds a subscriber from his email
|
int |
selectNewsLetters(int nSubscriberId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns, for a subscriber, the number of his subscriptions
|
Collection<Subscriber> |
selectSubscribers(int nNewsLetterId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loads the list of subscribers for a newsletter
|
Collection<Subscriber> |
selectSubscribers(int nNewsLetterId,
String strSearchString,
int nBegin,
int nEnd,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loads the list of subscribers for a newsletter
|
Collection<Subscriber> |
selectSubscribersForSending(int nNewsLetterId,
String strSearchString,
int nBegin,
int nEnd,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loads the list of subscribers for a newsletter
|
Collection<Subscriber> |
selectSubscribersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
loads the list of subscribers
|
void insert(Subscriber subscriber, fr.paris.lutece.portal.service.plugin.Plugin plugin)
subscriber - the object to be insertedplugin - the Pluginvoid delete(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nId - the subscriber's identifierplugin - the PluginSubscriber load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nId - the subscriber's identifierplugin - the PluginCollection<Subscriber> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginSubscriber selectByEmail(String strEmail, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strEmail - the subscriber's emailplugin - the PluginCollection<Subscriber> selectSubscribers(int nNewsLetterId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nNewsLetterId - the newsletter identifierplugin - the PluginCollection<Subscriber> selectSubscribers(int nNewsLetterId, String strSearchString, int nBegin, int nEnd, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nNewsLetterId - the newsletter identifierstrSearchString - gets all the subscribers if null or empty and gets the subscribers whith an email containing this string otherwisenBegin - the rank of the first subscriber to returnnEnd - the maximum number of suscribers to returnplugin - the PluginCollection<Subscriber> selectSubscribersForSending(int nNewsLetterId, String strSearchString, int nBegin, int nEnd, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nNewsLetterId - the newsletter identifierstrSearchString - gets all the subscribers if null or empty and gets the subscribers whith an email containing this string otherwisenBegin - the rank of the first subscriber to returnnEnd - the maximum number of suscribers to returnplugin - the Pluginint selectNewsLetters(int nSubscriberId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nSubscriberId - the subscriber's identifierplugin - the PluginCollection<Subscriber> selectSubscribersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginCopyright © 2023 City of Paris. All rights reserved.