Class GroovySubmissionCompletedProcessor
- java.lang.Object
-
- com.avoka.fc.core.service.BaseService
-
- com.avoka.fc.core.service.AbstractGroovyService
-
- com.avoka.fc.core.service.submission.GroovySubmissionCompletedProcessor
-
- All Implemented Interfaces:
IServiceDefinitionAware
,ISubmissionCompletedProcessor
,IUnitTestableService
public class GroovySubmissionCompletedProcessor extends AbstractGroovyService implements ISubmissionCompletedProcessor
Provides a GroovyScript Submission Form Status 'Completed' Processor service.
-
-
Constructor Summary
Constructors Constructor Description GroovySubmissionCompletedProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getErrorType()
void
onSubmissionCompleted(HttpServletRequest request, Submission submission, String submissionXML)
This event handlers is invoked when the submission form status becomes 'Completed'.-
Methods inherited from class com.avoka.fc.core.service.AbstractGroovyService
createExceptionAndLog, executeGroovyScript, executeGroovyScript, getCause, getExecutionTimeout, getGroovyScript, getGroovyServiceLog, getServiceDefinition, getServiceName, getServiceNameAndVersion, getServiceTimeout, getTestLogOutput, isExceptionDebugLoggingEnabled, isGroovyDebugLogging, isGroovyLoggingEnabled, isGroovyTypeChecked, runUnitTest, setExceptionDebugLoggingEnabled, setExecutionTimeout, setGroovyDebugLogging, setGroovyLoggingEnabled, setGroovyScript, setGroovyTypeChecked, setServiceDefinition, setUseModuleClassLoader
-
Methods inherited from class com.avoka.fc.core.service.BaseService
getLogger
-
-
-
-
Method Detail
-
getErrorType
public String getErrorType()
- Specified by:
getErrorType
in classAbstractGroovyService
- Returns:
- the service error type to be used to classify the error logging records
- Since:
- 4.3.4
-
onSubmissionCompleted
public void onSubmissionCompleted(HttpServletRequest request, Submission submission, String submissionXML)
This event handlers is invoked when the submission form status becomes 'Completed'.- Specified by:
onSubmissionCompleted
in interfaceISubmissionCompletedProcessor
- Parameters:
request
- the servlet requestsubmission
- the reference submissionsubmissionXML
- the submission form XML data- See Also:
ISubmissionCompletedProcessor.onSubmissionCompleted(HttpServletRequest, Submission, String)
-
-