com.stimulsoft.webviewer
Class StiWebViewerActions

java.lang.Object
  extended by com.stimulsoft.webviewer.StiWebViewerActions

public class StiWebViewerActions
extends java.lang.Object

Copyright Stimulsoft


Constructor Summary
StiWebViewerActions()
           
 
Method Summary
static StiWebActionResult emailReportResult(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
static StiWebActionResult emailReportResult(StiRequestParams requestParams, StiReport report, StiMailProperties options, StiExportSettings settings, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
static StiWebActionResult exportReportResult(javax.servlet.http.HttpServletRequest httpContext, javax.servlet.http.HttpServletResponse response, StiRequestParams requestParams, StiExportSettings settings)
           
static StiWebActionResult exportReportResult(StiRequestParams requestParams, StiReport report, javax.servlet.http.HttpServletRequest httpContext, javax.servlet.http.HttpServletResponse response)
           
static StiWebActionResult exportReportResult(StiRequestParams requestParams, StiReport report, StiExportSettings settings, javax.servlet.http.HttpServletRequest httpContext, javax.servlet.http.HttpServletResponse response)
          Get the action result required for export the report.
static StiWebActionResult getReportResult(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Get the action result required for show the specified report in the viewer.
static StiWebActionResult getReportResult(StiRequestParams requestParams, StiReport report, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Get the action result required for show the specified report in the viewer.
static java.lang.Object interactionResult(javax.servlet.http.HttpServletRequest httpContext, javax.servlet.http.HttpServletResponse response)
          Get the action result required for interactive operations with a report.
static StiWebActionResult interactionResult(StiReport report, javax.servlet.http.HttpServletRequest httpContext, javax.servlet.http.HttpServletResponse response)
          Get the action result required for interactive operations with a report.
static java.lang.Object interactionResult(StiRequestParams requestParams, javax.servlet.http.HttpServletRequest httpContext, javax.servlet.http.HttpServletResponse response)
          Get the action result required for interactive operations with a report.
static StiWebActionResult interactionResult(StiRequestParams requestParams, StiReport report, javax.servlet.http.HttpServletRequest httpContext, javax.servlet.http.HttpServletResponse response)
          Get the action result required for interactive operations with a report.
static StiWebActionResult printReportResult(StiRequestParams requestParams, StiReport report)
          Get the action result required for print the report.
static StiWebActionResult printReportResult(StiRequestParams requestParams, StiReport report, StiExportSettings settings)
          Get the action result required for print the report.
static StiWebActionResult reportResourceResult(StiRequestParams requestParams, StiReport report)
           
static java.lang.Object viewerEventResult(javax.servlet.http.HttpServletRequest httpContext, javax.servlet.http.HttpServletResponse response)
          Get the action result required for the various requests of the viewer.
static java.lang.Object viewerEventResult(StiReport report, javax.servlet.http.HttpServletRequest httpContext, javax.servlet.http.HttpServletResponse response)
          Get the action result required for the various requests of the viewer.The specified report will be used.
static java.lang.Object viewerEventResult(StiRequestParams requestParams, javax.servlet.http.HttpServletRequest httpContext, javax.servlet.http.HttpServletResponse response)
          Get the action result required for the various requests of the viewer.
static StiWebActionResult viewerEventResult(StiRequestParams requestParams, StiReport report, javax.servlet.http.HttpServletRequest httpContext, javax.servlet.http.HttpServletResponse response)
          Internal use only.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiWebViewerActions

public StiWebViewerActions()
Method Detail

getReportResult

public static StiWebActionResult getReportResult(javax.servlet.http.HttpServletRequest request,
                                                 javax.servlet.http.HttpServletResponse response)
                                          throws java.io.IOException,
                                                 JSONException,
                                                 java.security.NoSuchAlgorithmException,
                                                 StiException,
                                                 org.xml.sax.SAXException,
                                                 StiDeserializationException
Get the action result required for show the specified report in the viewer.

Parameters:
request -
Returns:
Throws:
JSONException
java.io.IOException
StiDeserializationException
org.xml.sax.SAXException
StiException
java.security.NoSuchAlgorithmException

getReportResult

public static StiWebActionResult getReportResult(StiRequestParams requestParams,
                                                 StiReport report,
                                                 javax.servlet.http.HttpServletRequest request,
                                                 javax.servlet.http.HttpServletResponse response)
                                          throws java.security.NoSuchAlgorithmException,
                                                 java.io.IOException,
                                                 JSONException,
                                                 StiException,
                                                 org.xml.sax.SAXException,
                                                 StiDeserializationException
Get the action result required for show the specified report in the viewer. The specified request parameters will be used.

Parameters:
requestParams -
report -
request -
Returns:
Throws:
java.security.NoSuchAlgorithmException
java.io.IOException
JSONException
StiException
org.xml.sax.SAXException
StiDeserializationException

exportReportResult

public static StiWebActionResult exportReportResult(StiRequestParams requestParams,
                                                    StiReport report,
                                                    javax.servlet.http.HttpServletRequest httpContext,
                                                    javax.servlet.http.HttpServletResponse response)
                                             throws java.security.NoSuchAlgorithmException,
                                                    StiException,
                                                    java.io.IOException,
                                                    JSONException
Throws:
java.security.NoSuchAlgorithmException
StiException
java.io.IOException
JSONException

exportReportResult

public static StiWebActionResult exportReportResult(javax.servlet.http.HttpServletRequest httpContext,
                                                    javax.servlet.http.HttpServletResponse response,
                                                    StiRequestParams requestParams,
                                                    StiExportSettings settings)
                                             throws java.security.NoSuchAlgorithmException,
                                                    StiException,
                                                    java.io.IOException,
                                                    JSONException
Throws:
java.security.NoSuchAlgorithmException
StiException
java.io.IOException
JSONException

exportReportResult

public static StiWebActionResult exportReportResult(StiRequestParams requestParams,
                                                    StiReport report,
                                                    StiExportSettings settings,
                                                    javax.servlet.http.HttpServletRequest httpContext,
                                                    javax.servlet.http.HttpServletResponse response)
                                             throws java.security.NoSuchAlgorithmException,
                                                    StiException,
                                                    java.io.IOException,
                                                    JSONException
Get the action result required for export the report. The specified request parameters, report and export settings will be used.

Parameters:
requestParams -
report -
settings -
Returns:
Throws:
java.io.IOException
StiException
java.security.NoSuchAlgorithmException
JSONException

printReportResult

public static StiWebActionResult printReportResult(StiRequestParams requestParams,
                                                   StiReport report)
                                            throws StiException,
                                                   java.io.IOException
Get the action result required for print the report. The specified request parameters and report will be used.

Parameters:
requestParams -
report -
Returns:
Throws:
java.io.IOException
StiException

printReportResult

public static StiWebActionResult printReportResult(StiRequestParams requestParams,
                                                   StiReport report,
                                                   StiExportSettings settings)
                                            throws StiException,
                                                   java.io.IOException
Get the action result required for print the report. The specified request parameters, report and export settings will be used.

Parameters:
requestParams -
report -
settings -
Returns:
Throws:
java.io.IOException
StiException

emailReportResult

public static StiWebActionResult emailReportResult(javax.servlet.http.HttpServletRequest request,
                                                   javax.servlet.http.HttpServletResponse response)
                                            throws java.io.IOException,
                                                   JSONException,
                                                   java.security.NoSuchAlgorithmException,
                                                   StiException
Throws:
java.io.IOException
JSONException
java.security.NoSuchAlgorithmException
StiException

emailReportResult

public static StiWebActionResult emailReportResult(StiRequestParams requestParams,
                                                   StiReport report,
                                                   StiMailProperties options,
                                                   StiExportSettings settings,
                                                   javax.servlet.http.HttpServletRequest request,
                                                   javax.servlet.http.HttpServletResponse response)
                                            throws java.security.NoSuchAlgorithmException,
                                                   java.io.IOException,
                                                   StiException,
                                                   JSONException
Throws:
java.security.NoSuchAlgorithmException
java.io.IOException
StiException
JSONException

reportResourceResult

public static StiWebActionResult reportResourceResult(StiRequestParams requestParams,
                                                      StiReport report)
                                               throws java.io.IOException
Throws:
java.io.IOException

interactionResult

public static java.lang.Object interactionResult(javax.servlet.http.HttpServletRequest httpContext,
                                                 javax.servlet.http.HttpServletResponse response)
                                          throws java.io.IOException,
                                                 JSONException,
                                                 org.xml.sax.SAXException,
                                                 StiDeserializationException,
                                                 StiException
Get the action result required for interactive operations with a report.

Returns:
Throws:
JSONException
java.io.IOException
StiException
StiDeserializationException
org.xml.sax.SAXException

interactionResult

public static java.lang.Object interactionResult(StiRequestParams requestParams,
                                                 javax.servlet.http.HttpServletRequest httpContext,
                                                 javax.servlet.http.HttpServletResponse response)
                                          throws java.io.IOException,
                                                 org.xml.sax.SAXException,
                                                 StiDeserializationException,
                                                 StiException,
                                                 JSONException
Get the action result required for interactive operations with a report. The specified request parameters will be used.

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

interactionResult

public static StiWebActionResult interactionResult(StiReport report,
                                                   javax.servlet.http.HttpServletRequest httpContext,
                                                   javax.servlet.http.HttpServletResponse response)
                                            throws java.io.IOException,
                                                   JSONException,
                                                   org.xml.sax.SAXException,
                                                   StiDeserializationException,
                                                   StiException
Get the action result required for interactive operations with a report. The specified report will be used.

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

interactionResult

public static StiWebActionResult interactionResult(StiRequestParams requestParams,
                                                   StiReport report,
                                                   javax.servlet.http.HttpServletRequest httpContext,
                                                   javax.servlet.http.HttpServletResponse response)
                                            throws java.io.IOException,
                                                   org.xml.sax.SAXException,
                                                   StiDeserializationException,
                                                   StiException,
                                                   JSONException
Get the action result required for interactive operations with a report. The specified request parameters and report will be used.

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

viewerEventResult

public static java.lang.Object viewerEventResult(javax.servlet.http.HttpServletRequest httpContext,
                                                 javax.servlet.http.HttpServletResponse response)
                                          throws java.io.IOException,
                                                 JSONException,
                                                 java.security.NoSuchAlgorithmException,
                                                 StiException,
                                                 org.xml.sax.SAXException,
                                                 StiDeserializationException
Get the action result required for the various requests of the viewer.

Returns:
Throws:
JSONException
java.io.IOException
StiDeserializationException
org.xml.sax.SAXException
StiException
java.security.NoSuchAlgorithmException

viewerEventResult

public static java.lang.Object viewerEventResult(StiReport report,
                                                 javax.servlet.http.HttpServletRequest httpContext,
                                                 javax.servlet.http.HttpServletResponse response)
                                          throws java.io.IOException,
                                                 JSONException,
                                                 java.security.NoSuchAlgorithmException,
                                                 StiException,
                                                 org.xml.sax.SAXException,
                                                 StiDeserializationException
Get the action result required for the various requests of the viewer.The specified report will be used.

Parameters:
report -
Returns:
Throws:
JSONException
java.io.IOException
StiDeserializationException
org.xml.sax.SAXException
StiException
java.security.NoSuchAlgorithmException

viewerEventResult

public static java.lang.Object viewerEventResult(StiRequestParams requestParams,
                                                 javax.servlet.http.HttpServletRequest httpContext,
                                                 javax.servlet.http.HttpServletResponse response)
                                          throws java.security.NoSuchAlgorithmException,
                                                 java.io.IOException,
                                                 JSONException,
                                                 StiException,
                                                 org.xml.sax.SAXException,
                                                 StiDeserializationException
Get the action result required for the various requests of the viewer. The specified request parameters will be used.

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

viewerEventResult

public static StiWebActionResult viewerEventResult(StiRequestParams requestParams,
                                                   StiReport report,
                                                   javax.servlet.http.HttpServletRequest httpContext,
                                                   javax.servlet.http.HttpServletResponse response)
                                            throws java.io.IOException,
                                                   JSONException,
                                                   StiException,
                                                   java.security.NoSuchAlgorithmException,
                                                   org.xml.sax.SAXException,
                                                   StiDeserializationException
Internal use only.

Parameters:
requestParams -
report -
detectActionResult -
Returns:
Throws:
JSONException
java.io.IOException
StiException
java.security.NoSuchAlgorithmException
StiDeserializationException
org.xml.sax.SAXException