|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICalendarSubscriberDAO
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 |
deleteSubscriber(int nSubscriberId,
int nCalendarId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the subscriber's inscription to a newsletter |
void |
insert(CalendarSubscriber subscriber,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
void |
insertSubscriber(int nCalendarId,
int nSubscriberId,
java.sql.Timestamp tToday,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert a new subscriber for a calendar |
CalendarSubscriber |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loads data from a subscriber's identifier |
java.util.List<CalendarSubscriber> |
selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the list of subscribers |
CalendarSubscriber |
selectByEmail(java.lang.String strEmail,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds a subscriber from his email |
int |
selectSubscriberNumber(int nCalendarId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns, for a subscriber, the number of his subscriptions |
java.util.List<CalendarSubscriber> |
selectSubscribers(int nCalendarId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loads the list of subscribers for a calendar |
java.util.List<CalendarSubscriber> |
selectSubscribers(int nCalendarId,
java.lang.String strSearchString,
int nBegin,
int nEnd,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loads the list of subscribers for a Calendar |
java.util.List<CalendarSubscriber> |
selectSubscribersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
loads the list of subscribers |
void |
store(CalendarSubscriber subscriber,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table |
| Method Detail |
|---|
void insert(CalendarSubscriber 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
CalendarSubscriber load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nId - the subscriber's identifierplugin - the Plugin
void store(CalendarSubscriber subscriber,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
subscriber - the instance of subscriber class to be updatedplugin - the Pluginjava.util.List<CalendarSubscriber> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Plugin
CalendarSubscriber selectByEmail(java.lang.String strEmail,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strEmail - the subscriber's emailplugin - the Plugin
java.util.List<CalendarSubscriber> selectSubscribers(int nCalendarId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nCalendarId - the Calendar identifierplugin - the Plugin
java.util.List<CalendarSubscriber> selectSubscribers(int nCalendarId,
java.lang.String strSearchString,
int nBegin,
int nEnd,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nCalendarId - the Calendar 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 selectSubscriberNumber(int nCalendarId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nCalendarId - the Calendar identifierplugin - the Plugin
java.util.List<CalendarSubscriber> selectSubscribersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Plugin
void deleteSubscriber(int nSubscriberId,
int nCalendarId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nSubscriberId - the subscriber identifiernCalendarId - the Calendar identifierplugin - the Plugin
void insertSubscriber(int nCalendarId,
int nSubscriberId,
java.sql.Timestamp tToday,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nCalendarId - the calendar identifiernSubscriberId - the subscriber indentifierplugin - the PlugintToday - the day
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||