public interface IAppointmentDAO
| Modifier and Type | Method and Description |
|---|---|
int |
countAppointmentsByIdForm(int nIdForm,
Date date,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the number of appointments associated with a given form and with a
date after a given date
|
void |
delete(int nIdAppointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
deleteAppointmentResponse(int nIdAppointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the association between an appointment and responses
|
int |
findIdAppointmentByIdResponse(int nIdResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the id of the appointment associated with a given response
|
List<Integer> |
findListIdResponse(int nIdAppointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of id of responses associated with an appointment
|
int |
getNbAppointmentByIdDay(Date dateAppointment,
int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the number of appointment of a given date and associated with a given
form
|
void |
insert(Appointment appointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
void |
insertAppointmentResponse(int nIdAppointment,
int nIdResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Associates a response to an appointment
|
Appointment |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
void |
removeAppointmentResponsesByIdResponse(int nIdResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove an appointment responses from the id of a response.
|
List<Integer> |
selectAppointmentIdByFilter(AppointmentFilter appointmentFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of ids of appointments matching a given filter
|
List<Appointment> |
selectAppointmentListByFilter(AppointmentFilter appointmentFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of appointments matching a given filter
|
List<Appointment> |
selectAppointmentListById(List<Integer> listIdAppointments,
String strOrderBy,
boolean bSortAsc,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get a list of appointments from their ids
|
List<Appointment> |
selectAppointmentsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the appointment objects and returns them as a
collection
|
List<Appointment> |
selectAppointmentsListByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of appointment objects associated with a given form and
returns them in a collection
|
void |
store(Appointment appointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void insert(Appointment appointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
appointment - instance of the Appointment object to insertplugin - the Pluginvoid store(Appointment appointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
appointment - the reference of the Appointmentplugin - the Pluginvoid delete(int nIdAppointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAppointment - int identifier of the Appointment to deleteplugin - the PluginAppointment load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the appointmentplugin - the PluginList<Appointment> selectAppointmentsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginList<Appointment> selectAppointmentsListByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - the id of the formplugin - the PluginList<Appointment> selectAppointmentListByFilter(AppointmentFilter appointmentFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
appointmentFilter - The filter appointments must matchplugin - The pluginList<Integer> selectAppointmentIdByFilter(AppointmentFilter appointmentFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
appointmentFilter - The filter appointments must matchplugin - The pluginList<Appointment> selectAppointmentListById(List<Integer> listIdAppointments, String strOrderBy, boolean bSortAsc, fr.paris.lutece.portal.service.plugin.Plugin plugin)
listIdAppointments - The list of ids of appointments to getstrOrderBy - The name of the column to sort rowsbSortAsc - True to sort ascending, false otherwiseplugin - The pluginint getNbAppointmentByIdDay(Date dateAppointment, int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
dateAppointment - The date of appointments to countnIdForm - The id of the appointment formplugin - The pluginvoid insertAppointmentResponse(int nIdAppointment,
int nIdResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAppointment - The id of the appointmentnIdResponse - The id of the responseplugin - The pluginList<Integer> findListIdResponse(int nIdAppointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAppointment - the id of the appointmentplugin - the pluginvoid deleteAppointmentResponse(int nIdAppointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAppointment - The id of the appointmentplugin - The pluginint countAppointmentsByIdForm(int nIdForm,
Date date,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - The id of the formdate - The minimum date of appointments to considerplugin - The pluginvoid removeAppointmentResponsesByIdResponse(int nIdResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdResponse - The id of the responseplugin - The pluginint findIdAppointmentByIdResponse(int nIdResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdResponse - The id of the responseplugin - The pluginCopyright © 2015 Mairie de Paris. All rights reserved.