Class AppointmentDeskService

java.lang.Object
fr.paris.lutece.plugins.appointment.modules.desk.service.AppointmentDeskService

public class AppointmentDeskService extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    static void
    Add places to every slot of a form between two dates, for the whole day, a half day, or a time range.
    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.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 them
      nMaxCapacity - the number of desks of the day
    • incrementMaxCapacity

      public static void incrementMaxCapacity(IncrementSlot incrementSlot)
      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