Package org.opencms.gwt
Interface I_CmsValidationService
-
- All Known Implementing Classes:
CmsUrlNameValidationService
public interface I_CmsValidationService
This interface is the server-side counterpart to theorg.opencms.gwt.client.validation.I_CmsValidator
.It contains a method for validating a single field value.
- Since:
- 8.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CmsValidationResult
validate(CmsObject cms, java.lang.String value, java.lang.String config)
Validates a single form field value.
-
-
-
Method Detail
-
validate
CmsValidationResult validate(CmsObject cms, java.lang.String value, java.lang.String config)
Validates a single form field value.- Parameters:
cms
- the CMS contextvalue
- the value to validateconfig
- the configuration string for the validator- Returns:
- the result of the validation
-
-