Class DisplayService
java.lang.Object
fr.paris.lutece.plugins.appointment.service.DisplayService
Service class for the display
- Author:
- Laurent Payen
-
Method Summary
Modifier and TypeMethodDescriptionstatic DisplaycreateDisplay(AppointmentFormDTO appointmentForm, int nIdForm) Create a display object from an appointment form DTOstatic DisplayfillInDisplayWithAppointmentForm(Display display, AppointmentFormDTO appointmentForm, int nIdForm) Fill a display object with the appointment form DTOstatic DisplayfindDisplayWithFormId(int nIdForm) Find the display of the formstatic voidsaveDisplay(Display display) Save a display of a formstatic DisplayupdateDisplay(AppointmentFormDTO appointmentForm, int nIdForm) Update a display object with the values of an appointment form DTO
-
Method Details
-
fillInDisplayWithAppointmentForm
public static Display fillInDisplayWithAppointmentForm(Display display, AppointmentFormDTO appointmentForm, int nIdForm) Fill a display object with the appointment form DTO- Parameters:
display- the display objectappointmentForm- the appointmentform DTOnIdForm- the form Id- Returns:
- the display overload
-
createDisplay
Create a display object from an appointment form DTO- Parameters:
appointmentForm- the appointment form DTOnIdForm- the form Id- Returns:
- the display object created
-
saveDisplay
Save a display of a form- Parameters:
display- the display to save
-
updateDisplay
Update a display object with the values of an appointment form DTO- Parameters:
appointmentForm- the appointment form DTOnIdForm- the form Id- Returns:
- the display object updated
-
findDisplayWithFormId
Find the display of the form- Parameters:
nIdForm- the form Id- Returns:
- the display of the form
-