Class AppointmentDataObject
- 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.AbstractDataObjectThis is the business class for the object Appointments
-
-
Constructor Summary
Constructors Constructor Description AppointmentDataObject()AppointmentDataObject(fr.paris.lutece.plugins.appointment.business.appointment.Appointment appointment, fr.paris.lutece.plugins.workflowcore.business.state.State stateAppointment, AppointmentForm appointmentForm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetAdminCreator()Returns if the appointment is taken in FO calendarAppointmentFormgetAppointmentForm()Returns the AppointmentFormlonggetCategorySumNbPlacesBeforeAppointment()Returns the CategorySumNbPlacesBeforeAppointmentlonggetCreatedTimestamp()Returns the created timestampintgetIdAppointment()Returns the IdAppointmebtbooleangetIsCancelled()Returns the IsCancelledjava.lang.StringgetNameInstance()Returns the NameInstanceintgetNbPlaces()Returns the NbPlacesjava.lang.StringgetState()Returns the StatelonggetSumNbPlacesBeforeAppointment()Returns the SumNbPlacesBeforeAppointmentlonggetTimeUntilAvailability()Returns the TimeUntilAvailabilitylonggetTimeUntilCategoryAvailability()Returns the TimeUntilAvailabilityCategoryvoidsetAdminCreator(boolean bIsAdminCreator)Sets the bIsFrontvoidsetAppointmentForm(AppointmentForm appointmentForm)Sets the AppointmentFormvoidsetCategorySumNbPlacesBeforeAppointment(long lCategorySumNbPlacesBeforeAppointment)Sets the CategorySumNbPlacesBeforeAppointmentvoidsetCreatedTimestamp(long lCreatedTimestamp)Sets the created timestampvoidsetIdAppointment(int nIdAppointmet)Sets the IdAppointmetvoidsetIsCancelled(boolean bIsCancelled)Sets the IsCancelledvoidsetNameInstance(java.lang.String strNameInstance)Sets the NameInstancevoidsetNbPlaces(int nNbPlaces)Sets the NbPlacesvoidsetState(java.lang.String strState)Sets the StatevoidsetSumNbPlacesBeforeAppointment(long lSumNbPlacesBeforeAppointment)Sets the SumNbPlacesBeforeAppointmentvoidsetTimeUntilAvailability(long lTimeUntilAvailability)Sets the TimeUntilAvailabilityvoidsetTimeUntilCategoryAvailability(long lTimeUntilAvailabilityCategory)Sets the TimeUntilAvailabilityCategory-
Methods inherited from class fr.paris.lutece.plugins.elasticdata.business.AbstractDataObject
getDayOfWeek, getDocumentTypeName, getHour, getId, getMonth, getParentId, getParentName, getPrefixedDayOfWeek, getPrefixedMonth, getTimestamp, setDocumentTypeName, setId, setParentId, setParentName, setTimestamp
-
-
-
-
Constructor Detail
-
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 Detail
-
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 java.lang.String getState()
Returns the State- Returns:
- The State
-
setState
public void setState(java.lang.String strState)
Sets the State- Parameters:
strState- The State
-
getNameInstance
public java.lang.String getNameInstance()
Returns the NameInstance- Returns:
- The NameInstance
-
setNameInstance
public void setNameInstance(java.lang.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
-
-