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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
processSubmission(SubmissionDataBean submissionDataBean, HttpServletRequest request)
Processes and potentially rejects a submission before it is stored to SmartForm Manager
-
-
-
Method Detail
-
processSubmission
Object processSubmission(SubmissionDataBean submissionDataBean, 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
-
-