Interface FacadeValidationService
-
- All Known Implementing Classes:
DefaultFacadeValidationService
public interface FacadeValidationServiceService used to perform validation in the facade.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidvalidate(org.springframework.validation.Validator validator, java.lang.Object validatee)Validate the given DTO.voidvalidate(org.springframework.validation.Validator validator, java.lang.Object validatee, java.lang.Object bindingObject)Validate the given DTO.
-
-
-
Method Detail
-
validate
void validate(org.springframework.validation.Validator validator, java.lang.Object validatee) throws ValidationExceptionValidate 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, java.lang.Object validatee, java.lang.Object bindingObject) throws ValidationExceptionValidate 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
-
-