com.stimulsoft.webdesigner
Class StiWebDesignerHelper

java.lang.Object
  extended by com.stimulsoft.webdesigner.StiWebDesignerHelper

public class StiWebDesignerHelper
extends java.lang.Object

Copyright Stimulsoft


Constructor Summary
StiWebDesignerHelper()
           
 
Method Summary
 StiReport getActionReportObject(javax.servlet.http.HttpServletRequest httpContext, javax.servlet.http.HttpServletResponse response, java.lang.StringBuffer jsonParams)
          Get the current report template for the current action of the component.
static StiReport getActionReportObject(StiRequestParams requestParams, javax.servlet.http.HttpServletRequest httpContext)
          Get the current report template for the current action of the component.
static StiExportSettings getExportSettings(StiRequestParams requestParams)
           
static StiReport getReportObject(javax.servlet.http.HttpServletRequest httpContext, StiRequestParams requestParams)
           
static StiRequestParams getRequestParams(javax.servlet.http.HttpServletRequest httpContext, javax.servlet.http.HttpServletResponse response, java.lang.StringBuffer jsonParams)
           
 java.lang.String getWebDesigner(StiWebDesignerOptions options, java.net.URL context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, StiWebDesigerHandler handler, javax.servlet.ServletContext servletContext)
           
 java.lang.String getWebDesigner(java.lang.String designerID, StiWebDesignerOptions options, java.net.URL context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, StiWebDesigerHandler handler, java.lang.Object servletContext)
           
 java.lang.String getWebDesigner(java.lang.String designerID, java.net.URL context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, StiWebDesigerHandler handler, javax.servlet.ServletContext servletContext)
           
 java.lang.String getWebDesigner(java.net.URL context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, StiWebDesigerHandler handler, javax.servlet.ServletContext servletContext)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiWebDesignerHelper

public StiWebDesignerHelper()
Method Detail

getExportSettings

public static StiExportSettings getExportSettings(StiRequestParams requestParams)

getWebDesigner

public java.lang.String getWebDesigner(java.net.URL context,
                                       javax.servlet.http.HttpServletRequest request,
                                       javax.servlet.http.HttpServletResponse response,
                                       StiWebDesigerHandler handler,
                                       javax.servlet.ServletContext servletContext)
                                throws javax.xml.parsers.ParserConfigurationException,
                                       java.io.IOException,
                                       StiException,
                                       org.w3c.dom.DOMException,
                                       JSONException
Throws:
javax.xml.parsers.ParserConfigurationException
java.io.IOException
StiException
org.w3c.dom.DOMException
JSONException

getWebDesigner

public java.lang.String getWebDesigner(StiWebDesignerOptions options,
                                       java.net.URL context,
                                       javax.servlet.http.HttpServletRequest request,
                                       javax.servlet.http.HttpServletResponse response,
                                       StiWebDesigerHandler handler,
                                       javax.servlet.ServletContext servletContext)
                                throws javax.xml.parsers.ParserConfigurationException,
                                       java.io.IOException,
                                       StiException,
                                       org.w3c.dom.DOMException,
                                       JSONException
Throws:
javax.xml.parsers.ParserConfigurationException
java.io.IOException
StiException
org.w3c.dom.DOMException
JSONException

getWebDesigner

public java.lang.String getWebDesigner(java.lang.String designerID,
                                       java.net.URL context,
                                       javax.servlet.http.HttpServletRequest request,
                                       javax.servlet.http.HttpServletResponse response,
                                       StiWebDesigerHandler handler,
                                       javax.servlet.ServletContext servletContext)
                                throws javax.xml.parsers.ParserConfigurationException,
                                       java.io.IOException,
                                       StiException,
                                       org.w3c.dom.DOMException,
                                       JSONException
Throws:
javax.xml.parsers.ParserConfigurationException
java.io.IOException
StiException
org.w3c.dom.DOMException
JSONException

getWebDesigner

public java.lang.String getWebDesigner(java.lang.String designerID,
                                       StiWebDesignerOptions options,
                                       java.net.URL context,
                                       javax.servlet.http.HttpServletRequest request,
                                       javax.servlet.http.HttpServletResponse response,
                                       StiWebDesigerHandler handler,
                                       java.lang.Object servletContext)
                                throws javax.xml.parsers.ParserConfigurationException,
                                       java.io.IOException,
                                       StiException,
                                       org.w3c.dom.DOMException,
                                       JSONException
Throws:
javax.xml.parsers.ParserConfigurationException
java.io.IOException
StiException
org.w3c.dom.DOMException
JSONException

getActionReportObject

public StiReport getActionReportObject(javax.servlet.http.HttpServletRequest httpContext,
                                       javax.servlet.http.HttpServletResponse response,
                                       java.lang.StringBuffer jsonParams)
                                throws java.io.IOException,
                                       JSONException,
                                       org.xml.sax.SAXException,
                                       StiDeserializationException
Get the current report template for the current action of the component. Returns report template from the client for OpenReport action, new report template for CreateReport action, copy of the report template for PreviewReport action. Otherwise returns report template from the cache.

Parameters:
httpContext -
Returns:
Throws:
JSONException
java.io.IOException
StiDeserializationException
org.xml.sax.SAXException

getRequestParams

public static StiRequestParams getRequestParams(javax.servlet.http.HttpServletRequest httpContext,
                                                javax.servlet.http.HttpServletResponse response,
                                                java.lang.StringBuffer jsonParams)
                                         throws java.io.IOException,
                                                JSONException
Throws:
java.io.IOException
JSONException

getActionReportObject

public static StiReport getActionReportObject(StiRequestParams requestParams,
                                              javax.servlet.http.HttpServletRequest httpContext)
                                       throws JSONException,
                                              java.io.IOException,
                                              org.xml.sax.SAXException,
                                              StiDeserializationException
Get the current report template for the current action of the component. Returns report template from the client for OpenReport action, new report template for CreateReport action, copy of the report template for PreviewReport action. Otherwise returns report template from the cache. The specified request parameters will be used.

Parameters:
requestParams -
Returns:
Throws:
JSONException
StiDeserializationException
org.xml.sax.SAXException
java.io.IOException

getReportObject

public static StiReport getReportObject(javax.servlet.http.HttpServletRequest httpContext,
                                        StiRequestParams requestParams)