Class AppointmentSlotsService
java.lang.Object
fr.paris.lutece.plugins.appointment.modules.rest.service.AppointmentSlotsService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LUTECE_BASE_URL
- See Also:
-
-
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 reachedcom.fasterxml.jackson.core.JsonProcessingException- if its answer cannot be read
-
buildUrl
-