Interface ISlotListener
-
public interface ISlotListenerInterface 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidnotifySlotChange(int nIdSlot)Notify the listener that a slot has been changedvoidnotifySlotCreation(int nIdSlot)Notify the listener that a new week slot has been createdvoidnotifySlotEndingTimeHasChanged(int nIdSlot, int nIdFom, LocalDateTime endingDateTime)Notify the listener that a date of ending slot has changedvoidnotifySlotRemoval(Slot slot)Notify the listener that a slot has been deleted
-
-
-
Method Detail
-
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 formendingDateTime- the ending date time
-
-