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 Details

    • AppointmentResponseDAO

      public AppointmentResponseDAO()
  • Method Details

    • insertAppointmentResponse

      public void insertAppointmentResponse(int nIdAppointment, int nIdResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: IAppointmentResponseDAO
      Associates a response to an appointment
      Specified by:
      insertAppointmentResponse in interface IAppointmentResponseDAO
      Parameters:
      nIdAppointment - The id of the appointment
      nIdResponse - The id of the response
      plugin - The plugin
    • removeAppointmentResponseByIdResponse

      public void removeAppointmentResponseByIdResponse(int nIdResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: IAppointmentResponseDAO
      Remove an appointment responses from the id of a response.
      Specified by:
      removeAppointmentResponseByIdResponse in interface IAppointmentResponseDAO
      Parameters:
      nIdResponse - The id of the response
      plugin - The plugin
    • findListIdResponse

      public List<Integer> findListIdResponse(int nIdAppointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: IAppointmentResponseDAO
      Get the list of id of responses associated with an appointment
      Specified by:
      findListIdResponse in interface IAppointmentResponseDAO
      Parameters:
      nIdAppointment - the id of the appointment
      plugin - the plugin
      Returns:
      the list of responses, or an empty list if no response was found