public final class SlotUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
calculateConsecutiveSlots(fr.paris.lutece.plugins.appointment.business.slot.Slot slot,
List<fr.paris.lutece.plugins.appointment.business.slot.Slot> allSlots) |
static List<fr.paris.lutece.plugins.appointment.business.slot.Slot> |
getAllSlots(fr.paris.lutece.plugins.appointment.web.dto.AppointmentFormDTO 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.web.dto.AppointmentFormDTO appointmentForm,
fr.paris.lutece.plugins.appointment.business.slot.Slot slot,
List<fr.paris.lutece.plugins.appointment.business.slot.Slot> allSlots)
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.web.dto.AppointmentFormDTO appointmentForm,
fr.paris.lutece.plugins.appointment.business.slot.Slot slot,
List<fr.paris.lutece.plugins.appointment.business.slot.Slot> allSlots)
appointmentForm - the Appointment Formslot - the slotpublic static List<fr.paris.lutece.plugins.appointment.business.slot.Slot> getAllSlots(fr.paris.lutece.plugins.appointment.web.dto.AppointmentFormDTO appointmentForm)
appointmentForm - the appointment formpublic static int calculateConsecutiveSlots(fr.paris.lutece.plugins.appointment.business.slot.Slot slot,
List<fr.paris.lutece.plugins.appointment.business.slot.Slot> allSlots)
Copyright © 2023 City of Paris. All rights reserved.