Package org.hippoecm.frontend.validation
Interface ICmsValidator
- All Superinterfaces:
org.apache.wicket.util.io.IClusterable
,Serializable
public interface ICmsValidator
extends org.apache.wicket.util.io.IClusterable
Validator service interface. Is used by the CMS editor validator to check user-defined conditions on the values
provided by the editor.
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
void
preValidation
(IFieldValidator type) validate
(IFieldValidator fieldValidator, JcrNodeModel model, org.apache.wicket.model.IModel childModel)
-
Method Details
-
preValidation
- Throws:
ValidationException
-
validate
Set<Violation> validate(IFieldValidator fieldValidator, JcrNodeModel model, org.apache.wicket.model.IModel childModel) throws ValidationException - Throws:
ValidationException
-
getName
String getName()
-