|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.gwt.CmsUrlNameValidationService
public class CmsUrlNameValidationService
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.
Constructor Summary | |
---|---|
CmsUrlNameValidationService()
|
Method Summary | |
---|---|
CmsValidationResult |
validate(CmsObject cms,
java.lang.String value,
java.lang.String config)
Validates a single form field value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsUrlNameValidationService()
Method Detail |
---|
public CmsValidationResult validate(CmsObject cms, java.lang.String value, java.lang.String config)
I_CmsValidationService
validate
in interface I_CmsValidationService
cms
- the CMS contextvalue
- the value to validateconfig
- the configuration string for the validator
I_CmsValidationService.validate(org.opencms.file.CmsObject, java.lang.String, java.lang.String)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |