|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAppointmentDAO
IAppointmentDAO Interface
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
void insert(Appointment appointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
appointment - instance of the Appointment object to insertplugin - the Plugin
void store(Appointment appointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
appointment - the reference of the Appointmentplugin - the Plugin
void delete(int nIdAppointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAppointment - int identifier of the Appointment to deleteplugin - the Plugin
Appointment load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the appointmentplugin - the Plugin
List<Appointment> selectAppointmentsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Plugin
List<Appointment> selectAppointmentsListByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - the id of the formplugin - the Plugin
List<Appointment> selectAppointmentListByFilter(AppointmentFilter appointmentFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
appointmentFilter - The filter appointments must matchplugin - The plugin
List<Integer> selectAppointmentIdByFilter(AppointmentFilter appointmentFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
appointmentFilter - The filter appointments must matchplugin - The plugin
List<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 plugin
int 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 plugin
void 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 plugin
List<Integer> findListIdResponse(int nIdAppointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAppointment - the id of the appointmentplugin - the plugin
void deleteAppointmentResponse(int nIdAppointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAppointment - The id of the appointmentplugin - The plugin
int 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 plugin
void removeAppointmentResponsesByIdResponse(int nIdResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdResponse - The id of the responseplugin - The plugin
int findIdAppointmentByIdResponse(int nIdResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdResponse - The id of the responseplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||