Package com.avoka.fc.core.service
Interface ISubmissionPreprocessorService
- All Known Implementing Classes:
FluentSubmissionPreprocessor
,GroovySubmissionPreprocessor
public interface ISubmissionPreprocessorService
Provides a service that is called before a submission is stored.
This can be used for additional checks, potentially preventing a submission from being created.
-
Method Summary
Modifier and TypeMethodDescriptionprocessSubmission
(SubmissionDataBean submissionDataBean, jakarta.servlet.http.HttpServletRequest request) Processes and potentially rejects a submission before it is stored to SmartForm Manager
-
Method Details
-
processSubmission
Object processSubmission(SubmissionDataBean submissionDataBean, jakarta.servlet.http.HttpServletRequest request) throws RedirectException, SubmissionException Processes and potentially rejects a submission before it is stored to SmartForm Manager- Parameters:
submissionDataBean
- the submission datarequest
- the request- Returns:
- the submission data (potentially modified) in a SubmissionDataBean or form XML text
- Throws:
RedirectException
- to redirect to another resourceSubmissionException
- if a recoverable error occurred, and the user should be able to resubmit the form using the submitted data
-