Class SlotListenerManager

java.lang.Object
fr.paris.lutece.plugins.appointment.service.listeners.SlotListenerManager

public final class SlotListenerManager extends Object
Manager for slot listeners Listeners are started by another thread asynchronously. Currently we have a problem with the propagation of the BDDS transaction when launching a workflow task that triggers the listener
  • Method Details

    • notifyListenersSlotCreation

      public static void notifyListenersSlotCreation(int nIdSlot)
      Notify listeners that a Slot has been created
      Parameters:
      nIdSlot - The id of the Slot that has been created
    • notifyListenersSlotChange

      public static void notifyListenersSlotChange(int nIdSlot)
      Notify listeners that a Slot has been changed
      Parameters:
      nIdSlot - The id of the Slot that has been changed
    • notifyListenersSlotRemoval

      public static void notifyListenersSlotRemoval(Slot slot)
      Notify listeners that a Slot is about to be removed
      Parameters:
      slot - The slot that will be removed
    • notifySlotEndingTimeHasChanged

      public static void notifySlotEndingTimeHasChanged(int nIdSlot, int nIdForm, LocalDateTime endingDateTime)
      Notify the listener that a date of ending slot has changed
      Parameters:
      nIdSlot - the id of the slot * @param nIdFom the id form
      endingDateTime - the ending date time