Package com.avoka.fc.core.servlet
Class FormDynamicDataServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.avoka.fc.core.servlet.BaseServlet
-
- com.avoka.fc.core.servlet.FormDynamicDataServlet
-
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
public class FormDynamicDataServlet extends BaseServlet
Provides a servlet that will process dynamic form data requests made by HTML Forms.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
OPERATION_NAME_ADD_ATTACHMENT_FILE
The name identifying the add attachment file operationstatic String
OPERATION_NAME_BACKGROUND_SAVE
The name identifying the background save operationstatic String
OPERATION_NAME_COMMAND
The name identifying the update operation.static String
OPERATION_NAME_DYNAMIC_DATA
The name identifying the dynamic data retrieval operationstatic String
OPERATION_NAME_EMAIL_CONFIRMATION
The name identifying the email confirmation operationstatic String
OPERATION_NAME_EMAIL_RECEIPT
The name identifying the email receipt operationstatic String
OPERATION_NAME_EMAIL_SAVED_FORM
The name identifying the email saved form operationstatic String
OPERATION_NAME_EMAIL_SHARE_FORM
The name identifying the email share form operationstatic String
OPERATION_NAME_FORM_START
The name identifying the form start operationstatic String
OPERATION_NAME_GET_ATTACHMENT_FILE
The name identifying the get attachment file operationstatic String
OPERATION_NAME_GET_ATTACHMENT_LIST
The name identifying the get attachment list operationstatic String
OPERATION_NAME_PING
The name identifying the ping operationstatic String
OPERATION_NAME_REFERENCE_DATA
The name identifying the reference data operationstatic String
OPERATION_NAME_REMOVE_ATTACHMENT_FILE
The name identifying the remove attachment file operationstatic String
OPERATION_NAME_RENDER_RECEIPT
The name identifying the render receipt operationstatic String
OPERATION_NAME_SAVE_CHALLENGE
The name identifying the save challenge operationstatic String
OPERATION_NAME_SUBMIT_ATTACHMENT_MANUALLY
The name identifying the submit attachments manually operationstatic String
PARAMETER_ATTACHMENT_FILE
The request parameter holding the attachment filestatic String
PARAMETER_ATTACHMENT_KEY
The request parameter holding the attachment keystatic String
PARAMETER_ATTACHMENT_METADATA
The request parameter holding the attachment meta datastatic String
PARAMETER_ATTACHMENT_NAME
The request parameter holding the attachment namestatic String
PARAMETER_BACKGROUND_SAVE
The request parameter specifying whether a scripted "backgroundSave"static String
PARAMETER_COMMAND
The request parameter holding the command.static String
PARAMETER_EMAIL_ADDRESS
The request parameter holding the email addressstatic String
PARAMETER_EMAIL_BODY
The request parameter holding the share form email bodystatic String
PARAMETER_FILE_ATTACHMENT
The request parameter holding the fileAttachment.static String
PARAMETER_FORM_CODE
The request parameter holding the form codestatic String
PARAMETER_FORM_DATA
The request parameter holding the formData.static String
PARAMETER_MANDATORY_STATUS
The request parameter holding the attachment mandatory statusstatic String
PARAMETER_OPERATION_NAME
The request parameter holding the name of the operation to be invokedstatic String
PARAMETER_REFERENCE_NUMBER
The request parameter holding the reference numberstatic String
PARAMETER_REQUEST_KEY
The request parameter holding the request log keystatic String
PARAMETER_REVISION_NUMBER
The request parameter holding the revisionNumberstatic String
PARAMETER_SAVE_CHALLENGE_ANSWER
The request parameter holding the save challenge answerstatic String
PARAMETER_SEND_EMAIL
The request parameter holding the send emailstatic String
PARAMETER_SENDER_NAME
The request parameter holding the share form email sender namestatic String
PARAMETER_SERVICE_NAME
The request parameter holding the service namestatic String
PARAMETER_SERVICE_VERSION
The request parameter holding the service versionstatic String
SERVLET_NAME
Servlet namestatic String
SERVLET_URL
The servlet url-
Fields inherited from class com.avoka.fc.core.servlet.BaseServlet
PAGE_InvalidRequest, PAGE_Offline
-
-
Constructor Summary
Constructors Constructor Description FormDynamicDataServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
executeRequest(HttpServletRequest request, HttpServletResponse response)
Handles the dynamic form data service request.protected ErrorLogService
getErrorLogService()
-
Methods inherited from class com.avoka.fc.core.servlet.BaseServlet
doGet, doPost, getDataContext, getDeploymentPropertyDao, getErrorPagePath, getLogger, getMultiPartRequestMap, getParameterString, getParameterString, getParameterStringTrim, getRequest, getRequestParameters, getResponse, handleException, handleRequest, listServletInfo, sendRedirect, sendResponseError
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
-
-
-
Field Detail
-
SERVLET_URL
public static final String SERVLET_URL
The servlet url- See Also:
- Constant Field Values
-
SERVLET_NAME
public static final String SERVLET_NAME
Servlet name- See Also:
- Constant Field Values
-
PARAMETER_OPERATION_NAME
public static final String PARAMETER_OPERATION_NAME
The request parameter holding the name of the operation to be invoked- See Also:
- Constant Field Values
-
PARAMETER_REQUEST_KEY
public static final String PARAMETER_REQUEST_KEY
The request parameter holding the request log key- See Also:
- Constant Field Values
-
PARAMETER_SERVICE_NAME
public static final String PARAMETER_SERVICE_NAME
The request parameter holding the service name- See Also:
- Constant Field Values
-
PARAMETER_SERVICE_VERSION
public static final String PARAMETER_SERVICE_VERSION
The request parameter holding the service version- See Also:
- Constant Field Values
-
PARAMETER_FORM_CODE
public static final String PARAMETER_FORM_CODE
The request parameter holding the form code- See Also:
- Constant Field Values
-
PARAMETER_ATTACHMENT_KEY
public static final String PARAMETER_ATTACHMENT_KEY
The request parameter holding the attachment key- See Also:
- Constant Field Values
-
PARAMETER_ATTACHMENT_FILE
public static final String PARAMETER_ATTACHMENT_FILE
The request parameter holding the attachment file- See Also:
- Constant Field Values
-
PARAMETER_ATTACHMENT_METADATA
public static final String PARAMETER_ATTACHMENT_METADATA
The request parameter holding the attachment meta data- See Also:
- Constant Field Values
-
PARAMETER_ATTACHMENT_NAME
public static final String PARAMETER_ATTACHMENT_NAME
The request parameter holding the attachment name- See Also:
- Constant Field Values
-
PARAMETER_MANDATORY_STATUS
public static final String PARAMETER_MANDATORY_STATUS
The request parameter holding the attachment mandatory status- See Also:
- Constant Field Values
-
PARAMETER_REFERENCE_NUMBER
public static final String PARAMETER_REFERENCE_NUMBER
The request parameter holding the reference number- See Also:
- Constant Field Values
-
PARAMETER_SAVE_CHALLENGE_ANSWER
public static final String PARAMETER_SAVE_CHALLENGE_ANSWER
The request parameter holding the save challenge answer- See Also:
- Constant Field Values
-
PARAMETER_EMAIL_ADDRESS
public static final String PARAMETER_EMAIL_ADDRESS
The request parameter holding the email address- See Also:
- Constant Field Values
-
PARAMETER_SEND_EMAIL
public static final String PARAMETER_SEND_EMAIL
The request parameter holding the send email- See Also:
- Constant Field Values
-
PARAMETER_SENDER_NAME
public static final String PARAMETER_SENDER_NAME
The request parameter holding the share form email sender name- See Also:
- Constant Field Values
-
PARAMETER_EMAIL_BODY
public static final String PARAMETER_EMAIL_BODY
The request parameter holding the share form email body- See Also:
- Constant Field Values
-
PARAMETER_BACKGROUND_SAVE
public static final String PARAMETER_BACKGROUND_SAVE
The request parameter specifying whether a scripted "backgroundSave"- See Also:
- Constant Field Values
-
PARAMETER_REVISION_NUMBER
public static final String PARAMETER_REVISION_NUMBER
The request parameter holding the revisionNumber- See Also:
- Constant Field Values
-
PARAMETER_COMMAND
public static final String PARAMETER_COMMAND
The request parameter holding the command.- See Also:
- Constant Field Values
-
PARAMETER_FORM_DATA
public static final String PARAMETER_FORM_DATA
The request parameter holding the formData.- See Also:
- Constant Field Values
-
PARAMETER_FILE_ATTACHMENT
public static final String PARAMETER_FILE_ATTACHMENT
The request parameter holding the fileAttachment.- See Also:
- Constant Field Values
-
OPERATION_NAME_ADD_ATTACHMENT_FILE
public static final String OPERATION_NAME_ADD_ATTACHMENT_FILE
The name identifying the add attachment file operation- See Also:
- Constant Field Values
-
OPERATION_NAME_BACKGROUND_SAVE
public static final String OPERATION_NAME_BACKGROUND_SAVE
The name identifying the background save operation- See Also:
- Constant Field Values
-
OPERATION_NAME_DYNAMIC_DATA
public static final String OPERATION_NAME_DYNAMIC_DATA
The name identifying the dynamic data retrieval operation- See Also:
- Constant Field Values
-
OPERATION_NAME_EMAIL_SAVED_FORM
public static final String OPERATION_NAME_EMAIL_SAVED_FORM
The name identifying the email saved form operation- See Also:
- Constant Field Values
-
OPERATION_NAME_EMAIL_SHARE_FORM
public static final String OPERATION_NAME_EMAIL_SHARE_FORM
The name identifying the email share form operation- See Also:
- Constant Field Values
-
OPERATION_NAME_EMAIL_RECEIPT
public static final String OPERATION_NAME_EMAIL_RECEIPT
The name identifying the email receipt operation- See Also:
- Constant Field Values
-
OPERATION_NAME_EMAIL_CONFIRMATION
public static final String OPERATION_NAME_EMAIL_CONFIRMATION
The name identifying the email confirmation operation- See Also:
- Constant Field Values
-
OPERATION_NAME_GET_ATTACHMENT_FILE
public static final String OPERATION_NAME_GET_ATTACHMENT_FILE
The name identifying the get attachment file operation- See Also:
- Constant Field Values
-
OPERATION_NAME_GET_ATTACHMENT_LIST
public static final String OPERATION_NAME_GET_ATTACHMENT_LIST
The name identifying the get attachment list operation- See Also:
- Constant Field Values
-
OPERATION_NAME_REFERENCE_DATA
public static final String OPERATION_NAME_REFERENCE_DATA
The name identifying the reference data operation- See Also:
- Constant Field Values
-
OPERATION_NAME_FORM_START
public static final String OPERATION_NAME_FORM_START
The name identifying the form start operation- See Also:
- Constant Field Values
-
OPERATION_NAME_PING
public static final String OPERATION_NAME_PING
The name identifying the ping operation- See Also:
- Constant Field Values
-
OPERATION_NAME_REMOVE_ATTACHMENT_FILE
public static final String OPERATION_NAME_REMOVE_ATTACHMENT_FILE
The name identifying the remove attachment file operation- See Also:
- Constant Field Values
-
OPERATION_NAME_RENDER_RECEIPT
public static final String OPERATION_NAME_RENDER_RECEIPT
The name identifying the render receipt operation- See Also:
- Constant Field Values
-
OPERATION_NAME_SAVE_CHALLENGE
public static final String OPERATION_NAME_SAVE_CHALLENGE
The name identifying the save challenge operation- See Also:
- Constant Field Values
-
OPERATION_NAME_SUBMIT_ATTACHMENT_MANUALLY
public static final String OPERATION_NAME_SUBMIT_ATTACHMENT_MANUALLY
The name identifying the submit attachments manually operation- See Also:
- Constant Field Values
-
OPERATION_NAME_COMMAND
public static final String OPERATION_NAME_COMMAND
The name identifying the update operation.- See Also:
- Constant Field Values
-
-
Method Detail
-
getErrorLogService
protected ErrorLogService getErrorLogService()
- Specified by:
getErrorLogService
in classBaseServlet
- Returns:
- an error log service
- Since:
- 4.3.4
-
executeRequest
protected void executeRequest(HttpServletRequest request, HttpServletResponse response)
Handles the dynamic form data service request.- Specified by:
executeRequest
in classBaseServlet
- Parameters:
request
- the servlet requestresponse
- the servlet response
-
-