Package org.opencms.gwt
Class CmsUrlNameValidationService
java.lang.Object
org.opencms.gwt.CmsUrlNameValidationService
- All Implemented Interfaces:
I_CmsValidationService
Validation class which both translates a sitemap URL name and checks whether it already exists in a '|'-separated
list of URL names which is passed as a configuration parameter.
- Since:
- 8.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionValidates a single form field value.
-
Constructor Details
-
CmsUrlNameValidationService
public CmsUrlNameValidationService()
-
-
Method Details
-
validate
Description copied from interface:I_CmsValidationService
Validates a single form field value.- Specified by:
validate
in interfaceI_CmsValidationService
- Parameters:
cms
- the CMS contextvalue
- the value to validateconfig
- the configuration string for the validator- Returns:
- the result of the validation
- See Also:
-