Class SlotListenerManager
java.lang.Object
fr.paris.lutece.plugins.appointment.service.listeners.SlotListenerManager
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 Summary
Modifier and TypeMethodDescriptionstatic voidnotifyListenersSlotChange(int nIdSlot) Notify listeners that a Slot has been changedstatic voidnotifyListenersSlotCreation(int nIdSlot) Notify listeners that a Slot has been createdstatic voidNotify listeners that a Slot is about to be removedstatic voidnotifySlotEndingTimeHasChanged(int nIdSlot, int nIdForm, LocalDateTime endingDateTime) Notify the listener that a date of ending slot has changed
-
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
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 formendingDateTime- the ending date time
-