public interface

WebReportStatement

implements WebContentStatement
com.microstrategy.web.objects.WebReportStatement

This interface is deprecated.
Starting with version 9.0 and the advent of Distribution Services, all schedule objects are replaced by subscriptions.

Class Overview

This interface defines a report statement which is used to identify a server command within a schedule that targets a Report. This object cannot be directly instantiated, and can only be obtained indirectly from the other scheduling-related objects. While Report Schedules are read and populated from IServer using WebScheduleSource a WebReportStatement object is automatically created for each Report Schedule. Similarly, if a user wants to create a new Report Schedule on IServer, a WebReportStatement object gets created in the process and the user needs to populate the WebReportStatement with necessary information/properties like the target report for the schedule, view mode etc.. some of which are inherited from WebContentStatement

Summary

Public Methods
abstract int getReportViewMode()
Returns the report view mode for this statement.
abstract String getViewSettings()
Returns the view settings associated with the report statement
abstract void setReportViewMode(int reportViewMode)
Sets the report view mode.
[Expand]
Inherited Methods
From interface com.microstrategy.web.objects.WebContentStatement
From interface com.microstrategy.web.objects.WebStatement

Public Methods

public abstract int getReportViewMode ()

Returns the report view mode for this statement. Possible values are EnumWebReportViewMode

public abstract String getViewSettings ()

Returns the view settings associated with the report statement

Returns
  • The view settings XML, if one exists.

public abstract void setReportViewMode (int reportViewMode)

Sets the report view mode. Allowed values are only ReportViewModeGraph & ReportViewModeGrid

Parameters
reportViewMode The view mode to be set for the schedule.
Throws
if the view mode set is not ReportViewModeBoth
IllegalArgumentException if the view mode set is incorrect. (other than those in EnumWebReportViewMode)