Interface ISubmissionDataValidator

    • Method Detail

      • validateSubmission

        List<String> validateSubmission​(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