com.microstrategy.web.beans.ResultSetBean |
![]() |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract boolean |
cancelRequest()
Cancels the current request.
| ||||||||||
abstract int |
getExpiration()
This method is deprecated.
As of WU 8.0.
| ||||||||||
abstract String |
getLastPromptMessageID()
Whenever
refresh(boolean) with the reprompt argument set to true,
a duplicate message is made in order to answer all the new prompts, i.e. | ||||||||||
abstract int |
getMaxWait()
Returns the maximum amount of time, in milliseconds.
| ||||||||||
abstract String |
getMessageID()
Returns the message ID associated with the result set instance contained
in this
ResultSetBean . | ||||||||||
abstract int |
getPollingFrequency()
Returns the polling frequency, in milliseconds, which will be used
when retrieving the results synchronously.
| ||||||||||
abstract PromptsBean |
getPromptsBean()
Returns the embedded
PromptsBean . | ||||||||||
abstract WebEventHandler |
getPromptsEventHandler()
Returns the prompts event handler associated with the
PromptsBean . | ||||||||||
abstract WebResultSetInstance |
getResultSetInstance()
Returns the result set instance.
| ||||||||||
abstract boolean |
getSaveToInbox()
Returns the flag indicating whether to save the result into
user's Inbox.
| ||||||||||
abstract int |
getStateID()
Returns the current state ID set on the result set instance
ResultSetBean . | ||||||||||
abstract void |
initializeFromSchedule(WebSchedule s)
This method is deprecated.
Starting with version 9.0 and the advent of Distribution Services, all schedule objects are replaced by subscriptions.
Hence please use
initializeFromSubscription(WebSubscription) instead.
| ||||||||||
abstract void |
initializeFromSubscription(WebSubscription s)
Initializes the bean using a
WebSubscription object. | ||||||||||
abstract boolean |
isPrompted()
Returns a boolean value indicating whether the result set instance contains
any prompt questions.
| ||||||||||
abstract boolean |
isReady()
Indicates whether the result set is in a "ready" state where results can be retrieved.
| ||||||||||
abstract void |
refresh()
Refreshes the underlying
WebResultSetInstance . | ||||||||||
abstract void |
refresh(boolean rePrompt)
Refreshes the underlying objects encapsulated by this bean with the
option to reopen the prompt.
| ||||||||||
abstract void |
setDisplayName(String displayName)
Set display name of the bean.
| ||||||||||
abstract void |
setExpiration(int hoursExpire)
This method is deprecated.
As of WU 8.0.
| ||||||||||
abstract void |
setMaxWait(int millis)
Sets the maximum amount of time, in milliseconds.
| ||||||||||
abstract void |
setMessageID(String msgID)
Sets the message ID to the result set instance contained in this
ResultSetBean . | ||||||||||
abstract void |
setPollingFrequency(int millis)
Sets the polling frequency, in milliseconds, which will be used when
retrieving the results synchronously.
| ||||||||||
abstract void |
setPromptsEventHandler(WebEventHandler promptsEventHandler)
Sets the prompt event handler on this bean, which the
ResultSetBean
applies to the embedded PromptsBean . | ||||||||||
abstract void |
setSaveToInbox(boolean saveToInbox)
Sets the boolean value indicating whether to save the result into
user's Inbox.
| ||||||||||
abstract void |
setStateID(int stateID)
Sets a state ID on the result set instance contained in this
ResultSetBean . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Cancels the current request.
This method is deprecated.
As of WU 8.0.
Returns the amount of time, in hours, to expire the cached execution results
on this ResultSetBean
of 0 means the results are immediately expired.
ResultSetBean
.Whenever refresh(boolean)
with the reprompt argument set to true,
a duplicate message is made in order to answer all the new prompts, i.e.
getMessageID()
will return the new message ID of the duplicate.
This method will return the original message ID prior to the reprompt.
Returns the maximum amount of time, in milliseconds. ResultSetBean
will wait for the execution result in synchronous mode.
This can be used to provide an upper bound on synchronous execution time.
The value of 0 means to run the result set will execute in asynchronous mode, while -1
means waiting indefinitely until the data is returned or
error occurs.
Returns the message ID associated with the result set instance contained
in this ResultSetBean
.
WebBeanException | thrown if error occurred when retrieving the message ID. |
---|
Returns the polling frequency, in milliseconds, which will be used when retrieving the results synchronously.
Returns the embedded PromptsBean
. If this ResultSetBean
does not
contains any prompt questions, the returned PromptsBean
will not
contain a PromptObject
. If the ResultSetBean
represents a document, then
all prompts in all reports within the document will be contained in the bean.
PromptsBean
.
Returns the prompts event handler associated with the PromptsBean
.
Returns the flag indicating whether to save the result into user's Inbox.
Returns the current state ID set on the result set instance ResultSetBean
.
WebBeanException | thrown if error occurred when retrieving the state ID. |
---|
This method is deprecated.
Starting with version 9.0 and the advent of Distribution Services, all schedule objects are replaced by subscriptions.
Hence please use initializeFromSubscription(WebSubscription)
instead.
Initializes the bean using a WebSchedule
object. Thus the
bean is setup to a state similar to the scheduled publication.
s | the schedule. |
---|
WebBeanException | thrown if any error occurs during setting up the bean using the schedule passed. |
---|
Initializes the bean using a WebSubscription
object. Thus the
bean is setup to a state similar to the subscribed publication.
s | the subscription instance. |
---|
WebBeanException | thrown if any error occurs during setting up the bean using the subscription passed. |
---|
Returns a boolean value indicating whether the result set instance contains any prompt questions.
WebBeanException | thrown if error occurred when retrieving the prompted information. |
---|
Indicates whether the result set is in a "ready" state where results can be retrieved.
WebBeanException | If we are unable to retrieve the result set instance from the bean. |
---|---|
WebObjectsException | If we are unable to get the status of the result set instance from the Intelligence Server. |
Refreshes the underlying WebResultSetInstance
.
This refresh will not reopen the answered prompt, if any.
WebBeanException | thrown if error occurs when refreshing. |
---|
Refreshes the underlying objects encapsulated by this bean with the option to reopen the prompt.
rePrompt | true if you want to re-open the answered prompt if there is any. |
---|
WebBeanException | thrown if any error occurs during refreshing. |
---|
Set display name of the bean.
By default it is doing nothing.
For report bean it will update the display name of its underlying WebMessage
by calling com.microstrategy.web.objects.WebDisplayUnit#setDisplayName() as soon as
the prompt is answered, but do not have to wait for
the report being executed.
WebBeanException | |
WebBeanException |
This method is deprecated.
As of WU 8.0.
Returns the amount of time, in hours, to expire the cached execution results
on this ResultSetBean
. If a value of 0 is supplied, the results are immediately expired.
hoursExpire | expiration time in hours. |
---|
Sets the maximum amount of time, in milliseconds. ResultSetBean
will wait for the execution results synchronous mode.
This can be used to provide an upper bound on synchronous execution time.
The value of 0 means to run the result set in asynchronous mode, while -1 means
waiting indefinitely until the data is returned or error occurs.
millis | the maximum amount of time to wait in synchronous mode. |
---|
Sets the message ID to the result set instance contained in this ResultSetBean
.
msgID | the message ID set on this ResultSetBean .
|
---|
Sets the polling frequency, in milliseconds, which will be used when retrieving the results synchronously.
millis | the polling frequency to use, in milliseconds. |
---|
Sets the prompt event handler on this bean, which the ResultSetBean
applies to the embedded PromptsBean
. If any prompt events are sent
to the ResultSetBean
event handler, it may delegate it to the
PromptsBean
event handler.
promptsEventHandler | a prompts event handler instance. |
---|
Sets the boolean value indicating whether to save the result into user's Inbox.
saveToInbox | true if want to save the result set to Inbox |
---|
Sets a state ID on the result set instance contained in this ResultSetBean
.
stateID | the state ID set on the result set instance |
---|