Class FormMessage
- java.lang.Object
-
- fr.paris.lutece.plugins.appointment.business.message.FormMessage
-
- All Implemented Interfaces:
Serializable
public final class FormMessage extends Object implements Serializable
Business 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 StringgetCalendarDescription()Get the calendar descriptionStringgetCalendarFullLabel()Get the label that indicates that a slot is fullStringgetCalendarReserveLabel()Get the label that indicates that a slot is open for reservationStringgetCalendarTitle()Get the title of the page of the calendar in FOStringgetFieldConfirmationEmail()Get Field confirmation emailStringgetFieldConfirmationEmailHelp()Get field confirmation email helpStringgetFieldEmailHelp()Get the help message of the email field in the form page in FOStringgetFieldEmailTitle()Get the title of the email field in the form page in FOStringgetFieldFirstNameHelp()Get the help message of the first name field in the form page in FOStringgetFieldFirstNameTitle()Get the title of the first name field in the form page in FOStringgetFieldLastNameHelp()Get the help message of the last name field in the form page in FOStringgetFieldLastNameTitle()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 IdStringgetLabelButtonRedirection()Get the label of the button after the creation of an appointmentStringgetNoAvailableSlot()Get the message to display when there is no available slot for the associated formStringgetTextAppointmentCanceled()Get the text to display to the user after the canceling of an appointmentStringgetTextAppointmentCreated()Get the text to display to the user after the creation of an appointment and before he is redirected to a given URLStringgetUrlRedirectAfterCreation()Get the URL to redirect the user to after creation of an appointmentvoidsetCalendarDescription(String strCalendarDescription)Set the calendar descriptionvoidsetCalendarFullLabel(String strCalendarFullLabel)Set the label that indicates that a slot is fullvoidsetCalendarReserveLabel(String strCalendarReserveLabel)Set the label that indicates that a slot is open for reservationvoidsetCalendarTitle(String strCalendarTitle)Set the title of the page of the calendar in FOvoidsetFieldConfirmationEmail(String strFieldConfirmationEmail)Set field confirmation emailvoidsetFieldConfirmationEmailHelp(String fieldConfirmationEmailHelp)Set the field email confirmation helpvoidsetFieldEmailHelp(String strFieldEmailHelp)Set the help message of the email field in the form page in FOvoidsetFieldEmailTitle(String strFieldEmailTitle)Set the title of the email field in the form page in FOvoidsetFieldFirstNameHelp(String strFieldFirstNameHelp)Set the help message of the first name field in the form page in FOvoidsetFieldFirstNameTitle(String strFieldFirstNameTitle)Set the title of the first name field in the form page in FOvoidsetFieldLastNameHelp(String strFieldLastNameHelp)Get the help message of the last name field in the form page in FOvoidsetFieldLastNameTitle(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(String strLabelButtonRedirection)Set the label of the button after the creation of an appointmentvoidsetNoAvailableSlot(String strNoAvailableSlot)Set the message to display when there is no available slot for the associated formvoidsetTextAppointmentCanceled(String strTextAppointmentCanceled)Set the text to display to the user after the canceling of an appointmentvoidsetTextAppointmentCreated(String strTextAppointmentCreated)Set the text to display to the user after the creation of an appointmentvoidsetUrlRedirectAfterCreation(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 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(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 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(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 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(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 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(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 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(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 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(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 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(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 String getFieldConfirmationEmail()
Get Field confirmation email- Returns:
- The field of confirmation email
-
setFieldConfirmationEmail
public void setFieldConfirmationEmail(String strFieldConfirmationEmail)
Set field confirmation email- Parameters:
strFieldConfirmationEmail-
-
getFieldConfirmationEmailHelp
public String getFieldConfirmationEmailHelp()
Get field confirmation email help- Returns:
- The confirmation email help
-
setFieldConfirmationEmailHelp
public void setFieldConfirmationEmailHelp(String fieldConfirmationEmailHelp)
Set the field email confirmation help- Parameters:
fieldConfirmationEmailHelp-
-
getUrlRedirectAfterCreation
public 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(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 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(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 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(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 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(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 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(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 String getCalendarDescription()
Get the calendar description- Returns:
- The calendar description
-
setCalendarDescription
public void setCalendarDescription(String strCalendarDescription)
Set the calendar description- Parameters:
strCalendarDescription- The calendar description
-
getCalendarReserveLabel
public 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(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 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(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
-
-