java.lang.Object
fr.paris.lutece.plugins.elasticdata.modules.appointment.service.IndexingSlotService

public class IndexingSlotService extends Object
  • Method Summary

    Modifier and Type
    Method
    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

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • indexForm

      public 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
      Parameters:
      dataSource - the data source
      apptFormdto - the form
    • indexFormByDateRange

      public 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
      Parameters:
      dataSource - the data source
      apptFormdto - the form
    • indexSlot

      public 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
      Parameters:
      nIdSlot - the id slot
      dataSource - the data source
    • deleteSlotsForm

      public static void deleteSlotsForm(fr.paris.lutece.plugins.elasticdata.business.DataSource dataSource, int nIdForm)
      Delete list slot of the form in the index
      Parameters:
      dataSource - the data source
      nIdForm - the form id