public final class AppointmentFormDTO extends ReservationRule implements fr.paris.lutece.portal.service.rbac.RBACResource, fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource, Cloneable, Serializable
Modifier and Type | Field and Description |
---|---|
static String |
RESOURCE_TYPE
Name of the resource type of Appointment Forms
|
static String |
RESOURCE_TYPE_CREATE
Name of the resource type of Appointment Forms
|
Constructor and Description |
---|
AppointmentFormDTO() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
getActiveAuthentication()
Get the authentication
|
String |
getAddress()
Get address
|
int |
getCalendarTemplateId()
Get the id of the calendar template of this appointment form
|
Date |
getDateEndValidity()
Returns the ending validity date of the form
|
Date |
getDateOfModification()
Get the date of modification of the form
|
Date |
getDateStartValidity()
Returns the starting validity date of the form
|
String |
getDescription()
Get the description of the appointment form
|
boolean |
getDisplayTitleFo()
Returns if the title of the form has to be displayed on the front office
|
int |
getDurationAppointments()
Returns the duration of an appointment
|
boolean |
getEnableCaptcha()
Check if the captcha is enabled for this appointment form
|
boolean |
getEnableMandatoryEmail()
Check if the email is mandatory or not
|
fr.paris.lutece.portal.service.image.ImageResource |
getIcon()
Get the Icon of the form
|
int |
getIdCategory()
Get the category of the form
|
int |
getIdWorkflow()
Get the id of the workflow associated with this appointment form
|
boolean |
getIsActive()
Returns if the form is active or not
|
boolean |
getIsDisplayedOnPortlet()
Returns if the form has to be displayed on the front office portlet
|
boolean |
getIsOpenFriday()
Returns if it is open on Friday (if the checkbox is checked or not)
|
boolean |
getIsOpenMonday()
Returns if it is open on Monday (if the checkbox is checked or not)
|
boolean |
getIsOpenSaturday()
Returns if it is open on Saturday (if the checkbox is checked or not)
|
boolean |
getIsOpenSunday()
Returns if it is open on Monday (if the checkbox is checked or not)
|
boolean |
getIsOpenThursday()
Returns if it is open on Thursday (if the checkbox is checked or not)
|
boolean |
getIsOpenTuesday()
Returns if it is open on Tuesday (if the checkbox is checked or not)
|
boolean |
getIsOpenWednesday()
Returns if it is open on Wednesday (if the checkbox is checked or not)
|
Double |
getLatitude()
Get latitude
|
Double |
getLongitude()
Get longitude
|
int |
getMinTimeBeforeAppointment()
Get the minimum time from now before a user can take an appointment
|
int |
getNbDaysBeforeNewAppointment()
Get the number of days between two appointments of the same user
|
int |
getNbDaysForMaxAppointmentsPerUser()
Get the number of days for the period of the maximum number of appointments authorized for a same user
|
int |
getNbMaxAppointmentsPerUser()
Get the maximum number of appointments authorized for a same user
|
int |
getNbWeeksToDisplay()
Returns the number of weeks to display the form to the user (for an appointment)
|
String |
getReference()
Returns the Reference of the form
|
String |
getResourceId() |
String |
getResourceTypeCode() |
String |
getTimeEnd()
Returns the ending time of the working day of the form
|
String |
getTimeStart()
Returns the starting time of the working day of the form
|
String |
getTitle()
Returns the Title
|
String |
getWorkgroup() |
void |
setActiveAuthentication(boolean bActiveAuthentication)
Set the authentication of the form
|
void |
setAddress(String strAddress)
Set address
|
void |
setCalendarTemplateId(int nCalendarTemplateId)
Set the id of the calendar template of this appointment form
|
void |
setDateEndValidity(Date dateEndValidity)
Sets the ending validity date of the form
|
void |
setDateOfModification(Date dateOfModification)
Set the date of modification of the form
|
void |
setDateStartValidity(Date dateStartValidity)
Sets the starting validity date of the form
|
void |
setDescription(String strDescription)
Set the description of the appointment form
|
void |
setDisplayTitleFo(boolean bDisplayTitleFo)
Sets if the title of the form has to be displayed on the front office
|
void |
setDurationAppointments(int nDurationAppointments)
Sets the duration of an appointment
|
void |
setEnableCaptcha(boolean bEnableCaptcha)
Enable or disable the captcha for this appointment form
|
void |
setEnableMandatoryEmail(boolean bEnableMandatoryEmail)
Set enable mandatory email
|
void |
setIcon(fr.paris.lutece.portal.service.image.ImageResource imgIcon)
Set the icon of the form
|
void |
setIdCategory(int nIdCategory)
Set the category of the form
|
void |
setIdWorkflow(int nIdWorkflow)
Set the id of the workflow associated with this appointment form
|
void |
setIsActive(boolean bIsActive)
Sets if the form is active or not
|
void |
setIsDisplayedOnPortlet(boolean bIsDisplayedOnPortlet)
Sets if the form has to be displayed on the front office portlet
|
void |
setIsOpenFriday(boolean bIsOpenFriday)
Sets if it is open on Friday (if the checkbox is checked or not)
|
void |
setIsOpenMonday(boolean bIsOpenMonday)
Sets if it is open on Monday (if the checkbox is checked or not)
|
void |
setIsOpenSaturday(boolean bIsOpenSaturday)
Sets if it is open on Saturday (if the checkbox is checked or not)
|
void |
setIsOpenSunday(boolean bIsOpenSunday)
Sets if it is open on Sunday (if the checkbox is checked or not)
|
void |
setIsOpenThursday(boolean bIsOpenThursday)
Sets if it is open on Thursday (if the checkbox is checked or not)
|
void |
setIsOpenTuesday(boolean bIsOpenTuesday)
Sets if it is open on Tuesday (if the checkbox is checked or not)
|
void |
setIsOpenWednesday(boolean bIsOpenWednesday)
Sets if it is open on Wednesday (if the checkbox is checked or not)
|
void |
setLatitude(Double dLatitude)
Set latitude
|
void |
setLongitude(Double dLongitude)
Set longitude
|
void |
setMinTimeBeforeAppointment(int nMinTimeBeforeAppointment) |
void |
setNbDaysBeforeNewAppointment(int nNbDaysBeforeNewAppointment)
Set the number of days between two appointments of the same user (0 : no delay)
|
void |
setNbDaysForMaxAppointmentsPerUser(int nNbDaysForMaxAppointmentsPerUser)
Set the number of days of the period for the maximum number of appointments authorized for a same user
|
void |
setNbMaxAppointmentsPerUser(int nNbMaxAppointmentsPerUser)
Set the maximum number of appointments authorized for a same user
|
void |
setNbWeeksToDisplay(int nNbWeeksToDisplay)
Sets the number of weeks to display the form to the user (for an appointment)
|
void |
setReference(String strRef)
Sets the Reference of the form
|
void |
setTimeEnd(String timeEnd)
Sets the ending time of the working day of the form
|
void |
setTimeStart(String timeStart)
Sets the starting time of the working day of the form
|
void |
setTitle(String strTitle)
Sets the Title
|
void |
setWorkgroup(String workGroup)
set the work group associate to the form
|
getIdForm, getIdReservationRule, getMaxCapacityPerSlot, getMaxPeoplePerAppointment, setIdForm, setIdReservationRule, setMaxCapacityPerSlot, setMaxPeoplePerAppointment
getDateOfApply, getSqlDateOfApply, setDateOfApply, setSqlDateOfApply
public static final String RESOURCE_TYPE
public static final String RESOURCE_TYPE_CREATE
public int getNbMaxAppointmentsPerUser()
public void setNbMaxAppointmentsPerUser(int nNbMaxAppointmentsPerUser)
nNbMaxAppointmentsPerUser
- the maximum number of appointments to setpublic int getNbDaysForMaxAppointmentsPerUser()
public void setNbDaysForMaxAppointmentsPerUser(int nNbDaysForMaxAppointmentsPerUser)
nNbDaysForMaxAppointmentsPerUser
- the number of days to setpublic String getTitle()
public void setTitle(String strTitle)
strTitle
- The Titlepublic Date getDateOfModification()
public void setDateOfModification(Date dateOfModification)
dateOfModification
- the date to setpublic String getDescription()
public void setDescription(String strDescription)
strDescription
- The description of the appointment formpublic String getReference()
public void setReference(String strRef)
the
- reference to setpublic String getTimeStart()
public void setTimeStart(String timeStart)
the
- starting time to set The TimeStartpublic String getTimeEnd()
public void setTimeEnd(String timeEnd)
the
- ending time to setpublic int getDurationAppointments()
public void setDurationAppointments(int nDurationAppointments)
nDurationAppointments
- The Duration of an Appointmentspublic int getMinTimeBeforeAppointment()
public void setMinTimeBeforeAppointment(int nMinTimeBeforeAppointment)
public boolean getIsOpenMonday()
public void setIsOpenMonday(boolean bIsOpenMonday)
bIsOpenMonday
- The boolean valuepublic boolean getIsOpenTuesday()
public void setIsOpenTuesday(boolean bIsOpenTuesday)
bIsOpenTuesday
- The boolean valuepublic boolean getIsOpenWednesday()
public void setIsOpenWednesday(boolean bIsOpenWednesday)
bIsOpenWednesday
- The boolean valuepublic boolean getIsOpenThursday()
public void setIsOpenThursday(boolean bIsOpenThursday)
bIsOpenThursday
- The boolean valuepublic boolean getIsOpenFriday()
public void setIsOpenFriday(boolean bIsOpenFriday)
bIsOpenFriday
- The boolean valuepublic boolean getIsOpenSaturday()
public void setIsOpenSaturday(boolean bIsOpenSaturday)
bIsOpenSaturday
- The boolean valuepublic boolean getIsOpenSunday()
public void setIsOpenSunday(boolean bIsOpenSunday)
bIsOpenSunday
- The boolean valuepublic Date getDateStartValidity()
public void setDateStartValidity(Date dateStartValidity)
dateStartValidity
- The starting validity datepublic Date getDateEndValidity()
public void setDateEndValidity(Date dateEndValidity)
dateEndValidity
- the ending validity date to setpublic boolean getIsActive()
public void setIsActive(boolean bIsActive)
bIsActive
- The boolean valuepublic boolean getDisplayTitleFo()
public void setDisplayTitleFo(boolean bDisplayTitleFo)
bDisplayTitleFo
- The boolean valuepublic boolean getIsDisplayedOnPortlet()
public void setIsDisplayedOnPortlet(boolean bIsDisplayedOnPortlet)
bIsDisplayedOnPortlet
- The boolean valuepublic int getNbWeeksToDisplay()
public void setNbWeeksToDisplay(int nNbWeeksToDisplay)
nNbWeeksToDisplay
- the number of weeks to display the formpublic int getIdWorkflow()
public void setIdWorkflow(int nIdWorkflow)
nIdWorkflow
- The id of the workflowpublic boolean getEnableCaptcha()
public void setEnableCaptcha(boolean bEnableCaptcha)
bEnableCaptcha
- True to enable the captcha, false to disable itpublic int getCalendarTemplateId()
public void setCalendarTemplateId(int nCalendarTemplateId)
nCalendarTemplateId
- The id of the calendar template of this appointment formpublic boolean getEnableMandatoryEmail()
public void setEnableMandatoryEmail(boolean bEnableMandatoryEmail)
bEnableMandatoryEmail
- the boolean value for mandatory emailpublic fr.paris.lutece.portal.service.image.ImageResource getIcon()
public void setIcon(fr.paris.lutece.portal.service.image.ImageResource imgIcon)
imgIcon
- the icon to associate to the formpublic int getNbDaysBeforeNewAppointment()
public void setNbDaysBeforeNewAppointment(int nNbDaysBeforeNewAppointment)
nNbDaysBeforeNewAppointment
- the number of days to setpublic int getIdCategory()
public void setIdCategory(int nIdCategory)
nIdCategory
- the category to setpublic boolean getActiveAuthentication()
public void setActiveAuthentication(boolean bActiveAuthentication)
_bActiveAuthentication
- the boolean value for the authenticationpublic Double getLatitude()
public void setLatitude(Double dLatitude)
dLatitude
- latitudepublic Double getLongitude()
public void setLongitude(Double dLongitude)
dLongitude
- longitudepublic String getAddress()
public void setAddress(String strAddress)
strAddress
- addresspublic String getResourceTypeCode()
getResourceTypeCode
in interface fr.paris.lutece.portal.service.rbac.RBACResource
public String getResourceId()
getResourceId
in interface fr.paris.lutece.portal.service.rbac.RBACResource
public String getWorkgroup()
getWorkgroup
in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
public void setWorkgroup(String workGroup)
workGroup
- the work group associate to the formCopyright © 2020 City of Paris. All rights reserved.