Package org.hippoecm.frontend.validation
Interface IValidationService
-
- All Superinterfaces:
org.apache.wicket.util.io.IClusterable
,Serializable
- All Known Subinterfaces:
FileUploadValidationService
- All Known Implementing Classes:
DefaultUploadValidationService
,ImageUploadValidationService
public interface IValidationService extends org.apache.wicket.util.io.IClusterable
The validation service validates models. The results of the validation should be made available in a model. Field plugins should subscribe to this model, informing the user when the field is involved in a constraint violation.
-
-
Field Summary
Fields Modifier and Type Field Description static String
VALIDATE_ID
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IValidationResult
getValidationResult()
void
validate()
-
-
-
Field Detail
-
VALIDATE_ID
static final String VALIDATE_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
validate
void validate() throws ValidationException
- Throws:
ValidationException
-
getValidationResult
IValidationResult getValidationResult()
-
-