Package com.stimulsoft.web.helper
Class StiReportHelper
java.lang.Object
com.stimulsoft.web.helper.StiReportHelper
Copyright Stimulsoft
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidapplyCollapsing(StiReport report, HashMap<String, Object> parameters) static StiReportApply the parameters for drill-down and build the detailed reportstatic voidapplyQueryParameters(StiRequestParams requestParams, StiReport report) static voidapplySorting(StiReport report, HashMap<String, Object> parameters) Apply the parameters for sorting and rebuild the reportstatic StiReportcreateReportCopy(StiReport report) static Stringstatic StringgetBookmarkPointers(StiReport report, StiBookmark bookmark) static StringgetBookmarksContent(StiReport report, String viewerId, int pageNumber) static StiReportgetCompiledReport(StiReport report) static StringgetHtmlColor(StiColor color) getPagesArray(StiReport report, StiRequestParams requestParams) static StringgetReportFileName(StiReport report) getReportPreviewSettings(StiReport report) static ArrayListgetTableOfContentsPointers(StiReport report, StiRequestParams requestParams) static StringimageToBase64(byte[] image) static StiWebActionResultinteractionResult(StiRequestParams requestParams, StiReport report, StiHttpServletRequest request) static booleanisComponentHasInteraction(StiComponent component) static booleanisReportHasDashboards(StiReport report) static booleanisReportHasInteractions(StiReport report) Returns information about the presence of interactive report.static StiWebActionResultopenReportResult(StiRequestParams requestParams, StiHttpServletRequest request) static StiWebActionResultviewerResult(StiRequestParams requestParams, StiReport report)
-
Constructor Details
-
StiReportHelper
public StiReportHelper()
-
-
Method Details
-
imageToBase64
-
getHtmlColor
-
getCompiledReport
-
createReportCopy
-
applyQueryParameters
-
isReportHasDashboards
-
isReportHasInteractions
Returns information about the presence of interactive report.- Parameters:
report-- Returns:
-
isComponentHasInteraction
-
getReportFileName
-
applySorting
Apply the parameters for sorting and rebuild the report- Parameters:
report-parameters-
-
getPagesArray
public static List<Object> getPagesArray(StiReport report, StiRequestParams requestParams) throws IOException, StiException - Throws:
IOExceptionStiException
-
applyCollapsing
-
applyDrillDown
public static StiReport applyDrillDown(StiReport report, StiReport renderedReport, HashMap<String, Object> parameters) throws IOException, SAXException, StiDeserializationExceptionApply the parameters for drill-down and build the detailed report- Parameters:
report-renderedReport-parameters-- Returns:
- Throws:
IOExceptionSAXExceptionStiDeserializationException
-
getBookmarksContent
-
getBookmarkPointers
-
escape
-
escape2
-
interactionResult
public static StiWebActionResult interactionResult(StiRequestParams requestParams, StiReport report, StiHttpServletRequest request) throws IOException, SAXException, StiDeserializationException, StiException, JSONException -
viewerResult
public static StiWebActionResult viewerResult(StiRequestParams requestParams, StiReport report) throws IOException, StiException, JSONException - Throws:
IOExceptionStiExceptionJSONException
-
openReportResult
public static StiWebActionResult openReportResult(StiRequestParams requestParams, StiHttpServletRequest request) throws IOException, StiException, JSONException - Throws:
IOExceptionStiExceptionJSONException
-
getTableOfContentsPointers
public static ArrayList getTableOfContentsPointers(StiReport report, StiRequestParams requestParams) -
getReportPreviewSettings
-