public interface IAppointmentDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdAppointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
List<Appointment> |
findByCategoryAndMail(int nIdCategory,
String mail,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find a list of appointments by id category and mail
|
List<Appointment> |
findByFilter(AppointmentFilterDTO appointmentFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a list of appointments matching the filter
|
List<Appointment> |
findByGuidUser(String strGuidUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the appointments of a user by Guid
|
List<Appointment> |
findByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a list of all the appointment of a form
|
List<Appointment> |
findByIdSlot(int nIdSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the appointments of a slot
|
List<Appointment> |
findByIdUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the appointments of a user
|
List<Appointment> |
findByListIdSlot(List<Integer> listIdSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the list of appointments of a slot
|
Appointment |
findByReference(String strReference,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the appointment with its reference
|
void |
insert(Appointment appointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table
|
Appointment |
select(int nIdAppointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<Integer> |
selectAllAppointmentId(fr.paris.lutece.portal.service.plugin.Plugin plugin)
returns a list of all appointment ids.
|
void |
update(Appointment appointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void |
updateAppointmentDate(Appointment appointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update date appointment, update AppointmentSlot
|
void insert(Appointment appointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
appointment - instance of the appointment object to insertplugin - the pluginvoid update(Appointment appointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
appointment - the reference of the appointmentplugin - the pluginvoid updateAppointmentDate(Appointment appointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
appointment - 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 select(int nIdAppointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAppointment - the identifier of the appointmentplugin - the pluginList<Appointment> findByIdUser(int nIdUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdUser - the User Idplugin - the PluginList<Appointment> findByGuidUser(String strGuidUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strGuidUser - the User Guidplugin - the PluginList<Appointment> findByIdSlot(int nIdSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdSlot - the Slot Idplugin - the pluginList<Appointment> findByListIdSlot(List<Integer> listIdSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
listIdSlot - the list Slot Idplugin - the pluginAppointment findByReference(String strReference, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strReference - the appointment referenceplugin - the pluginList<Appointment> findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - the form idplugin - the pluginList<Appointment> findByFilter(AppointmentFilterDTO appointmentFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
appointmentFilter - the filterplugin - the pluginList<Appointment> findByCategoryAndMail(int nIdCategory, String mail, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdCategory - the id categorymail - the mailplugin - the pluginCopyright © 2021 City of Paris. All rights reserved.