java.lang.Object
fr.paris.lutece.plugins.appointment.service.lock.SlotEditTask
All Implemented Interfaces:
Callable<Slot>

public final class SlotEditTask extends Object implements Callable<Slot>
Timer Task for a slot (Manage a lock the time the user fill the form
Author:
Laurent Payen
  • Constructor Details

    • SlotEditTask

      public SlotEditTask(int nIdSlot, int nbPlacesTaken)
  • Method Details

    • call

      public Slot call()
      Specified by:
      call in interface Callable<Slot>
    • getNbPlacesTaken

      public int getNbPlacesTaken()
      Get the number of places potentially taken
      Returns:
      the number of places
    • setNbPlacesTaken

      public void setNbPlacesTaken(int nbPlacesTaken)
      Set the number of places potentially taken
      Parameters:
      nbPlacesTaken -
    • getIdSlot

      public int getIdSlot()
      Get the id of the slot
      Returns:
      the id of the slot
    • setIdSlot

      public void setIdSlot(int nIdSlot)
      Set the id of the slot
      Parameters:
      nIdSlot - the id of the slot