Class AppointmentDeskService
java.lang.Object
fr.paris.lutece.plugins.appointment.modules.desk.service.AppointmentDeskService
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcloseAppointmentDesk(List<fr.paris.lutece.plugins.appointment.business.slot.Slot> listSlot) Close one desk on each slot: the capacity of the slot, as stored, loses one place.static voidincrementMaxCapacity(IncrementSlot incrementSlot) Add places to every slot of a form between two dates, for the whole day, a half day, or a time range.static voidopenAppointmentDesk(List<fr.paris.lutece.plugins.appointment.business.slot.Slot> listSlot, int nMaxCapacity) Open one desk on each slot: the capacity of the slot, as stored, gains one place, up to the number of desks of the day.
-
Method Details
-
closeAppointmentDesk
public static void closeAppointmentDesk(List<fr.paris.lutece.plugins.appointment.business.slot.Slot> listSlot) Close one desk on each slot: the capacity of the slot, as stored, loses one place. A slot of the typical week not stored yet is created first.- Parameters:
listSlot- the slots, as the desk screen sends them
-
openAppointmentDesk
public static void openAppointmentDesk(List<fr.paris.lutece.plugins.appointment.business.slot.Slot> listSlot, int nMaxCapacity) Open one desk on each slot: the capacity of the slot, as stored, gains one place, up to the number of desks of the day. Nothing is opened on a closing day.- Parameters:
listSlot- the slots, as the desk screen sends themnMaxCapacity- the number of desks of the day
-
incrementMaxCapacity
Add places to every slot of a form between two dates, for the whole day, a half day, or a time range.- Parameters:
incrementSlot- the places to add, the dates, the times and the kind of increment
-