public interface IAppointmentDAO
Modifier and Type | Field and Description |
---|---|
static String |
BEAN_NAME
The name of the bean of the DAO
|
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
|
static final String BEAN_NAME
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 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> findByIdSlot(int nIdSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdSlot
- the 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 pluginCopyright © 2020 City of Paris. All rights reserved.