public final class AppointmentResponseService extends Object
Modifier and Type | Method and Description |
---|---|
static Map<Integer,List<fr.paris.lutece.plugins.genericattributes.business.Response>> |
buildMapFromListResponse(List<fr.paris.lutece.plugins.genericattributes.business.Response> listResponse)
Build a map from the list response
|
static List<fr.paris.lutece.plugins.genericattributes.business.Response> |
findAndBuildListResponse(int nIdAppointment,
javax.servlet.http.HttpServletRequest request)
Find and build all the response of an appointment
|
static List<Integer> |
findListIdResponse(int nIdAppointment)
Return the list of the id of the response of the appointment
|
static List<fr.paris.lutece.plugins.genericattributes.business.Response> |
findListResponse(int nIdAppointment)
Return the list of the responses of the appointment
|
static void |
insertAppointmentResponse(int nIdAppointment,
int nIdResponse)
Associate a response to an appointment
|
static void |
removeResponseById(int nIdResponse)
Remove the responses for the given entry
|
static void |
removeResponsesByIdAppointment(int nIdAppointment)
Remove all the response of an appointment
|
public static void insertAppointmentResponse(int nIdAppointment, int nIdResponse)
nIdAppointment
- the appointmentnIdResponse
- the responsepublic static void removeResponseById(int nIdResponse)
nIdEntry
- the entrypublic static List<fr.paris.lutece.plugins.genericattributes.business.Response> findListResponse(int nIdAppointment)
nIdAppointment
- the appointment idpublic static List<Integer> findListIdResponse(int nIdAppointment)
nIdAppointment
- the appointment idpublic static List<fr.paris.lutece.plugins.genericattributes.business.Response> findAndBuildListResponse(int nIdAppointment, javax.servlet.http.HttpServletRequest request)
nIdAppointment
- the appointment idrequest
- the requestpublic static Map<Integer,List<fr.paris.lutece.plugins.genericattributes.business.Response>> buildMapFromListResponse(List<fr.paris.lutece.plugins.genericattributes.business.Response> listResponse)
listResponse
- the list responsepublic static void removeResponsesByIdAppointment(int nIdAppointment)
nIdAppointment
- the id of the appointmentCopyright © 2018 City of Paris. All rights reserved.