Interface FacadeValidationService

All Known Implementing Classes:
DefaultFacadeValidationService

public interface FacadeValidationService
Service used to perform validation in the facade.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    validate(org.springframework.validation.Validator validator, Object validatee)
    Validate the given DTO.
    void
    validate(org.springframework.validation.Validator validator, Object validatee, Object bindingObject)
    Validate the given DTO.
  • 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 validation
      validatee - - 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 validation
      validatee - - the object being validated
      bindingObject - - the object to use for binding the field errors
      Throws:
      ValidationException - when validation errors were found