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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<Integer>findListIdResponse(int nIdAppointment)Get the list of the response id of an appointmentstatic List<fr.paris.lutece.plugins.genericattributes.business.Response>findListResponse(int nIdAppointment)Get the list of responses associated with an appointmentstatic voidinsertAppointmentResponse(int nIdAppointment, int nIdResponse)Associate a response to an appointmentstatic voidremoveResponsesById(int nIdResponse)Remove every appointment responses associated with a given entry.
-
-
-
Method Detail
-
insertAppointmentResponse
public static void insertAppointmentResponse(int nIdAppointment, int nIdResponse)Associate a response to an appointment- Parameters:
nIdAppointment- the appointmentnIdResponse- 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
-
-