java.lang.Object
fr.paris.lutece.plugins.elasticdata.business.AbstractDataObject
fr.paris.lutece.plugins.elasticdata.modules.appointment.business.AppointmentDataObject
All Implemented Interfaces:
fr.paris.lutece.plugins.elasticdata.business.DataObject

public class AppointmentDataObject extends fr.paris.lutece.plugins.elasticdata.business.AbstractDataObject
This is the business class for the object Appointments
  • Constructor Details

    • AppointmentDataObject

      public AppointmentDataObject()
    • AppointmentDataObject

      public AppointmentDataObject(fr.paris.lutece.plugins.appointment.business.appointment.Appointment appointment, fr.paris.lutece.plugins.workflowcore.business.state.State stateAppointment, AppointmentForm appointmentForm)
  • Method Details

    • getIdAppointment

      public int getIdAppointment()
      Returns the IdAppointmebt
      Returns:
      The IdAppointmebt
    • setIdAppointment

      public void setIdAppointment(int nIdAppointmet)
      Sets the IdAppointmet
      Parameters:
      nIdAppointmebt - The IdAppointmet
    • getNbPlaces

      public int getNbPlaces()
      Returns the NbPlaces
      Returns:
      The NbPlaces
    • setNbPlaces

      public void setNbPlaces(int nNbPlaces)
      Sets the NbPlaces
      Parameters:
      nNbPlaces - The NbPlaces
    • getIsCancelled

      public boolean getIsCancelled()
      Returns the IsCancelled
      Returns:
      The IsCancelled
    • setIsCancelled

      public void setIsCancelled(boolean bIsCancelled)
      Sets the IsCancelled
      Parameters:
      bIsCancelled - The IsCancelled
    • getTimeUntilAvailability

      public long getTimeUntilAvailability()
      Returns the TimeUntilAvailability
      Returns:
      The TimeUntilAvailability
    • setTimeUntilAvailability

      public void setTimeUntilAvailability(long lTimeUntilAvailability)
      Sets the TimeUntilAvailability
      Parameters:
      lTimeUntilAvailability - The TimeUntilAvailability
    • getTimeUntilCategoryAvailability

      public long getTimeUntilCategoryAvailability()
      Returns the TimeUntilAvailabilityCategory
      Returns:
      The TimeUntilAvailabilityCategory
    • setTimeUntilCategoryAvailability

      public void setTimeUntilCategoryAvailability(long lTimeUntilAvailabilityCategory)
      Sets the TimeUntilAvailabilityCategory
      Parameters:
      lTimeUntilAvailabilityCategory - The TimeUntilAvailabilityCategory
    • getSumNbPlacesBeforeAppointment

      public long getSumNbPlacesBeforeAppointment()
      Returns the SumNbPlacesBeforeAppointment
      Returns:
      The SumNbPlacesBeforeAppointment
    • setSumNbPlacesBeforeAppointment

      public void setSumNbPlacesBeforeAppointment(long lSumNbPlacesBeforeAppointment)
      Sets the SumNbPlacesBeforeAppointment
      Parameters:
      lSumNbPlacesBeforeAppointment - The SumNbPlacesBeforeAppointment
    • getCategorySumNbPlacesBeforeAppointment

      public long getCategorySumNbPlacesBeforeAppointment()
      Returns the CategorySumNbPlacesBeforeAppointment
      Returns:
      The CategorySumNbPlacesBeforeAppointment
    • setCategorySumNbPlacesBeforeAppointment

      public void setCategorySumNbPlacesBeforeAppointment(long lCategorySumNbPlacesBeforeAppointment)
      Sets the CategorySumNbPlacesBeforeAppointment
      Parameters:
      lCategorySumNbPlacesBeforeAppointment - The CategorySumNbPlacesBeforeAppointment
    • getState

      public String getState()
      Returns the State
      Returns:
      The State
    • setState

      public void setState(String strState)
      Sets the State
      Parameters:
      strState - The State
    • getNameInstance

      public String getNameInstance()
      Returns the NameInstance
      Returns:
      The NameInstance
    • setNameInstance

      public void setNameInstance(String strNameInstance)
      Sets the NameInstance
      Parameters:
      strNameInstance - The NameInstance
    • getAppointmentForm

      public AppointmentForm getAppointmentForm()
      Returns the AppointmentForm
      Returns:
      The AppointmentForm
    • setAppointmentForm

      public void setAppointmentForm(AppointmentForm appointmentForm)
      Sets the AppointmentForm
      Parameters:
      appointmentForm - The AppointmentForm
    • getCreatedTimestamp

      public long getCreatedTimestamp()
      Returns the created timestamp
      Returns:
      The created timestamp
    • setCreatedTimestamp

      public void setCreatedTimestamp(long lCreatedTimestamp)
      Sets the created timestamp
      Parameters:
      lCreatedTimestamp - The created timestamp
    • getAdminCreator

      public boolean getAdminCreator()
      Returns if the appointment is taken in FO calendar
      Returns:
      The bollean
    • setAdminCreator

      public void setAdminCreator(boolean bIsAdminCreator)
      Sets the bIsFront
      Parameters:
      bIsFront - The bIsFront