|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stimulsoft.webviewer.StiWebViewer
public class StiWebViewer
WebViewer main class Copyright Stimulsoft
| Field Summary | |
|---|---|
static String |
ACTION_DESIGN_REPORT
|
static String |
ACTION_EMAIL_REPORT
|
static String |
ACTION_EXPORT_REPORT
|
static String |
ACTION_ITERACTION
|
static String |
ACTION_JS
|
static String |
ACTION_PRINT_REPORT
|
static String |
ACTION_REPORT_SNAPSHOT
|
static String |
ACTION_VIEWER_EVENT
|
static String |
EXCEPTION_HANDLER
|
protected static Logger |
LOG
|
static String |
MAIL_PROPERTIES
|
static String |
PAGE_SEPARATOR
|
static String |
PARAMETERS_ATTRIBUTE
|
static String |
SESSION_ATTRIBUTE_DEMO_REPORT_NAME
|
static String |
VERSION
|
static String |
VIEWER_ID_PARAM
|
static String |
VIEWER_PARAMETER_ATTRIBUTE
|
| Constructor Summary | |
|---|---|
StiWebViewer(StiWebViewerOptions options,
URL context)
|
|
| Method Summary | |
|---|---|
void |
clearStoredObjects(javax.servlet.http.HttpServletRequest request,
StiWebViewerOptions options)
|
protected String |
createChildControls(Element root,
Document doc,
URL context,
javax.servlet.ServletContext servletContext)
|
static String |
emailReportResult(javax.servlet.http.HttpServletRequest httpContext)
|
static String |
emailReportResult(javax.servlet.http.HttpServletRequest httpContext,
StiJavascriptParameters jsParams)
Export the report action result by the client request and send it by Email. |
static String |
emailReportResult(javax.servlet.http.HttpServletRequest httpContext,
StiReport report,
StiMailProperties options)
Export the report action result by the client request and send it by Email. |
static StiFileResult |
exportReportResult(javax.servlet.http.HttpServletRequest httpContext,
StiReport report)
Export the report action result by the specified report and client request. |
static StiMailProperties |
getEmailOptions(javax.servlet.http.HttpServletRequest httpContext)
Get the Email options, sent by the client. |
static StiReport |
getReportObject(javax.servlet.http.HttpServletRequest httpContext,
StiJavascriptParameters jsParams)
|
static StiReport |
getReportObject(javax.servlet.http.HttpServletRequest httpContext,
String paramsGuid,
StiJavascriptParameters jsParams)
Get the report template or report snapshot, sent by the client. |
static Object |
getStoredObject(javax.servlet.http.HttpServletRequest httpContext,
String viewerId)
return stored in session object. |
String |
getViewer(URL context,
javax.servlet.ServletContext servletContext)
|
static Object |
interactionResult(javax.servlet.http.HttpServletRequest httpContext)
Get the requested interaction result. |
static Object |
interactionResult(javax.servlet.http.HttpServletRequest httpContext,
StiReport report,
StiJavascriptParameters jsParams)
Get the requested interaction result of the specified report. |
static Object |
printReportResult(javax.servlet.http.HttpServletRequest httpContext,
StiJavascriptParameters jsParams)
Get the prepared report for printing. |
static Object |
printReportResult(javax.servlet.http.HttpServletRequest httpContext,
StiReport report)
Get the prepared specified report for printing. |
static Object |
processExport(javax.servlet.http.HttpServletRequest httpContext,
StiReport report,
StiMailProperties properies)
|
static void |
saveReportObject(javax.servlet.http.HttpServletRequest httpContext,
StiReport report,
boolean ignorjsParam,
StiJavascriptParameters jsParams)
|
static void |
saveReportObject(javax.servlet.http.HttpServletRequest httpContext,
StiReport report,
StiJavascriptParameters jsParams)
|
static String |
serialize(Document doc,
boolean omitXMLDeclaration)
|
void |
storeObject(javax.servlet.http.HttpServletRequest httpContext,
Object object,
String viewerId)
Store object in session |
static Object |
viewerEventResult(javax.servlet.http.HttpServletRequest httpContext,
StiReport report,
boolean detectActionResult,
StiJavascriptParameters jsParams)
Get the requested report page of the specified report. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String VERSION
protected static final Logger LOG
public static final String PAGE_SEPARATOR
public static final String ACTION_REPORT_SNAPSHOT
public static final String ACTION_VIEWER_EVENT
public static final String ACTION_PRINT_REPORT
public static final String ACTION_EXPORT_REPORT
public static final String ACTION_DESIGN_REPORT
public static final String ACTION_ITERACTION
public static final String ACTION_EMAIL_REPORT
public static final String ACTION_JS
public static final String SESSION_ATTRIBUTE_DEMO_REPORT_NAME
public static final String VIEWER_PARAMETER_ATTRIBUTE
public static final String VIEWER_ID_PARAM
public static final String PARAMETERS_ATTRIBUTE
public static final String MAIL_PROPERTIES
public static final String EXCEPTION_HANDLER
| Constructor Detail |
|---|
public StiWebViewer(StiWebViewerOptions options,
URL context)
| Method Detail |
|---|
public String getViewer(URL context,
javax.servlet.ServletContext servletContext)
throws ParserConfigurationException,
IOException
ParserConfigurationException
IOException
protected String createChildControls(Element root,
Document doc,
URL context,
javax.servlet.ServletContext servletContext)
throws IOException
IOException
public static String serialize(Document doc,
boolean omitXMLDeclaration)
throws IOException
IOException
public static StiReport getReportObject(javax.servlet.http.HttpServletRequest httpContext,
StiJavascriptParameters jsParams)
public static StiReport getReportObject(javax.servlet.http.HttpServletRequest httpContext,
String paramsGuid,
StiJavascriptParameters jsParams)
httpContext -
public static Object getStoredObject(javax.servlet.http.HttpServletRequest httpContext,
String viewerId)
httpContext - viewerId -
public void clearStoredObjects(javax.servlet.http.HttpServletRequest request,
StiWebViewerOptions options)
public void storeObject(javax.servlet.http.HttpServletRequest httpContext,
Object object,
String viewerId)
throws IOException,
StiException
httpContext - object -
IOException
StiException
public static void saveReportObject(javax.servlet.http.HttpServletRequest httpContext,
StiReport report,
StiJavascriptParameters jsParams)
public static void saveReportObject(javax.servlet.http.HttpServletRequest httpContext,
StiReport report,
boolean ignorjsParam,
StiJavascriptParameters jsParams)
public static Object viewerEventResult(javax.servlet.http.HttpServletRequest httpContext,
StiReport report,
boolean detectActionResult,
StiJavascriptParameters jsParams)
throws IOException,
StiException,
JSONException,
NoSuchAlgorithmException,
ParserConfigurationException
httpContext - report -
IOException
StiException
JSONException
ParserConfigurationException
NoSuchAlgorithmException
public static Object printReportResult(javax.servlet.http.HttpServletRequest httpContext,
StiJavascriptParameters jsParams)
throws StiException,
IOException,
JSONException
httpContext -
IOException
StiException
JSONException
public static Object printReportResult(javax.servlet.http.HttpServletRequest httpContext,
StiReport report)
throws StiException,
IOException,
JSONException
httpContext - report -
StiException
IOException
JSONException
public static String emailReportResult(javax.servlet.http.HttpServletRequest httpContext)
throws NoSuchAlgorithmException,
UnsupportedEncodingException,
JSONException,
IOException,
StiException,
ParserConfigurationException
NoSuchAlgorithmException
UnsupportedEncodingException
JSONException
IOException
StiException
ParserConfigurationException
public static String emailReportResult(javax.servlet.http.HttpServletRequest httpContext,
StiJavascriptParameters jsParams)
throws NoSuchAlgorithmException,
JSONException,
IOException,
StiException,
ParserConfigurationException
httpContext - options -
StiException
IOException
JSONException
NoSuchAlgorithmException
ParserConfigurationException
public static String emailReportResult(javax.servlet.http.HttpServletRequest httpContext,
StiReport report,
StiMailProperties options)
throws NoSuchAlgorithmException,
JSONException,
IOException,
StiException,
ParserConfigurationException
httpContext - report - options -
StiException
IOException
JSONException
NoSuchAlgorithmException
ParserConfigurationException
public static StiFileResult exportReportResult(javax.servlet.http.HttpServletRequest httpContext,
StiReport report)
throws JSONException,
NoSuchAlgorithmException,
IOException,
StiException,
ParserConfigurationException
httpContext - report -
JSONException
NoSuchAlgorithmException
IOException
StiException
ParserConfigurationException
public static Object processExport(javax.servlet.http.HttpServletRequest httpContext,
StiReport report,
StiMailProperties properies)
throws JSONException,
NoSuchAlgorithmException,
IOException,
StiException,
ParserConfigurationException
JSONException
NoSuchAlgorithmException
IOException
StiException
ParserConfigurationException
public static Object interactionResult(javax.servlet.http.HttpServletRequest httpContext)
throws JSONException,
IOException,
StiException,
NoSuchAlgorithmException,
ParserConfigurationException
httpContext -
JSONException
IOException
StiException
ParserConfigurationException
NoSuchAlgorithmException
public static Object interactionResult(javax.servlet.http.HttpServletRequest httpContext,
StiReport report,
StiJavascriptParameters jsParams)
throws JSONException,
IOException,
StiException,
NoSuchAlgorithmException,
ParserConfigurationException
httpContext - report -
JSONException
IOException
StiException
ParserConfigurationException
NoSuchAlgorithmException
public static StiMailProperties getEmailOptions(javax.servlet.http.HttpServletRequest httpContext)
throws JSONException,
UnsupportedEncodingException
httpContext -
JSONException
UnsupportedEncodingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||