public final class SlotUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<fr.paris.lutece.plugins.appointment.business.slot.Slot> |
getAllSlots(fr.paris.lutece.plugins.appointment.business.AppointmentForm appointmentForm)
Get all the slots of a form by calling the method buildListSlot of the plugin RDV
|
static fr.paris.lutece.plugins.search.solr.indexer.SolrItem |
getSlotItem(fr.paris.lutece.plugins.appointment.business.AppointmentForm appointmentForm,
fr.paris.lutece.plugins.appointment.business.slot.Slot slot)
Build and return the slot Item for Solr
|
static String |
getSlotUid(fr.paris.lutece.plugins.appointment.business.slot.Slot slot)
Generate a unique ID for solr.
|
static String |
getSlotUrl(fr.paris.lutece.plugins.appointment.business.slot.Slot slot)
Get the slot url to call directly rdv v2 with the good parameters
|
public static String getSlotUid(fr.paris.lutece.plugins.appointment.business.slot.Slot slot)
public static String getSlotUrl(fr.paris.lutece.plugins.appointment.business.slot.Slot slot)
slot - the slotpublic static fr.paris.lutece.plugins.search.solr.indexer.SolrItem getSlotItem(fr.paris.lutece.plugins.appointment.business.AppointmentForm appointmentForm,
fr.paris.lutece.plugins.appointment.business.slot.Slot slot)
throws IOException
appointmentForm - the Appointment Formslot - the slotIOExceptionpublic static List<fr.paris.lutece.plugins.appointment.business.slot.Slot> getAllSlots(fr.paris.lutece.plugins.appointment.business.AppointmentForm appointmentForm)
appointmentForm - the appointment formCopyright © 2018 City of Paris. All rights reserved.