java.lang.Object
fr.paris.lutece.plugins.appointment.modules.rest.business.providers.SolrProvider
All Implemented Interfaces:
IAppointmentDataProvider

@ApplicationScoped public class SolrProvider extends Object implements IAppointmentDataProvider
  • Constructor Details

    • SolrProvider

      public SolrProvider()
  • Method Details

    • getName

      public String getName()
      Description copied from interface: IAppointmentDataProvider
      get provider name
      Specified by:
      getName in interface IAppointmentDataProvider
      Returns:
    • init

      @PostConstruct public void init()
    • getAvailableTimeSlot

      public String getAvailableTimeSlot(List<String> appointmentIds, LocalDate startDate, LocalDate endDate, Integer documentNumber) throws fr.paris.lutece.util.httpaccess.HttpAccessException, com.fasterxml.jackson.core.JsonProcessingException
      Description copied from interface: IAppointmentDataProvider
      getAvailableTimeSlot returns available time slots.
      Specified by:
      getAvailableTimeSlot in interface IAppointmentDataProvider
      Returns:
      a JSON string
      Throws:
      fr.paris.lutece.util.httpaccess.HttpAccessException
      com.fasterxml.jackson.core.JsonProcessingException
    • getManagedMeetingPoints

      public String getManagedMeetingPoints() throws fr.paris.lutece.util.httpaccess.HttpAccessException
      Description copied from interface: IAppointmentDataProvider
      getManagedMeetingPoints returns the list of Meeting Points we handle
      Specified by:
      getManagedMeetingPoints in interface IAppointmentDataProvider
      Returns:
      a JSON string
      Throws:
      fr.paris.lutece.util.httpaccess.HttpAccessException
    • encoder

      public static String encoder(String strSource)
    • getEncoding

      public static String getEncoding()