Class AppointmentSlotsService

java.lang.Object
fr.paris.lutece.plugins.appointment.modules.rest.service.AppointmentSlotsService

@ApplicationScoped public class AppointmentSlotsService extends Object
  • Field Details

  • Constructor Details

    • AppointmentSlotsService

      public AppointmentSlotsService()
  • Method Details

    • init

      @PostConstruct public void init()
    • getAvailableTimeSlotsAsList

      public Map<String,List<InfoSlot>> getAvailableTimeSlotsAsList(AppointmentSlotsSearchPOJO search) throws fr.paris.lutece.util.httpaccess.HttpAccessException, com.fasterxml.jackson.core.JsonProcessingException
      Get the available slots of the searched meeting points, grouped by meeting point.
      Parameters:
      search - the search
      Returns:
      the slots of each meeting point
      Throws:
      fr.paris.lutece.util.httpaccess.HttpAccessException - if the search engine cannot be reached
      com.fasterxml.jackson.core.JsonProcessingException - if its answer cannot be read
    • buildUrl

      public String buildUrl(String strUrl, Integer nbPlaceToTake)