public final class AppointmentDAO extends UtilDAO implements IAppointmentDAO
BEAN_NAME| 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> |
findByFilter(AppointmentFilterDTO appointmentFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a list of appointments matching the filter
|
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
|
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
|
void |
update(Appointment appointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
getNewPrimaryKeypublic 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 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> findByIdSlot(int nIdSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IAppointmentDAOfindByIdSlot in interface IAppointmentDAOnIdSlot - the 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> findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IAppointmentDAOfindByIdForm in interface IAppointmentDAOnIdForm - the form idplugin - the pluginCopyright © 2020 City of Paris. All rights reserved.