Class AppointmentPopupContentProvider

java.lang.Object
fr.paris.lutece.plugins.appointment.modules.leaflet.service.AppointmentPopupContentProvider
All Implemented Interfaces:
fr.paris.lutece.plugins.leaflet.rest.service.IPopupContentProvider

@ApplicationScoped @Named("leaflet-rest-popup-provider-appointment") public class AppointmentPopupContentProvider extends Object implements fr.paris.lutece.plugins.leaflet.rest.service.IPopupContentProvider
  • Constructor Details

    • AppointmentPopupContentProvider

      public AppointmentPopupContentProvider()
  • Method Details

    • getPopup

      public String getPopup(jakarta.servlet.http.HttpServletRequest request, String strIdDocument, String strCode)
      Build the popup of an appointment form on the map: its title, its address and its first bookable slot.
      Specified by:
      getPopup in interface fr.paris.lutece.plugins.leaflet.rest.service.IPopupContentProvider
      Parameters:
      request - the request
      strIdDocument - the id of the appointment form
      strCode - the code of the layer
      Returns:
      the HTML of the popup, or an empty string for an unknown form