Package com.stimulsoft.webdesigner
Class StiWebDesignerHelper
java.lang.Object
com.stimulsoft.webdesigner.StiWebDesignerHelper
Copyright Stimulsoft
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StiReportgetActionReportObject(StiRequestParams requestParams, StiHttpServletRequest httpContext) Get the current report template for the current action of the component.getActionReportObject(StiHttpServletRequest httpContext, StiHttpServletResponse response, StringBuffer jsonParams) Get the current report template for the current action of the component.static StiExportSettingsgetExportSettings(StiRequestParams requestParams, StiReport report) static StiReportgetReportObject(StiHttpServletRequest httpContext, StiRequestParams requestParams) static StiRequestParamsgetRequestParams(StiHttpServletRequest httpContext, StiHttpServletResponse response, StringBuffer jsonParams) getWebDesigner(StiWebDesignerOptions options, URL context, StiHttpServletRequest request, StiHttpServletResponse response, Object handler, StiServletContext servletContext) getWebDesigner(String designerID, StiWebDesignerOptions options, URL context, StiHttpServletRequest request, StiHttpServletResponse response, Object handler, Object servletContext) getWebDesigner(String designerID, URL context, StiHttpServletRequest request, StiHttpServletResponse response, Object handler, StiServletContext servletContext) getWebDesigner(URL context, StiHttpServletRequest request, StiHttpServletResponse response, Object handler, StiServletContext servletContext)
-
Constructor Details
-
StiWebDesignerHelper
public StiWebDesignerHelper()
-
-
Method Details
-
getExportSettings
-
getWebDesigner
public String getWebDesigner(URL context, StiHttpServletRequest request, StiHttpServletResponse response, Object handler, StiServletContext servletContext) throws IOException, StiException, DOMException, JSONException -
getWebDesigner
public String getWebDesigner(StiWebDesignerOptions options, URL context, StiHttpServletRequest request, StiHttpServletResponse response, Object handler, StiServletContext servletContext) throws IOException, StiException, DOMException, JSONException -
getWebDesigner
public String getWebDesigner(String designerID, URL context, StiHttpServletRequest request, StiHttpServletResponse response, Object handler, StiServletContext servletContext) throws IOException, StiException, DOMException, JSONException -
getWebDesigner
public String getWebDesigner(String designerID, StiWebDesignerOptions options, URL context, StiHttpServletRequest request, StiHttpServletResponse response, Object handler, Object servletContext) throws IOException, StiException, DOMException, JSONException -
getActionReportObject
public StiReport getActionReportObject(StiHttpServletRequest httpContext, StiHttpServletResponse response, StringBuffer jsonParams) throws IOException, JSONException, 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:
JSONExceptionIOExceptionStiDeserializationExceptionSAXException
-
getRequestParams
public static StiRequestParams getRequestParams(StiHttpServletRequest httpContext, StiHttpServletResponse response, StringBuffer jsonParams) throws IOException, JSONException - Throws:
IOExceptionJSONException
-
getActionReportObject
public static StiReport getActionReportObject(StiRequestParams requestParams, StiHttpServletRequest httpContext) throws JSONException, IOException, 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:
JSONExceptionStiDeserializationExceptionSAXExceptionIOException
-
getReportObject
public static StiReport getReportObject(StiHttpServletRequest httpContext, StiRequestParams requestParams)
-