public final class AppointmentResponseDAO extends UtilDAO implements IAppointmentResponseDAO
BEAN_NAME
Constructor and Description |
---|
AppointmentResponseDAO() |
Modifier and Type | Method and Description |
---|---|
List<Integer> |
findListIdResponse(int nIdAppointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of id of responses associated with an appointment
|
void |
insertAppointmentResponse(int nIdAppointment,
int nIdResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Associates a response to an appointment
|
void |
removeAppointmentResponseByIdResponse(int nIdResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove an appointment responses from the id of a response.
|
getNewPrimaryKey
public void insertAppointmentResponse(int nIdAppointment, int nIdResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IAppointmentResponseDAO
insertAppointmentResponse
in interface IAppointmentResponseDAO
nIdAppointment
- The id of the appointmentnIdResponse
- The id of the responseplugin
- The pluginpublic void removeAppointmentResponseByIdResponse(int nIdResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IAppointmentResponseDAO
removeAppointmentResponseByIdResponse
in interface IAppointmentResponseDAO
nIdResponse
- The id of the responseplugin
- The pluginpublic List<Integer> findListIdResponse(int nIdAppointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IAppointmentResponseDAO
findListIdResponse
in interface IAppointmentResponseDAO
nIdAppointment
- the id of the appointmentplugin
- the pluginCopyright © 2020 City of Paris. All rights reserved.