public final class AppointmentFormDAO extends Object implements IAppointmentFormDAO
| Constructor and Description |
|---|
AppointmentFormDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nAppointmentFormId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
List<Date> |
getUnavailableDatesLimitedByMail(Date startDate,
Date[] endDate,
int nForm,
String strEmail,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get count of an appointment form from a user
|
void |
insert(AppointmentForm appointmentForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
AppointmentForm |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
List<AppointmentForm> |
selectActiveAppointmentFormsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all active appointmentForm objects and returns them as a
collection
|
List<AppointmentForm> |
selectAppointmentFormsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the appointmentForm objects and returns them as a
collection
|
void |
store(AppointmentForm appointmentForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Pluginpublic void insert(AppointmentForm appointmentForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IAppointmentFormDAOappointmentForm - instance of the AppointmentForm object to insertplugin - the Pluginpublic AppointmentForm load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IAppointmentFormDAOnKey - The identifier of the appointmentFormplugin - the Pluginpublic void delete(int nAppointmentFormId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IAppointmentFormDAOnAppointmentFormId - int identifier of the AppointmentForm to deleteplugin - the Pluginpublic void store(AppointmentForm appointmentForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IAppointmentFormDAOappointmentForm - the reference of the AppointmentFormplugin - the Pluginpublic List<AppointmentForm> selectAppointmentFormsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAppointmentFormsList in interface IAppointmentFormDAOplugin - the Pluginpublic List<AppointmentForm> selectActiveAppointmentFormsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectActiveAppointmentFormsList in interface IAppointmentFormDAOplugin - the Pluginpublic List<Date> getUnavailableDatesLimitedByMail(Date startDate, Date[] endDate, int nForm, String strEmail, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getUnavailableDatesLimitedByMail in interface IAppointmentFormDAOString - Email from userint - The Day concernedplugin - The PluginCopyright © 2015 City of Paris. All rights reserved.