Package com.adobe.aemds.guide.service
Interface FormSubmitActionService
-
public interface FormSubmitActionService
Interface 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.String
getServiceName()
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 givenFormSubmitInfo
object which contains the required information needed to submit the form like data, mimeType of data etc- Parameters:
formSubmitInfo
-FormSubmitInfo
object- Returns:
- map containing the submit output
-
-