Class AppointmentResponseDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.appointment.business.appointment.AppointmentResponseDAO
-
- All Implemented Interfaces:
IAppointmentResponseDAO
public final class AppointmentResponseDAO extends Object implements IAppointmentResponseDAO
Appointment Response DAO- Author:
- Laurent Payen
-
-
Constructor Summary
Constructors Constructor Description AppointmentResponseDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Integer>findListIdResponse(int nIdAppointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)Get the list of id of responses associated with an appointmentvoidinsertAppointmentResponse(int nIdAppointment, int nIdResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)Associates a response to an appointmentvoidremoveAppointmentResponseByIdResponse(int nIdResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove an appointment responses from the id of a response.
-
-
-
Method Detail
-
insertAppointmentResponse
public void insertAppointmentResponse(int nIdAppointment, int nIdResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)Description copied from interface:IAppointmentResponseDAOAssociates a response to an appointment- Specified by:
insertAppointmentResponsein interfaceIAppointmentResponseDAO- Parameters:
nIdAppointment- The id of the appointmentnIdResponse- The id of the responseplugin- The plugin
-
removeAppointmentResponseByIdResponse
public void removeAppointmentResponseByIdResponse(int nIdResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)Description copied from interface:IAppointmentResponseDAORemove an appointment responses from the id of a response.- Specified by:
removeAppointmentResponseByIdResponsein interfaceIAppointmentResponseDAO- Parameters:
nIdResponse- The id of the responseplugin- The plugin
-
findListIdResponse
public List<Integer> findListIdResponse(int nIdAppointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:IAppointmentResponseDAOGet the list of id of responses associated with an appointment- Specified by:
findListIdResponsein interfaceIAppointmentResponseDAO- Parameters:
nIdAppointment- the id of the appointmentplugin- the plugin- Returns:
- the list of responses, or an empty list if no response was found
-
-