Class ExportRequestValidator

    • Constructor Detail

      • ExportRequestValidator

        public ExportRequestValidator()
    • Method Detail

      • validate

        public void validate​(ExportRequest request,
                             org.springframework.validation.Errors errors)
        Validates the fields of the request and registers errorMessage in errorMessage.
        Parameters:
        request - the export request to validate
        errors - holder for validation context information. When adding field validation errorMessage, the field names should be in the context of the request.
      • validateFileType

        protected void validateFileType​(org.springframework.validation.Errors errors)