Package com.avoka.fc.core.service.fluent
Class FormFunctionsExecutor
- java.lang.Object
-
- com.avoka.fc.core.service.fluent.FormFunctionsExecutor
-
public class FormFunctionsExecutor extends Object
Provides a Fluent Form Functions Executor class which will execute the configured fluent functions for the specified trigger type.- Since:
- 17.10.0
-
-
Constructor Summary
Constructors Constructor Description FormFunctionsExecutor(String triggerType)
Create a Fluent Functions Executor for the given trigger.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormFuncResult
execute(HttpServletRequest request, Submission submission, Document formData, Map<String,Object> parameters, org.apache.commons.fileupload.FileItem fileAttachment, UserAccount userAccount)
Execute the form functions in sequence for the given trigger type.
-
-
-
Constructor Detail
-
FormFunctionsExecutor
public FormFunctionsExecutor(String triggerType)
Create a Fluent Functions Executor for the given trigger.- Parameters:
triggerType
- the for function trigger type.
-
-
Method Detail
-
execute
public FormFuncResult execute(HttpServletRequest request, Submission submission, Document formData, Map<String,Object> parameters, org.apache.commons.fileupload.FileItem fileAttachment, UserAccount userAccount)
Execute the form functions in sequence for the given trigger type.- Parameters:
request
- the user request (required)submission
- the submission record (required)formData
- the form data (optional)parameters
- the command parameters (optional)fileAttachment
- the uploaded file item (optional)userAccount
- the user account record (optional)- Returns:
- the form function result
-
-