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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidnotifyListenersSlotChange(int nIdSlot)Notify listeners that a Slot has been changedstatic voidnotifyListenersSlotCreation(int nIdSlot)Notify listeners that a Slot has been createdstatic voidnotifyListenersSlotRemoval(Slot slot)Notify 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 Detail
-
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 formendingDateTime- the ending date time
-
-