java.lang.Object
fr.paris.lutece.plugins.appointment.modules.resource.service.listeners.AppointmentResourceListener

@ApplicationScoped public class AppointmentResourceListener extends Object
CDI event listener for appointment resources. Cleans up resource associations when appointments are removed or rescheduled.
  • Constructor Details

    • AppointmentResourceListener

      public AppointmentResourceListener()
  • Method Details

    • onAppointmentRemoved

      public void onAppointmentRemoved(@ObservesAsync fr.paris.lutece.plugins.appointment.service.event.AppointmentEvent event)
      Handle appointment removal by deleting associated resources.
      Parameters:
      event - The appointment removal event
    • onAppointmentDateChanged

      public void onAppointmentDateChanged(@ObservesAsync fr.paris.lutece.plugins.appointment.service.event.AppointmentDateChangedEvent event)
      Handle appointment date change by deleting associated resources.
      Parameters:
      event - The appointment date changed event