Interface BeanValidatorService

All Known Implementing Classes:
BeanValidatorServiceImpl

public interface BeanValidatorService
Bean validation service contract.

This server aims to perform bean validation generating complete and rich problem details descriptions. It used "javax.validation" API (JSR 380 / Bean Validation 2.0) to know the constraints of each field. More custom annotations can be found in "annotations" package.

  • Method Summary

    Modifier and Type
    Method
    Description
    Set<es.kukenan.smartfi.common.api.dtos.error.ErrorDetailDto>
    validate(Object object)
    Method used to perform a bean validation.
  • Method Details

    • validate

      Set<es.kukenan.smartfi.common.api.dtos.error.ErrorDetailDto> validate(Object object)
      Method used to perform a bean validation.
      Parameters:
      object - the bean to validate.
      Returns:
      the list of problems found during bean validation.
      Throws:
      InvalidCallException - if validation problems found in the bean.