Class AppointmentResponseDAO

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.Integer> 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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 java.util.List<java.lang.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