public interface ISlotListener
Interface for listeners that should be notified when slot has been changed, created or removed. The listener must be a Spring bean.
Author:
Laurent Payen
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    notifySlotChange(int nIdSlot)
    Notify the listener that a slot has been changed
    void
    notifySlotCreation(int nIdSlot)
    Notify the listener that a new week slot has been created
    void
    notifySlotEndingTimeHasChanged(int nIdSlot, int nIdFom, LocalDateTime endingDateTime)
    Notify the listener that a date of ending slot has changed
    void
    Notify the listener that a slot has been deleted
  • Method Details

    • notifySlotChange

      void notifySlotChange(int nIdSlot)
      Notify the listener that a slot has been changed
      Parameters:
      nIdSlot - The id of the slot
    • notifySlotCreation

      void notifySlotCreation(int nIdSlot)
      Notify the listener that a new week slot has been created
      Parameters:
      nIdSlot - The id of the slot
    • notifySlotRemoval

      void notifySlotRemoval(Slot slot)
      Notify the listener that a slot has been deleted
      Parameters:
      slot - the slot
    • notifySlotEndingTimeHasChanged

      void notifySlotEndingTimeHasChanged(int nIdSlot, int nIdFom, 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