Class ValidationOptions


  • public class ValidationOptions
    extends java.lang.Object
    ValidationOptions describes the basic options required to validate an adaptive form on server side. Use ValidationOptions.ValidationOptionsBuilder , it's static helper class to define the validation options.
    Since:
    6.3
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCaptchaData()
      Returns the data associated with the captcha component present in the adaptive form
      java.lang.String getContextPath()
      Returns the context path set
      java.lang.String getData()
      Returns the submitted adaptive form data
      java.lang.String getFileAttachmentMap()
      Returns the file attachment map
      Resource getFormContainerResource()
      Returns the adaptive form container resource.
      java.lang.String getLocale()
      Returns the locale set
      java.lang.String getServerUrl()
      Returns the adaptive form server URL configured.
      java.lang.String getSomExpression()
      Returns the panel som expression.
      • Methods inherited from class java.lang.Object

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

      • getFormContainerResource

        public Resource getFormContainerResource()
        Returns the adaptive form container resource.
        Returns:
        Adaptive Form container resource.
      • getSomExpression

        public java.lang.String getSomExpression()
        Returns the panel som expression.
        Returns:
        Panel som expression
      • getData

        public java.lang.String getData()
        Returns the submitted adaptive form data
        Returns:
        string representing the adaptive form data
      • getCaptchaData

        public java.lang.String getCaptchaData()
        Returns the data associated with the captcha component present in the adaptive form
        Returns:
        string representing the captcha data
      • getServerUrl

        public java.lang.String getServerUrl()
        Returns the adaptive form server URL configured. This server URL is used to convert relative URL to absolute URL during server side validation
        Returns:
        string representing the adaptive form server url
      • getContextPath

        public java.lang.String getContextPath()
        Returns the context path set
        Returns:
        string representing the context path
      • getLocale

        public java.lang.String getLocale()
        Returns the locale set
        Returns:
        string representing the locale
      • getFileAttachmentMap

        public java.lang.String getFileAttachmentMap()
        Returns the file attachment map
        Returns:
        string representing the file attachment map