Interface FacadeValidationService
- All Known Implementing Classes:
DefaultFacadeValidationService
public interface FacadeValidationService
Service used to perform validation in the facade.
-
Method Summary
-
Method Details
-
validate
void validate(org.springframework.validation.Validator validator, Object validatee) throws ValidationException Validate the given DTO.- Parameters:
validator- - the validator to use for the validationvalidatee- - the object being validated- Throws:
ValidationException- when validation errors were found
-
validate
void validate(org.springframework.validation.Validator validator, Object validatee, Object bindingObject) throws ValidationException Validate the given DTO.- Parameters:
validator- - the validator to use for the validationvalidatee- - the object being validatedbindingObject- - the object to use for binding the field errors- Throws:
ValidationException- when validation errors were found
-