public final class FormRule extends Object implements Serializable
Constructor and Description |
---|
FormRule() |
Modifier and Type | Method and Description |
---|---|
int |
getIdForm()
Get the form id the formRule belongs to
|
int |
getIdFormRule()
Get the id of the form rule
|
boolean |
getIsActiveAuthentication()
Indicate whether the authentication is required or not
|
boolean |
getIsCaptchaEnabled()
Indicate if the captcha is enabled or not
|
boolean |
getIsMandatoryEmailEnabled()
Indicate whether the email is mandatory or not
|
int |
getMinTimeBeforeAppointment()
Get the minimal time from now before the user can take an appointment
|
int |
getNbDaysBeforeNewAppointment()
Get the number of days the user has to wait before he can take another appointment
|
int |
getNbDaysForMaxAppointmentsPerUser()
Get the number of days for the period of the maximum number of appointments authorized per user
|
int |
getNbMaxAppointmentsPerUser()
Get the maximum number of appointments per user
|
void |
setIdForm(int nIdForm)
Set the form id the formRule belongs to
|
void |
setIdFormRule(int nIdFormRule)
Set the id of the form rule
|
void |
setIsActiveAuthentication(boolean bIsActiveAuthentication)
Set the boolean value for the authentication
|
void |
setIsCaptchaEnabled(boolean bIsCaptchaEnabled)
Set the boolean captcha value
|
void |
setIsMandatoryEmailEnabled(boolean bIsMandatoryEmailEnabled)
Set the boolean value for the mandatory email
|
void |
setMinTimeBeforeAppointment(int nMinTimeBeforeAppointment)
Set the minimal time from now before the user can take an appointment
|
void |
setNbDaysBeforeNewAppointment(int nNbDaysBeforeNewAppointment)
Set the number of days the user have to wait before he can take another appointment
|
void |
setNbDaysForMaxAppointmentsPerUser(int nNbDaysForMaxAppointmentsPerUser)
Set the number of days of the period for the maximum number of appointments authorized
|
void |
setNbMaxAppointmentsPerUser(int nNbMaxAppointmentsPerUser)
Set the maximum number of appointments authorized
|
public int getIdFormRule()
public void setIdFormRule(int nIdFormRule)
nIdFormRule
- the id to setpublic boolean getIsCaptchaEnabled()
public void setIsCaptchaEnabled(boolean bIsCaptchaEnabled)
bIsCaptchaEnabled
- the boolean captcha value to setpublic boolean getIsMandatoryEmailEnabled()
public void setIsMandatoryEmailEnabled(boolean bIsMandatoryEmailEnabled)
bIsMandatoryEmailEnabled
- the boolean value for the mandatory emailpublic boolean getIsActiveAuthentication()
public void setIsActiveAuthentication(boolean bIsActiveAuthentication)
bIsActiveAuthentication
- the boolean value for the authenticationpublic int getNbDaysBeforeNewAppointment()
public void setNbDaysBeforeNewAppointment(int nNbDaysBeforeNewAppointment)
_nNbDaysBeforeNewAppointment
- the number of dayspublic int getMinTimeBeforeAppointment()
public void setMinTimeBeforeAppointment(int nMinTimeBeforeAppointment)
nMinTimeBeforeAppointment
- the minimal time in hourspublic int getNbMaxAppointmentsPerUser()
public void setNbMaxAppointmentsPerUser(int nNbMaxAppointmentsPerUser)
_nNbMaxAppointmentsPerUser
- the maximum number of appointments authorizedpublic int getNbDaysForMaxAppointmentsPerUser()
public void setNbDaysForMaxAppointmentsPerUser(int nNbDaysForMaxAppointmentsPerUser)
_nNbDaysForMaxAppointmentsPerUser
- the number of days to setpublic int getIdForm()
public void setIdForm(int nIdForm)
nIdForm
- the form id to setCopyright © 2020 City of Paris. All rights reserved.