com.microstrategy.web.objects.WebContentStatement |
![]() |
This interface is deprecated.
Starting with version 9.0 and the advent of Distribution Services, all schedule objects are replaced by subscriptions.
This interface defines a report/document statement which is used to identify a server command within a schedule
that targets a Report/Document. This object cannot be directly instantiated, and can only be obtained indirectly from the other
scheduling-related objects. A WebContentStatement can used to read(from IServer) or fill up(for new schedules) properties
common to report/document schedules. This class is further extended by WebReportStatement
and WebDocumentStatement
which hold further specific information
corresponding to report and document schedules respectively.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract int |
getExecutionFlags()
This method returns the current value for the execution flags the Intelligence Server will use
| ||||||||||
abstract String |
getMessageID()
Returns the current inbox message ID being used by this statement, if applicable.
| ||||||||||
abstract WebPrompts |
getPrompts()
Returns the
WebPrompts object corresponding to the Report or Document. | ||||||||||
abstract boolean |
getReuseMessage()
This method returns the current value of the reuseMessage flag, which tells whether to reuse the
same inbox message or create a new message each time a report or document is executed.
| ||||||||||
abstract WebObjectInfo |
getTarget()
Returns a
WebObjectInfo object, which provides additional information on the report or
document object rooted in the statement. | ||||||||||
abstract boolean |
hasPromptPersonalization()
This method is used to check whether the current schedule has prompts or not.
| ||||||||||
abstract boolean | isMobileEnabled() | ||||||||||
abstract boolean |
isResolved()
If the answers for the prompts of an existing report/document are modified (calling
getPrompts() ) or if a new schedule to be created corresponds
to a prompted report/document, then this method is used to figure out if the Prompts are resolved or not. | ||||||||||
abstract void |
reprompt()
Reopens the prompts if they have already been answered.
| ||||||||||
abstract void |
setExecutionFlags(int executionFlags)
This method allows the user to specify the execution flags the Intelligence Server will use.
| ||||||||||
abstract void | setMobileEnabled(boolean isMobile) | ||||||||||
abstract void |
setReuseMessage(boolean reuseMessage)
This method specifies the reuseMessage flag, which tells whether to reuse the same inbox message or
create a new message each time a report or document is executed.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
This method returns the current value for the execution flags the Intelligence Server will use
Returns the current inbox message ID being used by this statement, if applicable.
Returns the WebPrompts
object corresponding to the Report or Document. If the report or document is not prompted, it will return null. Once a client
has called getPrompts on an existing Report/Document the corresponding Prompts object is returned with all prompts open. Thus, before
saving such a schedule, one must therefore validate whether the prompts are resolved or not using isResolved()
.
WebPrompts
object.WebObjectsException | if ISErver encountered an error while retrieving the prompts object. |
---|
This method returns the current value of the reuseMessage flag, which tells whether to reuse the same inbox message or create a new message each time a report or document is executed. By default, this value is false.
Returns a WebObjectInfo
object, which provides additional information on the report or
document object rooted in the statement.
WebObjectInfo
, populated with relevant information about this
statement object.
This method is used to check whether the current schedule has prompts or not.
WebObjectsException | if an exception has been encountered on the IServer while checking whether the report corresponding to the schedule is prompted or not. |
---|
If the answers for the prompts of an existing report/document are modified (calling getPrompts()
) or if a new schedule to be created corresponds
to a prompted report/document, then this method is used to figure out if the Prompts are resolved or not.
WebObjectsException | if the the status collection from IServer resulted in error. |
---|
Reopens the prompts if they have already been answered. The underlying content instance needs to be in a result status for this to take effect. If the status is not result, then a WebObjectsException is thrown
WebObjectsException | thrown if the underlying content instance is not in a ready status or if there is any other error while trying to reload the prompts |
---|
This method allows the user to specify the execution flags the Intelligence Server will use.
executionFlags | The execution flags value to use when executing the statement. |
---|
This method specifies the reuseMessage flag, which tells whether to reuse the same inbox message or create a new message each time a report or document is executed.
reuseMessage | The value to use for the reuseMessage flag. |
---|