public final class FormUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PARAMETER_ID_FORM |
Modifier and Type | Method and Description |
---|---|
static fr.paris.lutece.plugins.search.solr.indexer.SolrItem |
getDefaultFormItem(fr.paris.lutece.plugins.appointment.web.dto.AppointmentFormDTO appointmentForm)
Build and return the default form item for Solr
|
static fr.paris.lutece.plugins.search.solr.indexer.SolrItem |
getFormItem(fr.paris.lutece.plugins.appointment.web.dto.AppointmentFormDTO appointmentForm,
List<fr.paris.lutece.plugins.appointment.business.slot.Slot> listSlots)
Build and return the Form Item for Solr
|
static String |
getFormUid(int nIdForm)
Get the form Uid
|
static String |
getFormUrl(int nIdForm)
Get the form url
|
public static final String PARAMETER_ID_FORM
public static String getFormUid(int nIdForm)
nIdForm
- the form idpublic static String getFormUrl(int nIdForm)
nIdForm
- the form idpublic static fr.paris.lutece.plugins.search.solr.indexer.SolrItem getDefaultFormItem(fr.paris.lutece.plugins.appointment.web.dto.AppointmentFormDTO appointmentForm) throws IOException
appointmentForm
- the appointment formIOException
public static fr.paris.lutece.plugins.search.solr.indexer.SolrItem getFormItem(fr.paris.lutece.plugins.appointment.web.dto.AppointmentFormDTO appointmentForm, List<fr.paris.lutece.plugins.appointment.business.slot.Slot> listSlots) throws IOException
appointmentForm
- the Appointment FormlistSlots
- the list of the slots of the formIOException
Copyright © 2018 City of Paris. All rights reserved.