Package com.avoka.fc.core.service
Interface ISubmissionDataValidator
-
- All Known Implementing Classes:
FluentSubmissionDataValidator
,GroovySubmissionDataValidator
public interface ISubmissionDataValidator
Provides a submission data validation service.- Since:
- 4.2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
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 requestsubmission
- the reference submissionsubmissionXML
- the submission form XML data- Returns:
- a list of data validation errors or an empty or null list if no errors occur
-
-