Interface I_CmsValidationController
-
- All Known Implementing Classes:
CmsValidationController
public interface I_CmsValidationController
This is the interface which anI_CmsValidator
object uses to either synchronously report the result of a validation or to request an asynchronous validation from the server.- Since:
- 8.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
provideValidationResult(java.lang.String field, org.opencms.gwt.shared.CmsValidationResult result)
Reports the result of a synchronous validation.void
validateAsync(java.lang.String field, java.lang.String value, java.lang.String validator, java.lang.String config)
Requests an server-side validation to be performed later.
-
-
-
Method Detail
-
provideValidationResult
void provideValidationResult(java.lang.String field, org.opencms.gwt.shared.CmsValidationResult result)
Reports the result of a synchronous validation.- Parameters:
field
- the field nameresult
- the validation result
-
validateAsync
void validateAsync(java.lang.String field, java.lang.String value, java.lang.String validator, java.lang.String config)
Requests an server-side validation to be performed later.- Parameters:
field
- the field namevalue
- the value of the fieldvalidator
- the server-side validator class nameconfig
- the configuration string for the server-side validator
-
-