public final class AppointmentDAO extends Object implements IAppointmentDAO
| Constructor and Description |
|---|
AppointmentDAO() |
| 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
|
public void insert(Appointment appointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IAppointmentDAOinsert in interface IAppointmentDAOappointment - instance of the appointment object to insertplugin - the pluginpublic void update(Appointment appointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IAppointmentDAOupdate in interface IAppointmentDAOappointment - the reference of the appointmentplugin - the pluginpublic void updateAppointmentDate(Appointment appointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IAppointmentDAOupdateAppointmentDate in interface IAppointmentDAOappointment - the appointmentplugin - the pluginpublic void delete(int nIdAppointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IAppointmentDAOdelete in interface IAppointmentDAOnIdAppointment - int identifier of the appointment to deleteplugin - the pluginpublic Appointment select(int nIdAppointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IAppointmentDAOselect in interface IAppointmentDAOnIdAppointment - the identifier of the appointmentplugin - the pluginpublic List<Appointment> findByIdUser(int nIdUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IAppointmentDAOfindByIdUser in interface IAppointmentDAOnIdUser - the User Idplugin - the Pluginpublic List<Appointment> findByGuidUser(String strGuidUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IAppointmentDAOfindByGuidUser in interface IAppointmentDAOstrGuidUser - the User Guidplugin - the Pluginpublic List<Appointment> findByIdSlot(int nIdSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IAppointmentDAOfindByIdSlot in interface IAppointmentDAOnIdSlot - the Slot Idplugin - the pluginpublic List<Appointment> findByListIdSlot(List<Integer> listIdSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IAppointmentDAOfindByListIdSlot in interface IAppointmentDAOlistIdSlot - the list Slot Idplugin - the pluginpublic Appointment findByReference(String strReference, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IAppointmentDAOfindByReference in interface IAppointmentDAOstrReference - the appointment referenceplugin - the pluginpublic List<Appointment> findByFilter(AppointmentFilterDTO appointmentFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IAppointmentDAOfindByFilter in interface IAppointmentDAOappointmentFilter - the filterplugin - the pluginpublic List<Appointment> findByCategoryAndMail(int nIdCategory, String mail, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IAppointmentDAOfindByCategoryAndMail in interface IAppointmentDAOnIdCategory - the id categorymail - the mailplugin - the pluginpublic List<Appointment> findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IAppointmentDAOfindByIdForm in interface IAppointmentDAOnIdForm - the form idplugin - the pluginpublic List<Integer> selectAllAppointmentId(fr.paris.lutece.portal.service.plugin.Plugin plugin)
IAppointmentDAOselectAllAppointmentId in interface IAppointmentDAOCopyright © 2023 City of Paris. All rights reserved.