|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISubscriberDAO
The interface representing the business methods of the subscriber
| Method Summary | |
|---|---|
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 |
java.util.Collection<Subscriber> |
selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the list of subscribers |
Subscriber |
selectByEmail(java.lang.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 |
java.util.Collection<Subscriber> |
selectSubscribers(int nNewsLetterId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loads the list of subscribers for a newsletter |
java.util.Collection<Subscriber> |
selectSubscribers(int nNewsLetterId,
java.lang.String strSearchString,
int nBegin,
int nEnd,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loads the list of subscribers for a newsletter |
java.util.Collection<Subscriber> |
selectSubscribersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
loads the list of subscribers |
void |
store(Subscriber subscriber,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table |
| Method Detail |
|---|
void insert(Subscriber subscriber,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
subscriber - the object to be insertedplugin - the Plugin
void delete(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nId - the subscriber's identifierplugin - the Plugin
Subscriber load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nId - the subscriber's identifierplugin - the Plugin
void store(Subscriber subscriber,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
subscriber - the instance of subscriber class to be updatedplugin - the Pluginjava.util.Collection<Subscriber> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Plugin
Subscriber selectByEmail(java.lang.String strEmail,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strEmail - the subscriber's emailplugin - the Plugin
java.util.Collection<Subscriber> selectSubscribers(int nNewsLetterId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nNewsLetterId - the newsletter identifierplugin - the Plugin
java.util.Collection<Subscriber> selectSubscribers(int nNewsLetterId,
java.lang.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 Plugin
int selectNewsLetters(int nSubscriberId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nSubscriberId - the subscriber's identifierplugin - the Plugin
java.util.Collection<Subscriber> selectSubscribersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||