Interface IAppointmentResponseDAO

All Known Implementing Classes:
AppointmentResponseDAO

public interface IAppointmentResponseDAO
Appointment Response DAO Interface
Author:
Laurent Payen
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
  • 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 appointment
      nIdResponse - The id of the response
      plugin - 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 response
      plugin - 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 appointment
      plugin - the plugin
      Returns:
      the list of responses, or an empty list if no response was found