Class SolrAppointmentListener

java.lang.Object
fr.paris.lutece.plugins.appointment.modules.solr.service.SolrAppointmentListener

@ApplicationScoped public class SolrAppointmentListener extends Object
Appointment listeners for Solr. All observer methods use @ObservesAsync because the appointment plugin fires all events with fireAsync(). The CDI container handles the async execution — no manual threading needed.
Author:
Laurent Payen
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onFormChanged(fr.paris.lutece.plugins.appointment.service.event.FormEvent event)
    Observes form creation and change events
    void
    onFormRemoved(fr.paris.lutece.plugins.appointment.service.event.AppointmentFormRemovalEvent event)
    Observes form removal events
    void
    onSlotChanged(fr.paris.lutece.plugins.appointment.service.event.SlotEvent event)
    Observes slot creation and change events
    void
    onSlotEndingTimeChanged(fr.paris.lutece.plugins.appointment.service.event.SlotEndingTimeChangedEvent event)
    Observes slot ending time change events
    void
    onWeekDefinitionChanged(fr.paris.lutece.plugins.appointment.service.event.WeekDefinitionEvent event)
    Observes week definition events (assigned, unassigned, list changed)

    Methods inherited from class java.lang.Object

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

    • SolrAppointmentListener

      public SolrAppointmentListener()
  • Method Details

    • onSlotChanged

      public void onSlotChanged(@ObservesAsync fr.paris.lutece.plugins.appointment.service.event.SlotEvent event)
      Observes slot creation and change events
      Parameters:
      event - the slot event
    • onSlotEndingTimeChanged

      public void onSlotEndingTimeChanged(@ObservesAsync fr.paris.lutece.plugins.appointment.service.event.SlotEndingTimeChangedEvent event)
      Observes slot ending time change events
      Parameters:
      event - the slot ending time changed event
    • onFormChanged

      public void onFormChanged(@ObservesAsync fr.paris.lutece.plugins.appointment.service.event.FormEvent event)
      Observes form creation and change events
      Parameters:
      event - the form event
    • onFormRemoved

      public void onFormRemoved(@ObservesAsync fr.paris.lutece.plugins.appointment.service.event.AppointmentFormRemovalEvent event)
      Observes form removal events
      Parameters:
      event - the form removal event
    • onWeekDefinitionChanged

      public void onWeekDefinitionChanged(@ObservesAsync fr.paris.lutece.plugins.appointment.service.event.WeekDefinitionEvent event)
      Observes week definition events (assigned, unassigned, list changed)
      Parameters:
      event - the week definition event