Class SlotListenerManager


  • public final class SlotListenerManager
    extends java.lang.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 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,
                                                          java.time.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