public class IndexingSlotService extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteSlotsForm(fr.paris.lutece.plugins.elasticdata.business.DataSource dataSource,
int nIdForm)
Delete list slot of the form in the index
|
static void |
indexForm(fr.paris.lutece.plugins.elasticdata.business.DataSource dataSource,
fr.paris.lutece.plugins.appointment.web.dto.AppointmentFormDTO apptFormDTO)
Index the form and the slots in elastic-searche
|
static void |
indexFormByDateRange(fr.paris.lutece.plugins.elasticdata.business.DataSource dataSource,
fr.paris.lutece.plugins.appointment.web.dto.AppointmentFormDTO apptFormDTO,
LocalDate startingDate,
LocalDate endingDate)
Index the form and the slots in elastic-searche
|
static void |
indexSlot(int nIdSlot,
fr.paris.lutece.plugins.elasticdata.business.DataSource dataSource)
Index the slot (and the related form to have the good number of available places) in elasticsearch
|
public static void indexForm(fr.paris.lutece.plugins.elasticdata.business.DataSource dataSource,
fr.paris.lutece.plugins.appointment.web.dto.AppointmentFormDTO apptFormDTO)
dataSource - the data sourceapptFormdto - the formpublic static void indexFormByDateRange(fr.paris.lutece.plugins.elasticdata.business.DataSource dataSource,
fr.paris.lutece.plugins.appointment.web.dto.AppointmentFormDTO apptFormDTO,
LocalDate startingDate,
LocalDate endingDate)
dataSource - the data sourceapptFormdto - the formpublic static void indexSlot(int nIdSlot,
fr.paris.lutece.plugins.elasticdata.business.DataSource dataSource)
nIdSlot - the id slotdataSource - the data sourcepublic static void deleteSlotsForm(fr.paris.lutece.plugins.elasticdata.business.DataSource dataSource,
int nIdForm)
dataSource - the data sourcenIdForm - the form idCopyright © 2022 City of Paris. All rights reserved.