Class DisplayService
- java.lang.Object
-
- fr.paris.lutece.plugins.appointment.service.DisplayService
-
public final class DisplayService extends java.lang.ObjectService class for the display- Author:
- Laurent Payen
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
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
public static Display createDisplay(AppointmentFormDTO appointmentForm, int nIdForm)
Create a display object from an appointment form DTO- Parameters:
appointmentForm- the appointment form DTOnIdForm- the form Id- Returns:
- the display object created
-
saveDisplay
public static void saveDisplay(Display display)
Save a display of a form- Parameters:
display- the display to save
-
updateDisplay
public static Display updateDisplay(AppointmentFormDTO appointmentForm, int nIdForm)
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
public static Display findDisplayWithFormId(int nIdForm)
Find the display of the form- Parameters:
nIdForm- the form Id- Returns:
- the display of the form
-
-