Class FormRule

    • Constructor Detail

      • FormRule

        public FormRule()
    • Method Detail

      • getIdFormRule

        public int getIdFormRule()
        Get the id of the form rule
        Returns:
        the id of the form rule
      • setIdFormRule

        public void setIdFormRule​(int nIdFormRule)
        Set the id of the form rule
        Parameters:
        nIdFormRule - the id to set
      • getIsCaptchaEnabled

        public boolean getIsCaptchaEnabled()
        Indicate if the captcha is enabled or not
        Returns:
        true if the captcha is enabled
      • setIsCaptchaEnabled

        public void setIsCaptchaEnabled​(boolean bIsCaptchaEnabled)
        Set the boolean captcha value
        Parameters:
        bIsCaptchaEnabled - the boolean captcha value to set
      • getIsMandatoryEmailEnabled

        public boolean getIsMandatoryEmailEnabled()
        Indicate whether the email is mandatory or not
        Returns:
        true if the email is mandatory
      • setIsMandatoryEmailEnabled

        public void setIsMandatoryEmailEnabled​(boolean bIsMandatoryEmailEnabled)
        Set the boolean value for the mandatory email
        Parameters:
        bIsMandatoryEmailEnabled - the boolean value for the mandatory email
      • getIsActiveAuthentication

        public boolean getIsActiveAuthentication()
        Indicate whether the authentication is required or not
        Returns:
        true if the authentication is required
      • setIsActiveAuthentication

        public void setIsActiveAuthentication​(boolean bIsActiveAuthentication)
        Set the boolean value for the authentication
        Parameters:
        bIsActiveAuthentication - the boolean value for the authentication
      • getNbDaysBeforeNewAppointment

        public int getNbDaysBeforeNewAppointment()
        Get the number of days the user has to wait before he can take another appointment
        Returns:
        the number of days
      • setNbDaysBeforeNewAppointment

        public void setNbDaysBeforeNewAppointment​(int nNbDaysBeforeNewAppointment)
        Set the number of days the user have to wait before he can take another appointment
        Parameters:
        _nNbDaysBeforeNewAppointment - the number of days
      • getMinTimeBeforeAppointment

        public int getMinTimeBeforeAppointment()
        Get the minimal time from now before the user can take an appointment
        Returns:
        The minimal time in hours
      • setMinTimeBeforeAppointment

        public void setMinTimeBeforeAppointment​(int nMinTimeBeforeAppointment)
        Set the minimal time from now before the user can take an appointment
        Parameters:
        nMinTimeBeforeAppointment - the minimal time in hours
      • getNbMaxAppointmentsPerUser

        public int getNbMaxAppointmentsPerUser()
        Get the maximum number of appointments per user
        Returns:
        the maximum number of appointments per user on a given period
      • setNbMaxAppointmentsPerUser

        public void setNbMaxAppointmentsPerUser​(int nNbMaxAppointmentsPerUser)
        Set the maximum number of appointments authorized
        Parameters:
        _nNbMaxAppointmentsPerUser - the maximum number of appointments authorized
      • getNbDaysForMaxAppointmentsPerUser

        public int getNbDaysForMaxAppointmentsPerUser()
        Get the number of days for the period of the maximum number of appointments authorized per user
        Returns:
        the number of days of the period
      • setNbDaysForMaxAppointmentsPerUser

        public void setNbDaysForMaxAppointmentsPerUser​(int nNbDaysForMaxAppointmentsPerUser)
        Set the number of days of the period for the maximum number of appointments authorized
        Parameters:
        _nNbDaysForMaxAppointmentsPerUser - the number of days to set
      • getBoOverbooking

        public boolean getBoOverbooking()
        Returns the BoOverbooking
        Returns:
        The BoOverbooking
      • setBoOverbooking

        public void setBoOverbooking​(boolean bBoOverbooking)
        Sets the BoOverbooking
        Parameters:
        bBoOverbooking - The BoOverbooking
      • getIdForm

        public int getIdForm()
        Get the form id the formRule belongs to
        Returns:
        the form id
      • setIdForm

        public void setIdForm​(int nIdForm)
        Set the form id the formRule belongs to
        Parameters:
        nIdForm - the form id to set