Class JsAppComposerRenderAdapter
- java.lang.Object
-
- com.avoka.fc.core.service.composer.JsAppComposerRenderAdapter
-
- All Implemented Interfaces:
IComposerHtmlFormRenderService
public class JsAppComposerRenderAdapter extends Object implements 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
Constructors Constructor Description JsAppComposerRenderAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlwaysUse34RenderingMode()
This interface adaptor method does nothing.Long
getBrowserResourceCachePeriod()
This interface adaptor method does nothing.Double
getComposerFormVersion(HttpServletRequest request, Form form, TemplateVersion templateVersion)
This interface adaptor method does nothing.Boolean
getCompressContent()
This interface adaptor method does nothing.String
getCssRenderMode()
This interface adaptor method does nothing.String
getImgRenderMode()
This interface adaptor method does nothing.String
getJsRenderMode()
This interface adaptor method does nothing.String
getRenderFormTemplateType(HttpServletRequest request, Form form, TemplateVersion templateVersion)
This interface adaptor method does nothing.void
renderForm(TemplateVersion templateVersion, Form form, String xmlData, HttpServletRequest request, HttpServletResponse response, String targetUrl, RequestLog requestLog)
This method provides a IComposerHtmlFormRenderService interface adaptor.boolean
renderResource(HttpServletRequest request, 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
-
-
-
Method Detail
-
renderForm
public void renderForm(TemplateVersion templateVersion, Form form, String xmlData, HttpServletRequest request, 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)
-
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(HttpServletRequest request, 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(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(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
public Long getBrowserResourceCachePeriod()
This interface adaptor method does nothing.- Specified by:
getBrowserResourceCachePeriod
in interfaceIComposerHtmlFormRenderService
- Returns:
- returns null
-
setBrowserResourceCachePeriod
public void setBrowserResourceCachePeriod(Long period)
This interface adaptor method does nothing.- Specified by:
setBrowserResourceCachePeriod
in interfaceIComposerHtmlFormRenderService
- Parameters:
period
- this parameter is ignored
-
getCompressContent
public Boolean getCompressContent()
This interface adaptor method does nothing.- Specified by:
getCompressContent
in interfaceIComposerHtmlFormRenderService
- Returns:
- returns null
-
setCompressContent
public void setCompressContent(Boolean compress)
This interface adaptor method does nothing.- Specified by:
setCompressContent
in interfaceIComposerHtmlFormRenderService
- Parameters:
compress
- this parameter is ignored
-
getJsRenderMode
public String getJsRenderMode()
This interface adaptor method does nothing.- Specified by:
getJsRenderMode
in interfaceIComposerHtmlFormRenderService
- Returns:
- returns null
-
setJsRenderMode
public void setJsRenderMode(String jsRenderMode)
This inferface adaptor method does nothing.- Specified by:
setJsRenderMode
in interfaceIComposerHtmlFormRenderService
- Parameters:
jsRenderMode
- this parameter is ignored
-
getCssRenderMode
public String getCssRenderMode()
This interface adaptor method does nothing.- Specified by:
getCssRenderMode
in interfaceIComposerHtmlFormRenderService
- Returns:
- returns null.
-
setCssRenderMode
public void setCssRenderMode(String cssRenderMode)
This interface adaptor method does nothing.- Specified by:
setCssRenderMode
in interfaceIComposerHtmlFormRenderService
- Parameters:
cssRenderMode
- this parameter is ignored
-
getImgRenderMode
public String getImgRenderMode()
This interface adaptor method does nothing.- Specified by:
getImgRenderMode
in interfaceIComposerHtmlFormRenderService
- Returns:
- returns null
-
setImgRenderMode
public void setImgRenderMode(String imgRenderMode)
This interface adaptor method does nothing.- Specified by:
setImgRenderMode
in interfaceIComposerHtmlFormRenderService
- Parameters:
imgRenderMode
- this parameter is ignored
-
getAlwaysUse34RenderingMode
public String getAlwaysUse34RenderingMode()
This interface adaptor method does nothing.- Specified by:
getAlwaysUse34RenderingMode
in interfaceIComposerHtmlFormRenderService
- Returns:
- returns null
-
setAlwaysUse34RenderingMode
public void setAlwaysUse34RenderingMode(String allwaysUse34RenderingMode)
This method does nothing.- Specified by:
setAlwaysUse34RenderingMode
in interfaceIComposerHtmlFormRenderService
- Parameters:
allwaysUse34RenderingMode
- this parameter is ignored
-
-