Package com.avoka.fc.core.servlet
Class RenderServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.avoka.fc.core.servlet.BaseServlet
com.avoka.fc.core.servlet.RenderServlet
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
- Direct Known Subclasses:
FormRenderServlet
,HtmlFormRenderServlet
,ReceiptRenderServlet
Provides a base servlet class for various kind of render servlet.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Provides a render context class. -
Field Summary
Modifier and TypeFieldDescriptionprotected FormDao
protected PortalPropertyDao
protected SubmissionDao
protected UserAccountDao
Fields inherited from class com.avoka.fc.core.servlet.BaseServlet
PAGE_InvalidRequest, PAGE_Offline
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected RequestLog
Create a RequestLog record for the given request context.protected IAuthenticationService
Return the Authentication Serviceprotected String
Return the form not found path.protected boolean
Return true if the servlet should accept XML based form prefill, or false otherwise.protected void
storeSubmissionFormXml
(Submission submission, RenderServlet.RenderContext context, Document storeDoc) Store the submission form XML data.Methods inherited from class com.avoka.fc.core.servlet.BaseServlet
doGet, doPost, executeRequest, getDataContext, getDeploymentPropertyDao, getErrorLogService, getErrorPagePath, getLogger, getMultiPartRequestMap, getParameterString, getParameterString, getParameterStringTrim, getRequest, getRequestParameters, getResponse, handleException, handleRequest, hasPermission, hasPermission, hasPermission, 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 Details
-
formDao
-
submissionDao
-
ppDao
-
userAccountDao
-
-
Constructor Details
-
RenderServlet
public RenderServlet()
-
-
Method Details
-
storeSubmissionFormXml
protected void storeSubmissionFormXml(Submission submission, RenderServlet.RenderContext context, Document storeDoc) Store the submission form XML data.- Parameters:
submission
- the submission record (required)context
- the render context (required)storeDoc
- the form data to store (required)- Since:
- 17.10.3
-
isAcceptXmlPrefill
protected boolean isAcceptXmlPrefill()Return true if the servlet should accept XML based form prefill, or false otherwise.- Returns:
- true if the servlet should accept XML based form prefill, or false otherwise
- Since:
- 3.6.0
-
getFormNotFoundPath
Return the form not found path.- Returns:
- the form not found path
-
createRequestLog
Create a RequestLog record for the given request context.- Parameters:
context
- the render context- Returns:
- a new RequestLog record
-
getAuthenticationService
Return the Authentication Service- Returns:
- the Authentication Service
-