public final class FormRuleService extends Object
Modifier and Type | Method and Description |
---|---|
static FormRule |
createFormRule(AppointmentForm appointmentForm,
int nIdForm)
Create a form rule from an appointment form DTO
|
static void |
fillInFormRule(FormRule formRule,
AppointmentForm appointmentForm,
int nIdForm)
Fill the form rule part with the appointment DTO
|
static FormRule |
findFormRuleWithFormId(int nIdForm)
Find the rules of a form
|
static void |
saveFormRule(FormRule formRule)
Save a form rule
|
static FormRule |
updateFormRule(AppointmentForm appointmentForm,
int nIdForm)
Update a form rule object with the values of an appointmentForm DTO
|
public static void fillInFormRule(FormRule formRule, AppointmentForm appointmentForm, int nIdForm)
formRule
- the Form Rull to fillappointmentForm
- the AppointmentForm DTOnIdForm
- the Form Idpublic static FormRule createFormRule(AppointmentForm appointmentForm, int nIdForm)
appointmentForm
- the appointmentForm DTOnIdForm
- the form Idpublic static void saveFormRule(FormRule formRule)
formRule
- the form rule to savepublic static FormRule updateFormRule(AppointmentForm appointmentForm, int nIdForm)
appointmentForm
- the apointmentForm DTOnIdForm
- the form Idpublic static FormRule findFormRuleWithFormId(int nIdForm)
nIdForm
- the form IdCopyright © 2018 City of Paris. All rights reserved.