Interface ISubmissionDataValidator

All Known Implementing Classes:
FluentSubmissionDataValidator, GroovySubmissionDataValidator

public interface ISubmissionDataValidator
Provides a submission data validation service.
Since:
4.2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    validateSubmission(jakarta.servlet.http.HttpServletRequest request, Submission submission, String submissionXML)
    Validate the submission's XML data, returning empty list if no errors or a list of errors message if data validation failures occur.
  • Method Details

    • validateSubmission

      List<String> validateSubmission(jakarta.servlet.http.HttpServletRequest request, Submission submission, String submissionXML)
      Validate the submission's XML data, returning empty list if no errors or a list of errors message if data validation failures occur.
      Parameters:
      request - the servlet request
      submission - the reference submission
      submissionXML - the submission form XML data
      Returns:
      a list of data validation errors or an empty or null list if no errors occur