Class JsAppComposerRenderAdapter
java.lang.Object
com.avoka.fc.core.service.composer.JsAppComposerRenderAdapter
- All Implemented Interfaces:
IComposerHtmlFormRenderService
Provides IComposerHtmlFormRenderService interface adaptor for the JsAppFormRenderService.
- Since:
- 18.11.0
-
Field Summary
Fields inherited from interface com.avoka.fc.core.service.IComposerHtmlFormRenderService
INLINE, RENDER_MODES, RESOURCE_PATH, SEPARATE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThis interface adaptor method does nothing.This interface adaptor method does nothing.getComposerFormVersion
(jakarta.servlet.http.HttpServletRequest request, Form form, TemplateVersion templateVersion) This interface adaptor method does nothing.This interface adaptor method does nothing.This interface adaptor method does nothing.This interface adaptor method does nothing.This interface adaptor method does nothing.getRenderFormTemplateType
(jakarta.servlet.http.HttpServletRequest request, Form form, TemplateVersion templateVersion) This interface adaptor method does nothing.void
renderForm
(TemplateVersion templateVersion, Form form, String xmlData, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String targetUrl, RequestLog requestLog) This method provides a IComposerHtmlFormRenderService interface adaptor.void
renderForm
(TemplateVersion templateVersion, Form form, String xmlData, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String targetUrl, RequestLog requestLog, Submission submission) This method provides a IComposerHtmlFormRenderService interface adaptor.boolean
renderResource
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) This interface adaptor method does nothing.void
setAlwaysUse34RenderingMode
(String allwaysUse34RenderingMode) This method does nothing.void
setBrowserResourceCachePeriod
(Long period) This interface adaptor method does nothing.void
setCompressContent
(Boolean compress) This interface adaptor method does nothing.void
setCssRenderMode
(String cssRenderMode) This interface adaptor method does nothing.void
setImgRenderMode
(String imgRenderMode) This interface adaptor method does nothing.void
setJsRenderMode
(String jsRenderMode) This inferface adaptor method does nothing.void
setReceiptRenderMode
(boolean receiptMode) Set the rendering receipt mode
-
Constructor Details
-
JsAppComposerRenderAdapter
public JsAppComposerRenderAdapter()
-
-
Method Details
-
renderForm
public void renderForm(TemplateVersion templateVersion, Form form, String xmlData, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String targetUrl, RequestLog requestLog) This method provides a IComposerHtmlFormRenderService interface adaptor.- Specified by:
renderForm
in interfaceIComposerHtmlFormRenderService
- Parameters:
templateVersion
- the form template version to render (required)form
- the form to render (ignored)xmlData
- the XML form data seed document (ignored)request
- the users Http servlet request (optional)response
- the Http servlet response to render to (required)targetUrl
- the target URL of the submission servlet (ignored)requestLog
- optional request log parameter (required)
-
renderForm
public void renderForm(TemplateVersion templateVersion, Form form, String xmlData, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String targetUrl, RequestLog requestLog, Submission submission) This method provides a IComposerHtmlFormRenderService interface adaptor.- Specified by:
renderForm
in interfaceIComposerHtmlFormRenderService
- Parameters:
templateVersion
- the form template version to render (required)form
- the form to render (ignored)xmlData
- the XML form data seed document (ignored)request
- the users Http servlet request (optional)response
- the Http servlet response to render to (required)targetUrl
- the target URL of the submission servlet (ignored)requestLog
- optional request log parameter (required)submission
- submission object- Since:
- 23.10.0
-
setReceiptRenderMode
public void setReceiptRenderMode(boolean receiptMode) Set the rendering receipt mode- Specified by:
setReceiptRenderMode
in interfaceIComposerHtmlFormRenderService
- Parameters:
receiptMode
- set whether in headless receipt render mode.
-
renderResource
public boolean renderResource(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException This interface adaptor method does nothing.- Specified by:
renderResource
in interfaceIComposerHtmlFormRenderService
- Parameters:
request
- the users Http servlet requestresponse
- the Http servlet response to render to- Returns:
- returns false
- Throws:
IOException
- if an error occurs rendering the resource
-
getRenderFormTemplateType
public String getRenderFormTemplateType(jakarta.servlet.http.HttpServletRequest request, Form form, TemplateVersion templateVersion) This interface adaptor method does nothing.- Specified by:
getRenderFormTemplateType
in interfaceIComposerHtmlFormRenderService
- Parameters:
request
- the form requestform
- the formtemplateVersion
- the form template version- Returns:
- returns null
-
getComposerFormVersion
public Double getComposerFormVersion(jakarta.servlet.http.HttpServletRequest request, Form form, TemplateVersion templateVersion) This interface adaptor method does nothing.- Specified by:
getComposerFormVersion
in interfaceIComposerHtmlFormRenderService
- Parameters:
request
- the form requestform
- the formtemplateVersion
- the form template version- Returns:
- returns null
-
getBrowserResourceCachePeriod
This interface adaptor method does nothing.- Specified by:
getBrowserResourceCachePeriod
in interfaceIComposerHtmlFormRenderService
- Returns:
- returns null
-
setBrowserResourceCachePeriod
This interface adaptor method does nothing.- Specified by:
setBrowserResourceCachePeriod
in interfaceIComposerHtmlFormRenderService
- Parameters:
period
- this parameter is ignored
-
getCompressContent
This interface adaptor method does nothing.- Specified by:
getCompressContent
in interfaceIComposerHtmlFormRenderService
- Returns:
- returns null
-
setCompressContent
This interface adaptor method does nothing.- Specified by:
setCompressContent
in interfaceIComposerHtmlFormRenderService
- Parameters:
compress
- this parameter is ignored
-
getJsRenderMode
This interface adaptor method does nothing.- Specified by:
getJsRenderMode
in interfaceIComposerHtmlFormRenderService
- Returns:
- returns null
-
setJsRenderMode
This inferface adaptor method does nothing.- Specified by:
setJsRenderMode
in interfaceIComposerHtmlFormRenderService
- Parameters:
jsRenderMode
- this parameter is ignored
-
getCssRenderMode
This interface adaptor method does nothing.- Specified by:
getCssRenderMode
in interfaceIComposerHtmlFormRenderService
- Returns:
- returns null.
-
setCssRenderMode
This interface adaptor method does nothing.- Specified by:
setCssRenderMode
in interfaceIComposerHtmlFormRenderService
- Parameters:
cssRenderMode
- this parameter is ignored
-
getImgRenderMode
This interface adaptor method does nothing.- Specified by:
getImgRenderMode
in interfaceIComposerHtmlFormRenderService
- Returns:
- returns null
-
setImgRenderMode
This interface adaptor method does nothing.- Specified by:
setImgRenderMode
in interfaceIComposerHtmlFormRenderService
- Parameters:
imgRenderMode
- this parameter is ignored
-
getAlwaysUse34RenderingMode
This interface adaptor method does nothing.- Specified by:
getAlwaysUse34RenderingMode
in interfaceIComposerHtmlFormRenderService
- Returns:
- returns null
-
setAlwaysUse34RenderingMode
This method does nothing.- Specified by:
setAlwaysUse34RenderingMode
in interfaceIComposerHtmlFormRenderService
- Parameters:
allwaysUse34RenderingMode
- this parameter is ignored
-