public class AppointmentForm extends Object implements fr.paris.lutece.portal.service.rbac.RBACResource, Cloneable, Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
CONSTANT_H
Constant for separator between hours and minutes.
|
static String |
CONSTANT_TIME_REGEX
Regular expression used to control time format
|
static String |
RESOURCE_TYPE
Name of the resource type of Appointment Forms
|
| Constructor and Description |
|---|
AppointmentForm() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
String |
getAddress()
Get address
|
boolean |
getAllowUsersToCancelAppointments()
Check if a FO user can cancel appointments of this form
|
int |
getCalendarTemplateId()
Get the id of the calendar template of this appointment form
|
String |
getCategory() |
int |
getClosingHour()
Get the closing hour
|
int |
getClosingMinutes()
Get the closing minutes
|
Date |
getDateEndValidity()
Returns the DateEndValidity
|
Date |
getDateLimit() |
Date |
getDateStartValidity()
Returns the DateStartValidity
|
String |
getDescription()
Get the description of the appointment form
|
boolean |
getDisplayTitleFo()
Returns the DisplayTitleFo
|
int |
getDurationAppointments()
Returns the DurationAppointments
|
boolean |
getEnableCaptcha()
Check if the captcha is enabled for this appointment form
|
boolean |
getEnableConfirmEmail()
Get enable confirm email
|
boolean |
getEnableMandatoryEmail()
Get enable mandatory email
|
fr.paris.lutece.portal.service.image.ImageResource |
getIcon() |
int |
getIdForm()
Returns the IdForm
|
int |
getIdWorkflow()
Get the id of the workflow associated with this appointment form
|
boolean |
getIsActive()
Returns the IsActive
|
boolean |
getIsFormStep()
Returns the _strReference
|
boolean |
getIsOpenFriday()
Returns the IsOpenFriday
|
boolean |
getIsOpenMonday()
Returns the IsOpenMonday
|
boolean |
getIsOpenSaturday()
Returns the IsOpenSaturday
|
boolean |
getIsOpenSunday()
Returns the IsOpenSunday
|
boolean |
getIsOpenThursday()
Returns the IsOpenThursday
|
boolean |
getIsOpenTuesday()
Returns the IsOpenTuesday
|
boolean |
getIsOpenWednesday()
Returns the IsOpenWednesday
|
Double |
getLatitude()
Get latitude
|
Double |
getLongitude()
Get longitude
|
int |
getMaxAppointments()
Get the max for weeks of this appointment form to validate
|
int |
getMaximumNumberOfBookedSeats() |
int |
getMinDaysBeforeAppointment()
Get the minimum number of days between the current date and the date of
appointment make by users
|
int |
getNbWeeksToDisplay()
Returns the NbWeeksToDisplay
|
int |
getOpeningHour()
Get the opening hour
|
int |
getOpeningMinutes()
Get the opening minutes
|
int |
getPeoplePerAppointment()
Returns the number of person per appointment
|
String |
getReference()
Returns the _strReference
|
String |
getResourceId() |
String |
getResourceTypeCode() |
int |
getSeizureDuration() |
String |
getTimeEnd()
Returns the TimeEnd
|
String |
getTimeStart()
Returns the TimeStart
|
String |
getTitle()
Returns the Title
|
int |
getWeeksLimits()
Get the limits for weeks of this appointment form to validate
|
boolean |
isDayOfWeekOpened(int nDayOfWeek)
Check if a day of the week is opened or not
|
void |
setAddress(String strAddress)
Set address
|
void |
setAllowUsersToCancelAppointments(boolean bAllowUsersToCancelAppointments)
Set whether FO user can cancel appointments of this form
|
void |
setCalendarTemplateId(int nCalendarTemplateId)
Set the id of the calendar template of this appointment form
|
void |
setCategory(String strCategory) |
void |
setClosingHour(int nClosingHour)
Set the closing hour
|
void |
setClosingMinutes(int nClosingMinutes)
Set the closing minutes
|
void |
setDateEndValidity(Date dateDateEndValidity)
Sets the DateEndValidity
|
void |
setDateLimit(Date dateDateLimit) |
void |
setDateStartValidity(Date dateDateStartValidity)
Sets the DateStartValidity
|
void |
setDescription(String strDescription)
Set the description of the appointment form
|
void |
setDisplayTitleFo(boolean bDisplayTitleFo)
Sets the DispolayTitleFo
|
void |
setDurationAppointments(int nDurationAppointments)
Sets the DurationAppointments
|
void |
setEnableCaptcha(boolean bEnableCaptcha)
Enable or disable the captcha for this appointment form
|
void |
setEnableConfirmEmail(boolean bEnableConfirmEmail)
Set enable confirm email
|
void |
setEnableMandatoryEmail(boolean bEnableMandatoryEmail)
Set enable mandatory email
|
void |
setIcon(fr.paris.lutece.portal.service.image.ImageResource imgIcon) |
void |
setIdForm(int nIdForm)
Sets the IdForm
|
void |
setIdWorkflow(int nIdWorkflow)
Set the id of the workflow associated with this appointment form
|
void |
setIsActive(boolean bIsActive)
Sets the IsActive
|
void |
setIsFormStep(boolean nStep)
Sets the Reference
|
void |
setIsOpenFriday(boolean bIsOpenFriday)
Sets the IsOpenFriday
|
void |
setIsOpenMonday(boolean bIsOpenMonday)
Sets the IsOpenMonday
|
void |
setIsOpenSaturday(boolean bIsOpenSaturday)
Sets the IsOpenSaturday
|
void |
setIsOpenSunday(boolean bIsOpenSunday)
Sets the IsOpenSunday
|
void |
setIsOpenThursday(boolean bIsOpenThursday)
Sets the IsOpenThursday
|
void |
setIsOpenTuesday(boolean bIsOpenTuesday)
Sets the IsOpenTuesday
|
void |
setIsOpenWednesday(boolean bIsOpenWednesday)
Sets the IsOpenWednesday
|
void |
setLatitude(Double dLatitude)
Set latitude
|
void |
setLongitude(Double dLongitude)
Set longitude
|
void |
setMaxAppointmentMail(int nMaxAppointment)
Set the max for weeks of this appointment form to validate
|
void |
setMaximumNumberOfBookedSeats(int _nMaximumNumberOfBookedSeats) |
void |
setMinDaysBeforeAppointment(int nMinDayBeforeAppointment)
Set the minimum number of days between the current date and the date of
appointment make by users
|
void |
setNbWeeksLimits(int nWeekLimits)
Set the limits for weeks of this appointment form to validate
|
void |
setNbWeeksToDisplay(int nNbWeeksToDisplay)
Sets the NbWeeksToDisplay
|
void |
setOpeningHour(int nOpeningHour)
Set the opening hour
|
void |
setOpeningMinutes(int nOpeningMinutes)
Set the opening minutes
|
void |
setPeoplePerAppointment(int nPeoplePerAppointment)
Sets the number of person per appointment
|
void |
setReference(String strRef)
Sets the Reference
|
void |
setSeizureDuration(int _nseizureDuration) |
void |
setTimeEnd(String nTimeEnd)
Sets the TimeEnd
|
void |
setTimeStart(String nTimeStart)
Sets the TimeStart
|
void |
setTitle(String strTitle)
Sets the Title
|
public static final String RESOURCE_TYPE
public static final String CONSTANT_H
public static final String CONSTANT_TIME_REGEX
public int getMaximumNumberOfBookedSeats()
public void setMaximumNumberOfBookedSeats(int _nMaximumNumberOfBookedSeats)
public int getSeizureDuration()
public void setSeizureDuration(int _nseizureDuration)
public int getIdForm()
public void setIdForm(int nIdForm)
nIdForm - The IdFormpublic String getTitle()
public void setTitle(String strTitle)
strTitle - The Titlepublic String getDescription()
public void setDescription(String strDescription)
strDescription - The description of the appointment formpublic String getReference()
public void setReference(String strRef)
strRef - The strRefpublic boolean getIsFormStep()
public void setIsFormStep(boolean nStep)
strRef - The strRefpublic String getTimeStart()
public void setTimeStart(String nTimeStart)
nTimeStart - The TimeStartpublic String getTimeEnd()
public void setTimeEnd(String nTimeEnd)
nTimeEnd - The TimeEndpublic int getDurationAppointments()
public void setDurationAppointments(int nDurationAppointments)
nDurationAppointments - The DurationAppointmentspublic boolean getIsOpenMonday()
public void setIsOpenMonday(boolean bIsOpenMonday)
bIsOpenMonday - The IsOpenMondaypublic boolean getIsOpenTuesday()
public void setIsOpenTuesday(boolean bIsOpenTuesday)
bIsOpenTuesday - The IsOpenTuesdaypublic boolean getIsOpenWednesday()
public void setIsOpenWednesday(boolean bIsOpenWednesday)
bIsOpenWednesday - The IsOpenWednesdaypublic boolean getIsOpenThursday()
public void setIsOpenThursday(boolean bIsOpenThursday)
bIsOpenThursday - The IsOpenThursdaypublic boolean getIsOpenFriday()
public void setIsOpenFriday(boolean bIsOpenFriday)
bIsOpenFriday - The IsOpenFridaypublic boolean getIsOpenSaturday()
public void setIsOpenSaturday(boolean bIsOpenSaturday)
bIsOpenSaturday - The IsOpenSaturdaypublic boolean getIsOpenSunday()
public void setIsOpenSunday(boolean bIsOpenSunday)
bIsOpenSunday - The IsOpenSundaypublic Date getDateStartValidity()
public void setDateStartValidity(Date dateDateStartValidity)
dateDateStartValidity - The DateStartValiditypublic Date getDateEndValidity()
public void setDateEndValidity(Date dateDateEndValidity)
dateDateEndValidity - The DateEndValiditypublic boolean getIsActive()
public void setIsActive(boolean bIsActive)
bIsActive - The IsActivepublic boolean getDisplayTitleFo()
public void setDisplayTitleFo(boolean bDisplayTitleFo)
bDisplayTitleFo - The DisplayTitleFopublic int getNbWeeksToDisplay()
public void setNbWeeksToDisplay(int nNbWeeksToDisplay)
nNbWeeksToDisplay - The NbWeeksToDisplaypublic int getPeoplePerAppointment()
public void setPeoplePerAppointment(int nPeoplePerAppointment)
nPeoplePerAppointment - The number of person per appointmentpublic int getIdWorkflow()
public void setIdWorkflow(int nIdWorkflow)
nIdWorkflow - The id of the workflowpublic int getOpeningHour()
public void setOpeningHour(int nOpeningHour)
nOpeningHour - The opening hourpublic int getOpeningMinutes()
public void setOpeningMinutes(int nOpeningMinutes)
nOpeningMinutes - The opening minutespublic int getClosingHour()
public void setClosingHour(int nClosingHour)
nClosingHour - The closing hourpublic int getClosingMinutes()
public void setClosingMinutes(int nClosingMinutes)
nClosingMinutes - the closing minutespublic int getMinDaysBeforeAppointment()
public void setMinDaysBeforeAppointment(int nMinDayBeforeAppointment)
nMinDayBeforeAppointment - The minimum number of days between the
current date and the date of appointment make by userspublic boolean getEnableCaptcha()
public void setEnableCaptcha(boolean bEnableCaptcha)
bEnableCaptcha - True to enable the captcha, false to disable itpublic boolean getAllowUsersToCancelAppointments()
public void setAllowUsersToCancelAppointments(boolean bAllowUsersToCancelAppointments)
bAllowUsersToCancelAppointments - True if a FO user can cancel
appointments of this form, false otherwisepublic int getCalendarTemplateId()
public void setCalendarTemplateId(int nCalendarTemplateId)
nCalendarTemplateId - The id of the calendar template of this
appointment formpublic int getMaxAppointments()
nMaxAppointment - The nb of the max appointpents for weeks
of this appointment formpublic void setMaxAppointmentMail(int nMaxAppointment)
nMaxAppointment - The nb of the max appointpents for weeks
of this appointment formpublic int getWeeksLimits()
_nNbWeeksLimits - The nb of the max appointpents for weeks
of this appointment formpublic void setNbWeeksLimits(int nWeekLimits)
_nNbWeeksLimits - The nb of the max appointpents for weeks
of this appointment formpublic boolean isDayOfWeekOpened(int nDayOfWeek)
nDayOfWeek - The number of the day of the week : 1 for Monday, 2 for
Tuesday, ...public boolean getEnableConfirmEmail()
public void setEnableConfirmEmail(boolean bEnableConfirmEmail)
bEnableConfirmEmail - confirm emailpublic boolean getEnableMandatoryEmail()
public void setEnableMandatoryEmail(boolean bEnableMandatoryEmail)
bEnableMandatoryEmail - mandatory emailpublic fr.paris.lutece.portal.service.image.ImageResource getIcon()
public void setIcon(fr.paris.lutece.portal.service.image.ImageResource imgIcon)
public String getResourceTypeCode()
getResourceTypeCode in interface fr.paris.lutece.portal.service.rbac.RBACResourcepublic String getResourceId()
getResourceId in interface fr.paris.lutece.portal.service.rbac.RBACResourcepublic Date getDateLimit()
public void setDateLimit(Date dateDateLimit)
public 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 getCategory()
public void setCategory(String strCategory)
category - the category to setCopyright © 2016 City of Paris. All rights reserved.