java.lang.Object
fr.paris.lutece.plugins.appointment.modules.management.service.indexer.LuceneAppointmentListener

@ApplicationScoped public class LuceneAppointmentListener extends Object
Keeps the appointment search index in step with the appointments of the plugin.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onAppointmentCreated(fr.paris.lutece.plugins.appointment.service.event.AppointmentEvent event)
    Index an appointment the plugin created (its events are fired asynchronously).
    void
    onAppointmentDateChanged(fr.paris.lutece.plugins.appointment.service.event.AppointmentDateChangedEvent event)
    Reindex an appointment moved to other slots.
    void
    onAppointmentRemoved(fr.paris.lutece.plugins.appointment.service.event.AppointmentEvent event)
    Remove from the index an appointment the plugin removed.
    void
    onAppointmentUpdated(fr.paris.lutece.plugins.appointment.service.event.AppointmentEvent event)
    Reindex an appointment the plugin updated.

    Methods inherited from class java.lang.Object

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

    • LuceneAppointmentListener

      public LuceneAppointmentListener()
  • Method Details

    • onAppointmentCreated

      public void onAppointmentCreated(@ObservesAsync fr.paris.lutece.plugins.appointment.service.event.AppointmentEvent event)
      Index an appointment the plugin created (its events are fired asynchronously).
      Parameters:
      event - the appointment event
    • onAppointmentUpdated

      public void onAppointmentUpdated(@ObservesAsync fr.paris.lutece.plugins.appointment.service.event.AppointmentEvent event)
      Reindex an appointment the plugin updated.
      Parameters:
      event - the appointment event
    • onAppointmentRemoved

      public void onAppointmentRemoved(@ObservesAsync fr.paris.lutece.plugins.appointment.service.event.AppointmentEvent event)
      Remove from the index an appointment the plugin removed.
      Parameters:
      event - the appointment event
    • onAppointmentDateChanged

      public void onAppointmentDateChanged(@ObservesAsync fr.paris.lutece.plugins.appointment.service.event.AppointmentDateChangedEvent event)
      Reindex an appointment moved to other slots.
      Parameters:
      event - the appointment event