Interface ISlotListener
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 TypeMethodDescriptionvoidnotifySlotChange(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 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
Notify the listener that a slot has been deleted- Parameters:
slot- the slot
-
notifySlotEndingTimeHasChanged
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
-