Class FormMessage

  • All Implemented Interfaces:
    java.io.Serializable

    public final class FormMessage
    extends java.lang.Object
    implements java.io.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
      java.lang.String getCalendarDescription()
      Get the calendar description
      java.lang.String getCalendarFullLabel()
      Get the label that indicates that a slot is full
      java.lang.String getCalendarReserveLabel()
      Get the label that indicates that a slot is open for reservation
      java.lang.String getCalendarTitle()
      Get the title of the page of the calendar in FO
      java.lang.String getFieldConfirmationEmail()
      Get Field confirmation email
      java.lang.String getFieldConfirmationEmailHelp()
      Get field confirmation email help
      java.lang.String getFieldEmailHelp()
      Get the help message of the email field in the form page in FO
      java.lang.String getFieldEmailTitle()
      Get the title of the email field in the form page in FO
      java.lang.String getFieldFirstNameHelp()
      Get the help message of the first name field in the form page in FO
      java.lang.String getFieldFirstNameTitle()
      Get the title of the first name field in the form page in FO
      java.lang.String getFieldLastNameHelp()
      Get the help message of the last name field in the form page in FO
      java.lang.String getFieldLastNameTitle()
      Get the title of the last name field in the form page in FO
      int getIdForm()
      Return the id of the associated form
      int getIdFormMessage()
      Get the Form Message Id
      java.lang.String getLabelButtonRedirection()
      Get the label of the button after the creation of an appointment
      java.lang.String getNoAvailableSlot()
      Get the message to display when there is no available slot for the associated form
      java.lang.String getTextAppointmentCanceled()
      Get the text to display to the user after the canceling of an appointment
      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
      java.lang.String getUrlRedirectAfterCreation()
      Get the URL to redirect the user to after creation of an appointment
      void setCalendarDescription​(java.lang.String strCalendarDescription)
      Set the calendar description
      void setCalendarFullLabel​(java.lang.String strCalendarFullLabel)
      Set the label that indicates that a slot is full
      void setCalendarReserveLabel​(java.lang.String strCalendarReserveLabel)
      Set the label that indicates that a slot is open for reservation
      void setCalendarTitle​(java.lang.String strCalendarTitle)
      Set the title of the page of the calendar in FO
      void setFieldConfirmationEmail​(java.lang.String strFieldConfirmationEmail)
      Set field confirmation email
      void setFieldConfirmationEmailHelp​(java.lang.String fieldConfirmationEmailHelp)
      Set the field email confirmation help
      void setFieldEmailHelp​(java.lang.String strFieldEmailHelp)
      Set the help message of the email field in the form page in FO
      void setFieldEmailTitle​(java.lang.String strFieldEmailTitle)
      Set the title of the email field in the form page in FO
      void setFieldFirstNameHelp​(java.lang.String strFieldFirstNameHelp)
      Set the help message of the first name field in the form page in FO
      void setFieldFirstNameTitle​(java.lang.String strFieldFirstNameTitle)
      Set the title of the first name field in the form page in FO
      void setFieldLastNameHelp​(java.lang.String strFieldLastNameHelp)
      Get the help message of the last name field in the form page in FO
      void setFieldLastNameTitle​(java.lang.String strFieldLastNameTitle)
      Set the title of the last name field in the form page in FO
      void setIdForm​(int nIdForm)
      Set the id of the associated form
      void setIdFormMessage​(int nIdFormMessage)
      Set the Form Message Id
      void setLabelButtonRedirection​(java.lang.String strLabelButtonRedirection)
      Set the label of the button after the creation of an appointment
      void setNoAvailableSlot​(java.lang.String strNoAvailableSlot)
      Set the message to display when there is no available slot for the associated form
      void setTextAppointmentCanceled​(java.lang.String strTextAppointmentCanceled)
      Set the text to display to the user after the canceling of an appointment
      void setTextAppointmentCreated​(java.lang.String strTextAppointmentCreated)
      Set the text to display to the user after the creation of an appointment
      void setUrlRedirectAfterCreation​(java.lang.String strUrlRedirectAfterCreation)
      Set the URL to redirect the user to after creation of an appointment
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FormMessage

        public FormMessage()
    • 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