java.lang.Object
fr.paris.lutece.plugins.appointment.service.event.SlotEvent

public class SlotEvent extends Object
CDI event fired when a slot is created, changed or removed.
  • Constructor Details

    • SlotEvent

      public SlotEvent(int nIdSlot)
      Constructor for CREATE and UPDATE events
      Parameters:
      nIdSlot - The slot id
    • SlotEvent

      public SlotEvent(Slot slot)
      Constructor for REMOVE events
      Parameters:
      slot - The slot being removed
  • Method Details

    • getIdSlot

      public int getIdSlot()
      Returns:
      the slot id
    • getSlot

      public Slot getSlot()
      Returns:
      the slot object (only set for REMOVE events, null otherwise)