Class DefaultProxyFacade

java.lang.Object
de.hybris.platform.xyformsfacades.proxy.impl.DefaultProxyFacade
All Implemented Interfaces:
ProxyFacade

@Deprecated(since="2211", forRemoval=true) public class DefaultProxyFacade extends Object implements ProxyFacade
Deprecated, for removal: This API element is subject to removal in a future version.
Orchestrates calls to ProxyService
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    createEmptyDataForForm(String applicationId, String formId)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Creates empty YFormData for a form definition via orbeon background API.
    getInlineFormHtml(String applicationId, String formId, YFormDataActionEnum action, String formDataId)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets the embedded HTML representation of a form definition.
    protected ProxyService
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    proxy(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Proxies content
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected String
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultProxyFacade

      public DefaultProxyFacade()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getInlineFormHtml

      public String getInlineFormHtml(String applicationId, String formId, YFormDataActionEnum action, String formDataId) throws YFormServiceException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ProxyFacade
      Gets the embedded HTML representation of a form definition.
      Specified by:
      getInlineFormHtml in interface ProxyFacade
      Parameters:
      applicationId - the application id of the form definition
      formId - the form id of the form definition
      action - the form action
      formDataId - the form data id of the form definition
      Returns:
      the inline representation of the form definition as string
      Throws:
      YFormServiceException - if request with specified parameter cannot be proxied or response is corrupted
    • createEmptyDataForForm

      public String createEmptyDataForForm(String applicationId, String formId) throws YFormServiceException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ProxyFacade
      Creates empty YFormData for a form definition via orbeon background API.
      Specified by:
      createEmptyDataForForm in interface ProxyFacade
      Parameters:
      applicationId - the application id of the form definition
      formId - the form id of the form definition
      Returns:
      new id for created YFormData
      Throws:
      YFormServiceException - if request with specified parameter cannot be proxied or response is corrupted
    • proxy

      public void proxy(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws ProxyException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ProxyFacade
      Proxies content
      Specified by:
      proxy in interface ProxyFacade
      Parameters:
      request - the HttpServletRequest associated with the call
      response - the HttpServletResponse associated with the call
      Throws:
      ProxyException - when request cannot be proxied
    • urlEncode

      protected String urlEncode(String url)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getProxyService

      protected ProxyService getProxyService()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setProxyService

      public void setProxyService(ProxyService proxyService)
      Deprecated, for removal: This API element is subject to removal in a future version.