Class AppointmentResponseHome
java.lang.Object
fr.paris.lutece.plugins.appointment.business.appointment.AppointmentResponseHome
Appointment Response Home
- Author:
- Laurent Payen
-
Method Summary
Modifier and TypeMethodDescriptionfindListIdResponse(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 Details
-
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
-
findListIdResponse
Get the list of the response id of an appointment- Parameters:
nIdAppointment- the id of the appointment- Returns:
- the list of the id.
-