Package com.avoka.tm.func
Interface IFluentFunction
- All Superinterfaces:
- com.avoka.fc.core.service.IServiceDefinitionAware
public interface IFluentFunction
extends com.avoka.fc.core.service.IServiceDefinitionAware
Provides a Fluent Function interface for executing server side Transact Application logic.
- Since:
- 17.10.0
- 
Method SummaryModifier and TypeMethodDescriptionexecute(String triggerType, jakarta.servlet.http.HttpServletRequest request, com.avoka.fc.core.entity.Submission submission, Map<String, Object> params, Document formDoc, org.apache.commons.fileupload.FileItem fileAttachment, com.avoka.fc.core.entity.UserAccount userAccount) Execute the Fluent function and return a func result object.com.avoka.fc.core.entity.GroovyServiceLogbooleanbooleanMethods inherited from interface com.avoka.fc.core.service.IServiceDefinitionAwaregetServiceDefinition, setServiceDefinition
- 
Method Details- 
executeFuncResult execute(String triggerType, jakarta.servlet.http.HttpServletRequest request, com.avoka.fc.core.entity.Submission submission, Map<String, Object> params, Document formDoc, org.apache.commons.fileupload.FileItem fileAttachment, com.avoka.fc.core.entity.UserAccount userAccount) Execute the Fluent function and return a func result object.- Parameters:
- triggerType- the function trigger type
- request- the servlet request
- submission- the submission record
- params- the request parameters
- formDoc- the form XML data
- fileAttachment- the uploaded file attachment
- userAccount- the user account record
- Returns:
- the function result object
 
- 
isDeliveryFunctionboolean isDeliveryFunction()- Returns:
- true if the function is a Delivery Function
 
- 
getGroovyServiceLogcom.avoka.fc.core.entity.GroovyServiceLog getGroovyServiceLog()- Returns:
- the groovy service log generated when the function was executed or null otherwise.
 
- 
isFunctionDisabledboolean isFunctionDisabled()- Returns:
- specify whether the function is disabled and should not be executed.
 
- 
getMaxDeliveryAttemptsInteger getMaxDeliveryAttempts()- Returns:
- the service definition maximum number of times a delivery function should be attempted if an error occurs.
 
- 
getRetryDelayMinsInteger getRetryDelayMins()- Returns:
- the service definition minimum retry delay in minutes
 
 
-