Class FormMessage
java.lang.Object
fr.paris.lutece.plugins.appointment.business.message.FormMessage
- All Implemented Interfaces:
Serializable
Business class of the Form Message
- Author:
- Laurent Payen
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the calendar descriptionGet the label that indicates that a slot is fullGet the label that indicates that a slot is open for reservationGet the title of the page of the calendar in FOGet Field confirmation emailGet field confirmation email helpGet the help message of the email field in the form page in FOGet the title of the email field in the form page in FOGet the help message of the first name field in the form page in FOGet the title of the first name field in the form page in FOGet the help message of the last name field in the form page in FOGet the title of the last name field in the form page in FOintReturn the id of the associated formintGet the Form Message IdGet the label of the button after the creation of an appointmentGet the message to display when there is no available slot for the associated formGet the text to display to the user after the canceling of an appointmentGet the text to display to the user after the creation of an appointment and before he is redirected to a given URLGet 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
-
Constructor Details
-
FormMessage
public FormMessage()
-
-
Method Details
-
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
Get the title of the page of the calendar in FO- Returns:
- the title of the page of the calendar in FO
-
setCalendarTitle
Set the title of the page of the calendar in FO- Parameters:
strCalendarTitle- The title of the page of the calendar in FO
-
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
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
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
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
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
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
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
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
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
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
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
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
Get Field confirmation email- Returns:
- The field of confirmation email
-
setFieldConfirmationEmail
Set field confirmation email- Parameters:
strFieldConfirmationEmail-
-
getFieldConfirmationEmailHelp
Get field confirmation email help- Returns:
- The confirmation email help
-
setFieldConfirmationEmailHelp
Set the field email confirmation help- Parameters:
fieldConfirmationEmailHelp-
-
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
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
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
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
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
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
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
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
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
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
Get the calendar description- Returns:
- The calendar description
-
setCalendarDescription
Set the calendar description- Parameters:
strCalendarDescription- The calendar description
-
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
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
Get the label that indicates that a slot is full- Returns:
- The label that indicates that a slot is full
-
setCalendarFullLabel
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
-