Interface IAppointmentResponseDAO
- All Known Implementing Classes:
AppointmentResponseDAO
public interface IAppointmentResponseDAO
Appointment Response DAO Interface
- Author:
- Laurent Payen
-
Method Summary
Modifier and TypeMethodDescriptionfindListIdResponse(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 Details
-
insertAppointmentResponse
void insertAppointmentResponse(int nIdAppointment, int nIdResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin) Associates a response to an appointment- Parameters:
nIdAppointment- The id of the appointmentnIdResponse- The id of the responseplugin- The plugin
-
removeAppointmentResponseByIdResponse
void removeAppointmentResponseByIdResponse(int nIdResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove an appointment responses from the id of a response.- Parameters:
nIdResponse- The id of the responseplugin- The plugin
-
findListIdResponse
List<Integer> findListIdResponse(int nIdAppointment, fr.paris.lutece.portal.service.plugin.Plugin plugin) Get the list of id of responses associated with an appointment- Parameters:
nIdAppointment- the id of the appointmentplugin- the plugin- Returns:
- the list of responses, or an empty list if no response was found
-