Package com.stimulsoft.webdesigner
Class StiWebDesigner
java.lang.Object
com.stimulsoft.webdesigner.StiWebDesigner
(MVC 71333-74989-76904-77352)
(Web 71353-76902-77244-77352)
(WebDesiner 71333-76914-77245)
WebDesigner main class
Copyright Stimulsoft
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected static final Loggerstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StiRequestParamscreateRequestParams(StiWebDesignerOptions options, String id, String clientGuid) static StringcreateViewer(StiWebDesignerOptions options, URL url, StiServletContext context, String id) static StringgetActionCommandName(StiHttpServletRequest httpContext, JSONObject jsonObject) Get the name of inner command.static StiCacheHelperstatic ObjectgetHandler(StiHttpServletRequest request, StiRequestParams requestParams) static StringgetNewReportCallbackResult(HashMap<String, Object> callbackResult, StiHttpServletRequest httpContext, StiReport report, HashMap<String, Object> parameters) static StiReportgetReportObject(StiHttpServletRequest httpContext, StiRequestParams requestParams) Save the report template or report template to cache.getReportSnapshotCallbackResult(HashMap<String, Object> callbackResult, StiHttpServletRequest httpContext, StiReport report, HashMap<String, Object> parameters) static StiRequestParamsgetRequestParams(StiHttpServletRequest httpContext, StiHttpServletResponse response) static voidpreviewReport(StiReport mainReport, String format, StiHttpServletResponse response) static StiReportsaveReportObject(StiHttpServletRequest httpContext, StiReport report, String reportGuid) Save the report template or report template to cache.static voidsetupDesign(StiReport report) Setup report poperties for design
-
Field Details
-
LOG
-
ACTION_GET_REPORT_TEMPLATE
- See Also:
-
ACTION_OPEN_REPORT_TEMPLATE
- See Also:
-
ACTION_SAVE_REPORT_TEMPLATE
- See Also:
-
ACTION_SAVE_AS_REPORT_TEMPLATE
- See Also:
-
ACTION_GET_NEW_REPORT_DATA
- See Also:
-
ACTION_DESIGNER_EVENT
- See Also:
-
ACTION_REFRESH_SESSION
- See Also:
-
ACTION_EXIST_DESIGNER
- See Also:
-
ACTION_GET_REPORT
- See Also:
-
ACTION_EXPORT_REPORT
- See Also:
-
ACTION_PREVIEW_REPORT
- See Also:
-
SESSION_ATTRIBUTE_HANDLER
- See Also:
-
-
Constructor Details
-
StiWebDesigner
public StiWebDesigner()
-
-
Method Details
-
getCacheHelper
- Returns:
- the cacheHelper
-
createViewer
public static String createViewer(StiWebDesignerOptions options, URL url, StiServletContext context, String id) throws IOException, ParserConfigurationException -
getActionCommandName
public static String getActionCommandName(StiHttpServletRequest httpContext, JSONObject jsonObject) throws JSONException Get the name of inner command.- Parameters:
httpContext-- Returns:
- Throws:
JSONException
-
saveReportObject
public static StiReport saveReportObject(StiHttpServletRequest httpContext, StiReport report, String reportGuid) Save the report template or report template to cache.- Parameters:
httpContext-report-reportGuid-- Returns:
-
getReportObject
public static StiReport getReportObject(StiHttpServletRequest httpContext, StiRequestParams requestParams) Save the report template or report template to cache.- Parameters:
httpContext-report-reportGuid-- Returns:
-
setupDesign
Setup report poperties for design- Parameters:
report-
-
getHandler
public static Object getHandler(StiHttpServletRequest request, StiRequestParams requestParams) throws JSONException - Throws:
JSONException
-
getReportSnapshotCallbackResult
public static HashMap<String,Object> getReportSnapshotCallbackResult(HashMap<String, Object> callbackResult, StiHttpServletRequest httpContext, StiReport report, HashMap<String, throws StiException, IOException, SAXException, StiDeserializationException, JSONExceptionObject> parameters) -
getNewReportCallbackResult
public static HashMap<String,Object> getNewReportCallbackResult(HashMap<String, Object> callbackResult, StiHttpServletRequest httpContext, StiReport report, HashMap<String, throws ExceptionObject> parameters) - Throws:
Exception
-
previewReport
public static void previewReport(StiReport mainReport, String format, StiHttpServletResponse response) throws IOException, SAXException, StiDeserializationException, StiException -
getNewGuid
-
createRequestParams
public static StiRequestParams createRequestParams(StiWebDesignerOptions options, String id, String clientGuid) -
getRequestParams
public static StiRequestParams getRequestParams(StiHttpServletRequest httpContext, StiHttpServletResponse response) throws IOException, JSONException - Throws:
IOExceptionJSONException
-