Class AppointmentResponseDAO

    • Constructor Detail

      • AppointmentResponseDAO

        public AppointmentResponseDAO()
    • Method Detail

      • 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