Package org.opencms.gwt.shared
Class CmsValidationQuery
java.lang.Object
org.opencms.gwt.shared.CmsValidationQuery
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsValidationQuery
extends 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
ConstructorsModifierConstructorDescriptionprotectedHidden default constructor.CmsValidationQuery(String validator, String value, String config) Constructor. -
Method Summary
-
Constructor Details
-
CmsValidationQuery
Constructor.- Parameters:
validator- the server-side validator class namevalue- the value to validateconfig- the configuration string for the server-side validator
-
CmsValidationQuery
protected CmsValidationQuery()Hidden default constructor.
-
-
Method Details
-
getConfig
Gets the configuration string for the server-side validator.- Returns:
- a configuration string
-
getValidatorId
Gets the class name of the server-side validator.- Returns:
- the class name of the server-side validator
-
getValue
Returns the value to validate.- Returns:
- the value which should be validated
-