Package com.stimulsoft.webviewer
Class StiWebViewerActions
java.lang.Object
com.stimulsoft.webviewer.StiWebViewerActions
Copyright Stimulsoft
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StiWebActionResultemailReportResult(StiRequestParams requestParams, StiReport report, StiMailProperties options, StiExportSettings settings, StiHttpServletRequest request, StiHttpServletResponse response) static StiWebActionResultemailReportResult(StiHttpServletRequest request, StiHttpServletResponse response) static StiWebActionResultexportReportResult(StiRequestParams requestParams, StiReport report, StiExportSettings settings, StiHttpServletRequest httpContext, StiHttpServletResponse response) Get the action result required for export the report.static StiWebActionResultexportReportResult(StiRequestParams requestParams, StiReport report, StiHttpServletRequest httpContext, StiHttpServletResponse response) static StiWebActionResultexportReportResult(StiHttpServletRequest httpContext, StiHttpServletResponse response, StiRequestParams requestParams, StiExportSettings settings) static StiWebActionResultgetReportResult(StiRequestParams requestParams, StiReport report, StiHttpServletRequest request, StiHttpServletResponse response) Get the action result required for show the specified report in the viewer.static StiWebActionResultgetReportResult(StiHttpServletRequest request, StiHttpServletResponse response) Get the action result required for show the specified report in the viewer.static StiWebActionResultinteractionResult(StiReport report, StiHttpServletRequest httpContext, StiHttpServletResponse response) Get the action result required for interactive operations with a report.static StiWebActionResultinteractionResult(StiRequestParams requestParams, StiReport report, StiHttpServletRequest httpContext, StiHttpServletResponse response) Get the action result required for interactive operations with a report.static ObjectinteractionResult(StiRequestParams requestParams, StiHttpServletRequest httpContext, StiHttpServletResponse response) Get the action result required for interactive operations with a report.static ObjectinteractionResult(StiHttpServletRequest httpContext, StiHttpServletResponse response) Get the action result required for interactive operations with a report.static StiWebActionResultprintReportResult(StiRequestParams requestParams, StiReport report) Get the action result required for print the report.static StiWebActionResultprintReportResult(StiRequestParams requestParams, StiReport report, StiExportSettings settings) Get the action result required for print the report.static StiWebActionResultreportResourceResult(StiRequestParams requestParams, StiReport report) static ObjectviewerEventResult(StiReport report, StiHttpServletRequest httpContext, StiHttpServletResponse response) Get the action result required for the various requests of the viewer.The specified report will be used.static StiWebActionResultviewerEventResult(StiRequestParams requestParams, StiReport report, StiHttpServletRequest httpContext, StiHttpServletResponse response) Internal use only.static ObjectviewerEventResult(StiRequestParams requestParams, StiHttpServletRequest httpContext, StiHttpServletResponse response) Get the action result required for the various requests of the viewer.static ObjectviewerEventResult(StiHttpServletRequest httpContext, StiHttpServletResponse response) Get the action result required for the various requests of the viewer.
-
Constructor Details
-
StiWebViewerActions
public StiWebViewerActions()
-
-
Method Details
-
getReportResult
public static StiWebActionResult getReportResult(StiHttpServletRequest request, StiHttpServletResponse response) throws IOException, JSONException, NoSuchAlgorithmException, StiException, SAXException, StiDeserializationException Get the action result required for show the specified report in the viewer.- Parameters:
request-- Returns:
- Throws:
JSONExceptionIOExceptionStiDeserializationExceptionSAXExceptionStiExceptionNoSuchAlgorithmException
-
getReportResult
public static StiWebActionResult getReportResult(StiRequestParams requestParams, StiReport report, StiHttpServletRequest request, StiHttpServletResponse response) throws NoSuchAlgorithmException, IOException, JSONException, StiException, 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:
NoSuchAlgorithmExceptionIOExceptionJSONExceptionStiExceptionSAXExceptionStiDeserializationException
-
exportReportResult
public static StiWebActionResult exportReportResult(StiRequestParams requestParams, StiReport report, StiHttpServletRequest httpContext, StiHttpServletResponse response) throws NoSuchAlgorithmException, StiException, IOException, JSONException -
exportReportResult
public static StiWebActionResult exportReportResult(StiHttpServletRequest httpContext, StiHttpServletResponse response, StiRequestParams requestParams, StiExportSettings settings) throws NoSuchAlgorithmException, StiException, IOException, JSONException -
exportReportResult
public static StiWebActionResult exportReportResult(StiRequestParams requestParams, StiReport report, StiExportSettings settings, StiHttpServletRequest httpContext, StiHttpServletResponse response) throws NoSuchAlgorithmException, StiException, 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:
IOExceptionStiExceptionNoSuchAlgorithmExceptionJSONException
-
printReportResult
public static StiWebActionResult printReportResult(StiRequestParams requestParams, StiReport report) throws StiException, IOException Get the action result required for print the report. The specified request parameters and report will be used.- Parameters:
requestParams-report-- Returns:
- Throws:
IOExceptionStiException
-
printReportResult
public static StiWebActionResult printReportResult(StiRequestParams requestParams, StiReport report, StiExportSettings settings) throws StiException, 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:
IOExceptionStiException
-
emailReportResult
public static StiWebActionResult emailReportResult(StiHttpServletRequest request, StiHttpServletResponse response) throws IOException, JSONException, NoSuchAlgorithmException, StiException -
emailReportResult
public static StiWebActionResult emailReportResult(StiRequestParams requestParams, StiReport report, StiMailProperties options, StiExportSettings settings, StiHttpServletRequest request, StiHttpServletResponse response) throws NoSuchAlgorithmException, IOException, StiException, JSONException -
reportResourceResult
public static StiWebActionResult reportResourceResult(StiRequestParams requestParams, StiReport report) throws IOException - Throws:
IOException
-
interactionResult
public static Object interactionResult(StiHttpServletRequest httpContext, StiHttpServletResponse response) throws IOException, JSONException, SAXException, StiDeserializationException, StiException Get the action result required for interactive operations with a report.- Returns:
- Throws:
JSONExceptionIOExceptionStiExceptionStiDeserializationExceptionSAXException
-
interactionResult
public static Object interactionResult(StiRequestParams requestParams, StiHttpServletRequest httpContext, StiHttpServletResponse response) throws IOException, 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:
StiExceptionStiDeserializationExceptionSAXExceptionIOExceptionJSONException
-
interactionResult
public static StiWebActionResult interactionResult(StiReport report, StiHttpServletRequest httpContext, StiHttpServletResponse response) throws IOException, JSONException, SAXException, StiDeserializationException, StiException Get the action result required for interactive operations with a report. The specified report will be used.- Parameters:
report-- Returns:
- Throws:
JSONExceptionIOExceptionStiExceptionStiDeserializationExceptionSAXException
-
interactionResult
public static StiWebActionResult interactionResult(StiRequestParams requestParams, StiReport report, StiHttpServletRequest httpContext, StiHttpServletResponse response) throws IOException, 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:
StiExceptionStiDeserializationExceptionSAXExceptionIOExceptionJSONException
-
viewerEventResult
public static Object viewerEventResult(StiHttpServletRequest httpContext, StiHttpServletResponse response) throws IOException, JSONException, NoSuchAlgorithmException, StiException, SAXException, StiDeserializationException Get the action result required for the various requests of the viewer. -
viewerEventResult
public static Object viewerEventResult(StiReport report, StiHttpServletRequest httpContext, StiHttpServletResponse response) throws IOException, JSONException, NoSuchAlgorithmException, StiException, SAXException, StiDeserializationException Get the action result required for the various requests of the viewer.The specified report will be used.- Parameters:
report-- Returns:
- Throws:
JSONExceptionIOExceptionStiDeserializationExceptionSAXExceptionStiExceptionNoSuchAlgorithmException
-
viewerEventResult
public static Object viewerEventResult(StiRequestParams requestParams, StiHttpServletRequest httpContext, StiHttpServletResponse response) throws NoSuchAlgorithmException, IOException, JSONException, StiException, 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:
StiDeserializationExceptionSAXExceptionStiExceptionJSONExceptionIOExceptionNoSuchAlgorithmException
-
viewerEventResult
public static StiWebActionResult viewerEventResult(StiRequestParams requestParams, StiReport report, StiHttpServletRequest httpContext, StiHttpServletResponse response) throws IOException, JSONException, StiException, NoSuchAlgorithmException, SAXException, StiDeserializationException Internal use only.- Parameters:
requestParams-report-detectActionResult-- Returns:
- Throws:
JSONExceptionIOExceptionStiExceptionNoSuchAlgorithmExceptionStiDeserializationExceptionSAXException
-