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.AbstractDataObject
This is the business class for the object Appointments
-
Constructor Summary
ConstructorsConstructorDescriptionAppointmentDataObject(fr.paris.lutece.plugins.appointment.business.appointment.Appointment appointment, fr.paris.lutece.plugins.workflowcore.business.state.State stateAppointment, AppointmentForm appointmentForm) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns if the appointment is taken in FO calendarReturns the AppointmentFormlongReturns the CategorySumNbPlacesBeforeAppointmentlongReturns the created timestampintReturns the IdAppointmebtbooleanReturns the IsCancelledReturns the NameInstanceintReturns the NbPlacesgetState()Returns the StatelongReturns the SumNbPlacesBeforeAppointmentlongReturns the TimeUntilAvailabilitylongReturns 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(String strNameInstance) Sets the NameInstancevoidsetNbPlaces(int nNbPlaces) Sets the NbPlacesvoidSets the StatevoidsetSumNbPlacesBeforeAppointment(long lSumNbPlacesBeforeAppointment) Sets the SumNbPlacesBeforeAppointmentvoidsetTimeUntilAvailability(long lTimeUntilAvailability) Sets the TimeUntilAvailabilityvoidsetTimeUntilCategoryAvailability(long lTimeUntilAvailabilityCategory) Sets the TimeUntilAvailabilityCategoryMethods 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 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
Returns the State- Returns:
- The State
-
setState
Sets the State- Parameters:
strState- The State
-
getNameInstance
Returns the NameInstance- Returns:
- The NameInstance
-
setNameInstance
Sets the NameInstance- Parameters:
strNameInstance- The NameInstance
-
getAppointmentForm
Returns the AppointmentForm- Returns:
- The AppointmentForm
-
setAppointmentForm
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
-