| java.lang.Object | |
| ↳ | com.microstrategy.webservices.MWSDocumentExecution |
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | DEFAULT_MAX_WAIT | ||||||||||
| int | DEFAULT_POLLING_FREQUENCY | ||||||||||
| long | DEFAULT_SLEEP_TIME | ||||||||||
| int | RESULTRAWDATA | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| protected String[] | CSVStringArray | ||||||||||
| protected String | ISV_AUTOSIZE | ||||||||||
| protected String | ISV_CANCELFIX | ||||||||||
| protected String | ISV_CSVFORMATFLAGS | ||||||||||
| protected String | ISV_ENHANCEDGRAPHPROPERTIES | ||||||||||
| protected String | ISV_EXCELVERSIONFOREXPORT | ||||||||||
| protected String | ISV_EXTRAFLASHINFO | ||||||||||
| protected String | ISV_LAYOUTSFOREXPORT | ||||||||||
| protected String | ISV_OOXML | ||||||||||
| protected String | ObjMsgID | ||||||||||
| protected String | VIEWMODEGRAPH | ||||||||||
| protected String | VIEWMODEGRID | ||||||||||
| protected String | VIEWMODEGRIDGRAPH | ||||||||||
| protected String[] | XMLStringArray | ||||||||||
| protected String | _ObjID | ||||||||||
| protected WebObjectInfo | _WOI | ||||||||||
| protected EnumMWSExecutionFlags | _eFlags | ||||||||||
| protected EnumMWSResultFlags | _eResults | ||||||||||
| protected boolean | _fADORecordset | ||||||||||
| protected boolean | _fAddToHistory | ||||||||||
| protected boolean | _fAttachIndex | ||||||||||
| protected boolean | _fAttachXML | ||||||||||
| protected boolean | _fCSVNoFormatting | ||||||||||
| protected boolean | _fCSVNoMetricsCol | ||||||||||
| protected boolean | _fCSVNoThresholds | ||||||||||
| protected boolean | _fCubeReport | ||||||||||
| protected boolean | _fDataMart | ||||||||||
| protected boolean | _fExecute | ||||||||||
| protected boolean | _fExportAll | ||||||||||
| protected boolean | _fExportCurrent | ||||||||||
| protected boolean | _fExportCurrentLayout | ||||||||||
| protected boolean | _fExportCurrentWindow | ||||||||||
| protected boolean | _fExportDefault | ||||||||||
| protected boolean | _fFlatten | ||||||||||
| protected boolean | _fGraphImgBMP | ||||||||||
| protected boolean | _fGraphImgGIF | ||||||||||
| protected boolean | _fGraphImgJPEG | ||||||||||
| protected boolean | _fGraphImgPNG | ||||||||||
| protected boolean | _fImplicit | ||||||||||
| protected boolean | _fInitiatedAsReport | ||||||||||
| protected boolean | _fIsPrompted | ||||||||||
| protected boolean | _fNoCache | ||||||||||
| protected boolean | _fRePrompt | ||||||||||
| protected boolean | _fReport | ||||||||||
| protected boolean | _fResultSizeOnly | ||||||||||
| protected boolean | _fReturnCSV | ||||||||||
| protected boolean | _fReturnGraphBytes | ||||||||||
| protected boolean | _fReturnHeaderInfo | ||||||||||
| protected boolean | _fReturnImages | ||||||||||
| protected boolean | _fReturnLayouts | ||||||||||
| protected boolean | _fReturnPDF | ||||||||||
| protected boolean | _fReturnSQL | ||||||||||
| protected boolean | _fRunAsChart | ||||||||||
| protected boolean | _fRunAsync | ||||||||||
| protected boolean | _fSaveToHistory | ||||||||||
| protected boolean | _fUseDefaults | ||||||||||
| protected boolean | _fVisualization | ||||||||||
| protected MWSConnection | connection | ||||||||||
| protected byte[][] | imageArray | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| MWSDocumentExecution(MWSConnection cConnect) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void |
ApplyRulesIfImplicit(String rptID)
Checks if implicit execution is desired and if so, modifies the
execution flags based on the report's subtype.
| ||||||||||
| void |
Cancel(String sMsgID)
Cancels an executing document.
| ||||||||||
| ArrayOfMWSPromptSuggestions |
CheckForPartialPrompts(WebPrompts wp)
Processes the prompt xml looking for partial or missing
prompt suggestion lists.
| ||||||||||
| boolean |
DoesIServerSupportFeature(String sFeatureVersion)
Checks the version of the server that is currently connected and
returns true if it is the same or newer than the version of the
I-Server that supports the desired feature version.
| ||||||||||
| MWSObjectExecuteInfo |
Execute(String sDocName, String sDocID, String sAnswerPrompt, EnumMWSExecutionFlags eFlags, MWSResultsWindow resultsWindow, EnumMWSResultFlags eResults, MWSExecutionSettings eSettings)
Runs the specified document based on input execution flags.
| ||||||||||
| MWSObjectExecuteInfo |
GetResults(String sPrompt, String sDocID, String sMsgID, EnumMWSExecutionFlags eFlags, MWSResultsWindow resultsWindow, EnumMWSResultFlags eResults, MWSExecutionSettings eSettings)
Checks the status of an executing document.
| ||||||||||
| String |
GetSWFNameFromCatalog(String sVisualization)
Looks up the style name in the stylecatalog and returns the filename for it.
| ||||||||||
| int |
InitExecutionFlags()
Takes the input enumeration list of execution flags and
sets internal boolean flags based on the values present.
| ||||||||||
| boolean |
IsExecutionCancelled(int errCode)
Checks exception status to determine if a cancel
has been detected.
| ||||||||||
| boolean |
IsPre75IServer()
Checks the version of the server that is currently connected and
returns true if it's a pre-7.5 I-Server, false otherwise.
| ||||||||||
| boolean |
IsPre801Server()
Checks the version of the server that is currently connected and
returns true if it's a pre-8.0 SP1 I-Server, false otherwise.
| ||||||||||
| String |
SearchForID(String name, boolean isReport)
Performs a search for the object with the specified name.
| ||||||||||
| String[] |
getCSVArray()
Returns the entire CSV Array.
| ||||||||||
| int |
getCSVArraySize()
Returns the size of the CSV string array.
| ||||||||||
| String |
getCSVString(int index)
Returns the CSV string at the desired index.
| ||||||||||
| byte[][] |
getImageArray()
Returns the entire Array of Byte[] Array.
| ||||||||||
| int |
getImageArraySize()
Returns the size of the array of bytes array.
| ||||||||||
| String | getObjIDFromMsgID(String sMsgID, int iObjType) | ||||||||||
| WebObjectInfo | getObjInfoFromID(String sObjID, int iObjType) | ||||||||||
| String | getObjNameFromID(String sObjID, int iObjType) | ||||||||||
| String | getObjNameFromMsgID(String sMsgID, int iObjType) | ||||||||||
| String | getRptIDFromInstance(WebReportInstance rptInst) | ||||||||||
| String | getRptNameFromInstance(WebReportInstance rptInst) | ||||||||||
| String[] |
getXMLArray()
Returns the entire XML Array.
| ||||||||||
| int |
getXMLArraySize()
Returns the size of the XML string array.
| ||||||||||
| String |
getXMLString(int index)
Returns the XML string at the desired index.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Checks if implicit execution is desired and if so, modifies the execution flags based on the report's subtype.
| rptID | String identifying report to apply rules to |
|---|
Cancels an executing document.
| sMsgID | string representing the message id associated with the document |
|---|
| MWSException |
|---|
Processes the prompt xml looking for partial or missing prompt suggestion lists.
| wp | WebPrompts object containing the report prompt collection |
|---|
| MWSException |
|---|
Checks the version of the server that is currently connected and returns true if it is the same or newer than the version of the I-Server that supports the desired feature version.
Runs the specified document based on input execution flags.
| sDocName | string representing the document name (optional) |
|---|---|
| sDocID | string representing the document id (optional if name input) |
| sAnswerPrompt | answer prompt xml to run document with. |
| eFlags | specifies options to execute document with |
| resultsWindow | specifies options for incremental fetch and page by |
| MWSException | |
| MWSException |
Checks the status of an executing document. If results are available, return the result to client. If a prompted document, the prompt XML is returned to the client. The subsequent call to this method contains the prompt answer, which is submitted to the I-Server and execution continues.
| sPrompt | answer prompt xml to run document with. |
|---|---|
| sDocID | string representing the object id associated with the document |
| sMsgID | string representing the message id associated with the document |
| eFlags | specifies options to execute document with |
| resultsWindow | specifies options for incremental fetch and page by |
| MWSException | |
| MWSException |
Looks up the style name in the stylecatalog and returns the filename for it.
| sVisualization | string representing the style name. |
|---|
| MWSException |
|---|
Takes the input enumeration list of execution flags and sets internal boolean flags based on the values present.
Checks exception status to determine if a cancel has been detected.
| errCode | int representing the exception error code |
|---|
Checks the version of the server that is currently connected and returns true if it's a pre-7.5 I-Server, false otherwise.
Checks the version of the server that is currently connected and returns true if it's a pre-8.0 SP1 I-Server, false otherwise.
Performs a search for the object with the specified name.
| name | string representing the object name |
|---|---|
| isReport | flag identifying object as a report or document |
| MWSException |
|---|
Returns the entire CSV Array.
Returns the size of the CSV string array.
Returns the CSV string at the desired index.
| index | int Index of CSV string to return |
|---|
Returns the entire Array of Byte[] Array.
Returns the size of the array of bytes array.
Returns the entire XML Array.
Returns the size of the XML string array.
Returns the XML string at the desired index.
| index | int Index of XML string to return |
|---|