public final class AppointmentDTO extends Appointment implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_APPOINTMENT_STATUS_RESERVED |
static String |
PROPERTY_APPOINTMENT_STATUS_UNRESERVED |
APPOINTMENT_RESOURCE_TYPE
Constructor and Description |
---|
AppointmentDTO() |
Modifier and Type | Method and Description |
---|---|
void |
clearMapResponsesByIdEntry() |
String |
getAdminUser()
Get the name of the admin user
|
static List<String> |
getAllErrors(Locale locale)
Get all the possible errors of the form
|
String |
getDateOfTheAppointment()
Get the date of the appointment
|
LocalTime |
getEndingTime()
Get the ending time of the appointment
|
int |
getIdForm()
Get the form Id
|
boolean |
getIsCancelled()
Tell if the appointment is cancelled
|
boolean |
getIsSaved()
Returns the IsSaved
|
List<fr.paris.lutece.plugins.genericattributes.business.Response> |
getListResponse()
Get the list of the responses of the additional entries of the form
|
Collection<fr.paris.lutece.plugins.workflowcore.business.action.Action> |
getListWorkflowActions()
Get the available actions of the workflow for this appointment
|
Map<Integer,List<fr.paris.lutece.plugins.genericattributes.business.Response>> |
getMapResponsesByIdEntry()
Get the map of the responses of the additional entries of the form
|
int |
getNbBookedSeats()
Get the number of booked seats for the appointment
|
int |
getNbMaxPotentialBookedSeats()
Get the maximum number of booked seats the user can take
|
LocalDateTime |
getStartingDateTime()
Get the starting date time of the appointment
|
LocalTime |
getStartingTime()
Get the starting time of the appointment
|
fr.paris.lutece.plugins.workflowcore.business.state.State |
getState()
Get the state of the appointment
|
void |
setAdminUser(String strAdminUser)
Set the name of the admin user
|
void |
setDateOfTheAppointment(String strDateOfTheAppointment)
Set the date of the appointment
|
void |
setEndingTime(LocalTime endingTime)
Set the ending time of the appointment
|
void |
setIdForm(int nIdForm)
Set the Form Id
|
void |
setIsCancelled(boolean isCancelled)
Set if the appointment is cancelled
|
void |
setIsSaved(boolean bIsSaved)
Sets the IsSaved
|
void |
setListResponse(List<fr.paris.lutece.plugins.genericattributes.business.Response> listResponse)
Set the list of the responses of the additional entries of the form
|
void |
setListWorkflowActions(Collection<fr.paris.lutece.plugins.workflowcore.business.action.Action> listWorkflowActions)
Set the available actions of the workflow for this appointment
|
void |
setMapResponsesByIdEntry(Map<Integer,List<fr.paris.lutece.plugins.genericattributes.business.Response>> mapResponsesByIdEntry)
Set the map of the responses of the addtional entries of the form to the appointment
|
void |
setNbBookedSeats(int nNumberOfPlacesReserved)
Set the number of booked seats for the appointment
|
void |
setNbMaxPotentialBookedSeats(int nNbMaxPotentialBookedSeats)
Set the maximum number of booked seats the user can take
|
void |
setStartingDateTime(LocalDateTime startingDateTime)
Set the starting date time of the appointment
|
void |
setStartingTime(LocalTime startingTime)
Set the starting time of the appointment
|
void |
setState(fr.paris.lutece.plugins.workflowcore.business.state.State state)
Set the state of the appointment
|
getAdminUserCreate, getAppointmentTakenSqlDate, getDateAppointmentTaken, getIdActionCancelled, getIdAdminUser, getIdAppointment, getIdSlot, getIdUser, getNbPlaces, getNotification, getReference, getSlot, getUser, setAdminUserCreate, setAppointmentTakenSqlDate, setDateAppointmentTaken, setIdActionCancelled, setIdAdminUser, setIdAppointment, setIdSlot, setIdUser, setNbPlaces, setNotification, setReference, setSlot, setUser
getAppointments, getEmail, getFirstName, getGuid, getLastName, getPhoneNumber, setAppointments, setEmail, setFirstName, setGuid, setLastName, setPhoneNumber
public static final String PROPERTY_APPOINTMENT_STATUS_UNRESERVED
public static final String PROPERTY_APPOINTMENT_STATUS_RESERVED
public String getAdminUser()
public void setAdminUser(String strAdminUser)
_strAdminUser
- the admin user name to setpublic fr.paris.lutece.plugins.workflowcore.business.state.State getState()
public void setState(fr.paris.lutece.plugins.workflowcore.business.state.State state)
state
- the state to setpublic LocalDateTime getStartingDateTime()
public void setStartingDateTime(LocalDateTime startingDateTime)
startingDateTime
- the starting date timepublic LocalTime getStartingTime()
public void setStartingTime(LocalTime startingTime)
startingTime
- the starting time to setpublic LocalTime getEndingTime()
public void setEndingTime(LocalTime endingTime)
endingTime
- the ending timepublic boolean getIsCancelled()
getIsCancelled
in class Appointment
public void setIsCancelled(boolean isCancelled)
setIsCancelled
in class Appointment
isCancelled
- the boolean valuepublic String getDateOfTheAppointment()
public void setDateOfTheAppointment(String strDateOfTheAppointment)
strDateOfTheAppointment
- the date to setpublic List<fr.paris.lutece.plugins.genericattributes.business.Response> getListResponse()
public void setListResponse(List<fr.paris.lutece.plugins.genericattributes.business.Response> listResponse)
listResponse
- the list of the responses to setpublic int getIdForm()
public void setIdForm(int nIdForm)
nIdForm
- the form Id to setpublic int getNbBookedSeats()
public void setNbBookedSeats(int nNumberOfPlacesReserved)
nNumberOfPlacesReserved
- the number to setpublic int getNbMaxPotentialBookedSeats()
public void setNbMaxPotentialBookedSeats(int nNbMaxPotentialBookedSeats)
nNbMaxPotentialBookedSeats
- the maximum number to setpublic Collection<fr.paris.lutece.plugins.workflowcore.business.action.Action> getListWorkflowActions()
public void setListWorkflowActions(Collection<fr.paris.lutece.plugins.workflowcore.business.action.Action> listWorkflowActions)
listWorkflowActions
- public Map<Integer,List<fr.paris.lutece.plugins.genericattributes.business.Response>> getMapResponsesByIdEntry()
public void setMapResponsesByIdEntry(Map<Integer,List<fr.paris.lutece.plugins.genericattributes.business.Response>> mapResponsesByIdEntry)
mapResponsesByIdEntry
- the map to setpublic void clearMapResponsesByIdEntry()
public boolean getIsSaved()
public void setIsSaved(boolean bIsSaved)
bIsSaved
- The IsSavedCopyright © 2020 City of Paris. All rights reserved.