Class FormMessage
- java.lang.Object
-
- fr.paris.lutece.plugins.appointment.business.message.FormMessage
-
- All Implemented Interfaces:
java.io.Serializable
public final class FormMessage extends java.lang.Object implements java.io.SerializableBusiness class of the Form Message- Author:
- Laurent Payen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FormMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCalendarDescription()Get the calendar descriptionjava.lang.StringgetCalendarFullLabel()Get the label that indicates that a slot is fulljava.lang.StringgetCalendarReserveLabel()Get the label that indicates that a slot is open for reservationjava.lang.StringgetCalendarTitle()Get the title of the page of the calendar in FOjava.lang.StringgetFieldConfirmationEmail()Get Field confirmation emailjava.lang.StringgetFieldConfirmationEmailHelp()Get field confirmation email helpjava.lang.StringgetFieldEmailHelp()Get the help message of the email field in the form page in FOjava.lang.StringgetFieldEmailTitle()Get the title of the email field in the form page in FOjava.lang.StringgetFieldFirstNameHelp()Get the help message of the first name field in the form page in FOjava.lang.StringgetFieldFirstNameTitle()Get the title of the first name field in the form page in FOjava.lang.StringgetFieldLastNameHelp()Get the help message of the last name field in the form page in FOjava.lang.StringgetFieldLastNameTitle()Get the title of the last name field in the form page in FOintgetIdForm()Return the id of the associated formintgetIdFormMessage()Get the Form Message Idjava.lang.StringgetLabelButtonRedirection()Get the label of the button after the creation of an appointmentjava.lang.StringgetNoAvailableSlot()Get the message to display when there is no available slot for the associated formjava.lang.StringgetTextAppointmentCanceled()Get the text to display to the user after the canceling of an appointmentjava.lang.StringgetTextAppointmentCreated()Get the text to display to the user after the creation of an appointment and before he is redirected to a given URLjava.lang.StringgetUrlRedirectAfterCreation()Get the URL to redirect the user to after creation of an appointmentvoidsetCalendarDescription(java.lang.String strCalendarDescription)Set the calendar descriptionvoidsetCalendarFullLabel(java.lang.String strCalendarFullLabel)Set the label that indicates that a slot is fullvoidsetCalendarReserveLabel(java.lang.String strCalendarReserveLabel)Set the label that indicates that a slot is open for reservationvoidsetCalendarTitle(java.lang.String strCalendarTitle)Set the title of the page of the calendar in FOvoidsetFieldConfirmationEmail(java.lang.String strFieldConfirmationEmail)Set field confirmation emailvoidsetFieldConfirmationEmailHelp(java.lang.String fieldConfirmationEmailHelp)Set the field email confirmation helpvoidsetFieldEmailHelp(java.lang.String strFieldEmailHelp)Set the help message of the email field in the form page in FOvoidsetFieldEmailTitle(java.lang.String strFieldEmailTitle)Set the title of the email field in the form page in FOvoidsetFieldFirstNameHelp(java.lang.String strFieldFirstNameHelp)Set the help message of the first name field in the form page in FOvoidsetFieldFirstNameTitle(java.lang.String strFieldFirstNameTitle)Set the title of the first name field in the form page in FOvoidsetFieldLastNameHelp(java.lang.String strFieldLastNameHelp)Get the help message of the last name field in the form page in FOvoidsetFieldLastNameTitle(java.lang.String strFieldLastNameTitle)Set the title of the last name field in the form page in FOvoidsetIdForm(int nIdForm)Set the id of the associated formvoidsetIdFormMessage(int nIdFormMessage)Set the Form Message IdvoidsetLabelButtonRedirection(java.lang.String strLabelButtonRedirection)Set the label of the button after the creation of an appointmentvoidsetNoAvailableSlot(java.lang.String strNoAvailableSlot)Set the message to display when there is no available slot for the associated formvoidsetTextAppointmentCanceled(java.lang.String strTextAppointmentCanceled)Set the text to display to the user after the canceling of an appointmentvoidsetTextAppointmentCreated(java.lang.String strTextAppointmentCreated)Set the text to display to the user after the creation of an appointmentvoidsetUrlRedirectAfterCreation(java.lang.String strUrlRedirectAfterCreation)Set the URL to redirect the user to after creation of an appointment
-
-
-
Method Detail
-
getIdFormMessage
public int getIdFormMessage()
Get the Form Message Id- Returns:
- the FOrm Message Id
-
setIdFormMessage
public void setIdFormMessage(int nIdFormMessage)
Set the Form Message Id- Parameters:
nIdFormMessage- the Id to set
-
getCalendarTitle
public java.lang.String getCalendarTitle()
Get the title of the page of the calendar in FO- Returns:
- the title of the page of the calendar in FO
-
setCalendarTitle
public void setCalendarTitle(java.lang.String strCalendarTitle)
Set the title of the page of the calendar in FO- Parameters:
strCalendarTitle- The title of the page of the calendar in FO
-
getFieldFirstNameTitle
public java.lang.String getFieldFirstNameTitle()
Get the title of the first name field in the form page in FO- Returns:
- The title of the first name field in the form page in FO
-
setFieldFirstNameTitle
public void setFieldFirstNameTitle(java.lang.String strFieldFirstNameTitle)
Set the title of the first name field in the form page in FO- Parameters:
strFieldFirstNameTitle- The title of the first name field in the form page in FO
-
getFieldFirstNameHelp
public java.lang.String getFieldFirstNameHelp()
Get the help message of the first name field in the form page in FO- Returns:
- The help message of the first name field in the form page in FO
-
setFieldFirstNameHelp
public void setFieldFirstNameHelp(java.lang.String strFieldFirstNameHelp)
Set the help message of the first name field in the form page in FO- Parameters:
strFieldFirstNameHelp- The help message of the first name field in the form page in FO
-
getFieldLastNameTitle
public java.lang.String getFieldLastNameTitle()
Get the title of the last name field in the form page in FO- Returns:
- The title of the last name field in the form page in FO
-
setFieldLastNameTitle
public void setFieldLastNameTitle(java.lang.String strFieldLastNameTitle)
Set the title of the last name field in the form page in FO- Parameters:
strFieldLastNameTitle- The title of the last name field in the form page in FO
-
getFieldLastNameHelp
public java.lang.String getFieldLastNameHelp()
Get the help message of the last name field in the form page in FO- Returns:
- The help message of the last name field in the form page in FO
-
setFieldLastNameHelp
public void setFieldLastNameHelp(java.lang.String strFieldLastNameHelp)
Get the help message of the last name field in the form page in FO- Parameters:
strFieldLastNameHelp- The help message of the last name field in the form page in FO
-
getFieldEmailTitle
public java.lang.String getFieldEmailTitle()
Get the title of the email field in the form page in FO- Returns:
- The title of the email field in the form page in FO
-
setFieldEmailTitle
public void setFieldEmailTitle(java.lang.String strFieldEmailTitle)
Set the title of the email field in the form page in FO- Parameters:
strFieldEmailTitle- The title of the email field in the form page in FO
-
getFieldEmailHelp
public java.lang.String getFieldEmailHelp()
Get the help message of the email field in the form page in FO- Returns:
- The help message of the email field in the form page in FO
-
setFieldEmailHelp
public void setFieldEmailHelp(java.lang.String strFieldEmailHelp)
Set the help message of the email field in the form page in FO- Parameters:
strFieldEmailHelp- The help message of the email field in the form page in FO
-
getFieldConfirmationEmail
public java.lang.String getFieldConfirmationEmail()
Get Field confirmation email- Returns:
- The field of confirmation email
-
setFieldConfirmationEmail
public void setFieldConfirmationEmail(java.lang.String strFieldConfirmationEmail)
Set field confirmation email- Parameters:
strFieldConfirmationEmail-
-
getFieldConfirmationEmailHelp
public java.lang.String getFieldConfirmationEmailHelp()
Get field confirmation email help- Returns:
- The confirmation email help
-
setFieldConfirmationEmailHelp
public void setFieldConfirmationEmailHelp(java.lang.String fieldConfirmationEmailHelp)
Set the field email confirmation help- Parameters:
fieldConfirmationEmailHelp-
-
getUrlRedirectAfterCreation
public java.lang.String getUrlRedirectAfterCreation()
Get the URL to redirect the user to after creation of an appointment- Returns:
- The URL to redirect the user to after creation of an appointment
-
setUrlRedirectAfterCreation
public void setUrlRedirectAfterCreation(java.lang.String strUrlRedirectAfterCreation)
Set the URL to redirect the user to after creation of an appointment- Parameters:
strUrlRedirectAfterCreation- The URL to redirect the user to after creation of an appointment
-
getTextAppointmentCreated
public java.lang.String getTextAppointmentCreated()
Get the text to display to the user after the creation of an appointment and before he is redirected to a given URL- Returns:
- The text to display to the user after the creation of an appointment
-
setTextAppointmentCreated
public void setTextAppointmentCreated(java.lang.String strTextAppointmentCreated)
Set the text to display to the user after the creation of an appointment- Parameters:
strTextAppointmentCreated- The text to display to the user after the creation of an appointment
-
getTextAppointmentCanceled
public java.lang.String getTextAppointmentCanceled()
Get the text to display to the user after the canceling of an appointment- Returns:
- The text to display to the user after the canceling of an appointment
-
setTextAppointmentCanceled
public void setTextAppointmentCanceled(java.lang.String strTextAppointmentCanceled)
Set the text to display to the user after the canceling of an appointment- Parameters:
strTextAppointmentCanceled- The text to display to the user after the canceling of an appointment
-
getLabelButtonRedirection
public java.lang.String getLabelButtonRedirection()
Get the label of the button after the creation of an appointment- Returns:
- The label of the button after the creation of an appointment
-
setLabelButtonRedirection
public void setLabelButtonRedirection(java.lang.String strLabelButtonRedirection)
Set the label of the button after the creation of an appointment- Parameters:
strLabelButtonRedirection- The label of the button after the creation of an appointment
-
getNoAvailableSlot
public java.lang.String getNoAvailableSlot()
Get the message to display when there is no available slot for the associated form- Returns:
- the message to display when there is no available slot
-
setNoAvailableSlot
public void setNoAvailableSlot(java.lang.String strNoAvailableSlot)
Set the message to display when there is no available slot for the associated form- Parameters:
strNoAvailableSlot- The message to display when there is no available slot
-
getCalendarDescription
public java.lang.String getCalendarDescription()
Get the calendar description- Returns:
- The calendar description
-
setCalendarDescription
public void setCalendarDescription(java.lang.String strCalendarDescription)
Set the calendar description- Parameters:
strCalendarDescription- The calendar description
-
getCalendarReserveLabel
public java.lang.String getCalendarReserveLabel()
Get the label that indicates that a slot is open for reservation- Returns:
- The label that indicates that a slot is open for reservation
-
setCalendarReserveLabel
public void setCalendarReserveLabel(java.lang.String strCalendarReserveLabel)
Set the label that indicates that a slot is open for reservation- Parameters:
strCalendarReserveLabel- The label that indicates that a slot is open for reservation
-
getCalendarFullLabel
public java.lang.String getCalendarFullLabel()
Get the label that indicates that a slot is full- Returns:
- The label that indicates that a slot is full
-
setCalendarFullLabel
public void setCalendarFullLabel(java.lang.String strCalendarFullLabel)
Set the label that indicates that a slot is full- Parameters:
strCalendarFullLabel- The label that indicates that a slot is full
-
getIdForm
public int getIdForm()
Return the id of the associated form- Returns:
- The id of the associated form
-
setIdForm
public void setIdForm(int nIdForm)
Set the id of the associated form- Parameters:
nIdForm- The id of the associated form
-
-