Package com.adobe.fd.fp.external
Class FPSubmitServiceImpl
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
- org.apache.sling.api.servlets.SlingAllMethodsServlet
-
- com.adobe.fd.fp.common.FPSubmitHandler
-
- com.adobe.fd.fp.common.AdaptiveFormSubmissionBase
-
- com.adobe.fd.fp.external.FPSubmitServiceImpl
-
- All Implemented Interfaces:
FormSubmitActionService,java.io.Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
@Service public class FPSubmitServiceImpl extends AdaptiveFormSubmissionBase implements FormSubmitActionService
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FPSubmitServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete 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.java.util.Map<java.lang.String,java.lang.Object>submit(FormSubmitInfo formSubmitInfo, java.util.Map<java.lang.String,java.lang.Object> options)-
Methods inherited from class org.apache.sling.api.servlets.SlingSafeMethodsServlet
getServletInfo, service
-
-
-
-
Method Detail
-
getServiceName
public java.lang.String getServiceName()
Description copied from interface:FormSubmitActionServiceReturns the name of the service. This name is used as value of submitService property configured on submit action node.- Specified by:
getServiceNamein interfaceFormSubmitActionService- Returns:
- service name
-
submit
public java.util.Map<java.lang.String,java.lang.Object> submit(FormSubmitInfo formSubmitInfo) throws GuideException
Description copied from interface:FormSubmitActionServiceForm 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- Specified by:
submitin interfaceFormSubmitActionService- Parameters:
formSubmitInfo-FormSubmitInfoobject- Returns:
- map containing the submit output
- Throws:
GuideException
-
submit
public java.util.Map<java.lang.String,java.lang.Object> submit(FormSubmitInfo formSubmitInfo, java.util.Map<java.lang.String,java.lang.Object> options) throws GuideException
- Throws:
GuideException
-
-