Class AppointmentResponseHome

java.lang.Object
fr.paris.lutece.plugins.appointment.business.appointment.AppointmentResponseHome

public final class AppointmentResponseHome extends Object
Appointment Response Home
Author:
Laurent Payen
  • Method Details

    • insertAppointmentResponse

      public static void insertAppointmentResponse(int nIdAppointment, int nIdResponse)
      Associate a response to an appointment
      Parameters:
      nIdAppointment - the appointment
      nIdResponse - the response
    • removeResponsesById

      public static void removeResponsesById(int nIdResponse)
      Remove every appointment responses associated with a given entry.
      Parameters:
      nIdEntry - The id of the entry
    • findListResponse

      public static List<fr.paris.lutece.plugins.genericattributes.business.Response> findListResponse(int nIdAppointment)
      Get the list of responses associated with an appointment
      Parameters:
      nIdAppointment - the id of the appointment
      Returns:
      the list of responses, or an empty list if no response was found
    • findListIdResponse

      public static List<Integer> findListIdResponse(int nIdAppointment)
      Get the list of the response id of an appointment
      Parameters:
      nIdAppointment - the id of the appointment
      Returns:
      the list of the id.