Package com.adobe.aemds.guide.service
Interface FormSubmitActionService
-
public interface FormSubmitActionServiceInterface to provide Form Submit Service. The implementations should handle the form submission
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetServiceName()Returns the name of the service.java.util.Map<java.lang.String,java.lang.Object>submit(FormSubmitInfo formSubmitInfo)Form Submission handler.
-
-
-
Method Detail
-
getServiceName
java.lang.String getServiceName()
Returns the name of the service. This name is used as value of submitService property configured on submit action node.- Returns:
- service name
-
submit
java.util.Map<java.lang.String,java.lang.Object> submit(FormSubmitInfo formSubmitInfo)
Form Submission handler. This handler submits the form data using the givenFormSubmitInfoobject which contains the required information needed to submit the form like data, mimeType of data etc Caller could additionally make use ofGuideSubmitUtils.REDIRECT_PARAM_KEYand its associated value as a map to store redirect parameters- Parameters:
formSubmitInfo-FormSubmitInfoobject- Returns:
- map containing the submit output
-
-