Class CmsValidationQuery

  • All Implemented Interfaces:
    com.google.gwt.user.client.rpc.IsSerializable

    public class CmsValidationQuery
    extends java.lang.Object
    implements com.google.gwt.user.client.rpc.IsSerializable
    A simple bean class which represents a validation request for a single form field.

    Since:
    8.0.0
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected CmsValidationQuery()
      Hidden default constructor.
        CmsValidationQuery​(java.lang.String validator, java.lang.String value, java.lang.String config)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getConfig()
      Gets the configuration string for the server-side validator.
      java.lang.String getValidatorId()
      Gets the class name of the server-side validator.
      java.lang.String getValue()
      Returns the value to validate.
      • Methods inherited from class java.lang.Object

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

      • CmsValidationQuery

        public CmsValidationQuery​(java.lang.String validator,
                                  java.lang.String value,
                                  java.lang.String config)
        Constructor.

        Parameters:
        validator - the server-side validator class name
        value - the value to validate
        config - the configuration string for the server-side validator
    • Method Detail

      • getConfig

        public java.lang.String getConfig()
        Gets the configuration string for the server-side validator.

        Returns:
        a configuration string
      • getValidatorId

        public java.lang.String getValidatorId()
        Gets the class name of the server-side validator.

        Returns:
        the class name of the server-side validator
      • getValue

        public java.lang.String getValue()
        Returns the value to validate.

        Returns:
        the value which should be validated