com.microstrategy.web.objects.WebDocumentInstance |
The WebDocumentInstance interface represents an instance of a document. A document instance
is identified by its message ID. This interface can be used to retrieve the
results of a document and to access its inbox records. A WebDocumentInstance can
only be obtained from the WebDocumentSource
interface.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract WebDocReportInstances |
getDocReportInstances()
Returns a
WebDocReportInstances object through will the reports
within this document can be accessed. | ||||||||||
abstract WebDocumentMessage |
getMessage(boolean populate)
Returns a
WebDocumentMessage object for the current document. | ||||||||||
abstract WebDocumentMessage |
getMessage()
Returns a
WebDocumentMessage object for the current document. | ||||||||||
abstract byte[] |
getPDFData()
Returns the PDF Data.
| ||||||||||
abstract String |
getResults()
Attempts to obtain the document results from the Intelligence Server, and
return those results.
| ||||||||||
abstract int |
getViewMode()
Returns the view mode.
| ||||||||||
abstract void |
setViewMode(int viewMode)
Sets the view mode.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Returns a WebDocReportInstances
object through will the reports
within this document can be accessed.
WebDocReportInstances
object that contains the reports.WebObjectsException | if any error was encountered while retrieving the inbox XML. IllegalArgumentException if the inbox XML retrieved could not be parsed. |
---|---|
IllegalArgumentException |
Returns a WebDocumentMessage
object for the current document.
If populate is true, it is ensured that the WebDocumentMessage
object is populated from Intelligence Server.
WebDocumentMessage
for the current document.WebObjectsException | indicates an inability to obtain the message information from the Intelligence Server. |
---|
Returns a WebDocumentMessage
object for the current document. No attempt is made to
ensure that the document message returned is populated. Thus, unless the document message
was already existing and populated, this call returns an unpopulated document message object.
WebDocumentMessage
for the current document.WebObjectsException | indicates an inability to obtain the message information from the Intelligence Server. |
---|
Returns the PDF Data.
WebObjectsException | if an error was encountered on IServer. |
---|
Attempts to obtain the document results from the Intelligence Server, and return those results.
WebObjectsException | Thrown if the method has difficulty in contacting the Intelligence Server. |
---|
Returns the view mode. Possbile View mode values are listed in EnumWebDocumentViewMode
Sets the view mode. View mode should be a value from EnumWebDocumentViewMode
viewMode | the desired view mode. |
---|