Package com.microstrategy.web.objects
Interface WebReportStatement
-
- All Superinterfaces:
WebContentStatement
,WebStatement
public interface WebReportStatement extends WebContentStatement
Deprecated.Starting with version 9.0 and the advent of Distribution Services, all schedule objects are replaced by subscriptions.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 usingWebScheduleSource
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 fromWebContentStatement
- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description int
getReportViewMode()
Deprecated.Returns the report view mode for this statement.java.lang.String
getViewSettings()
Deprecated.Returns the view settings associated with the report statementvoid
setReportViewMode(int reportViewMode)
Deprecated.Sets the report view mode.-
Methods inherited from interface com.microstrategy.web.objects.WebContentStatement
getExecutionFlags, getMessageID, getPrompts, getReuseMessage, getTarget, hasPromptPersonalization, isMobileEnabled, isResolved, reprompt, setExecutionFlags, setMobileEnabled, setReuseMessage
-
Methods inherited from interface com.microstrategy.web.objects.WebStatement
getStatementType
-
-
-
-
Method Detail
-
getReportViewMode
int getReportViewMode()
Deprecated.Returns the report view mode for this statement. Possible values areEnumWebReportViewMode
-
setReportViewMode
void setReportViewMode(int reportViewMode) throws java.lang.IllegalArgumentException
Deprecated.Sets the report view mode. Allowed values are onlyEnumWebReportViewMode.ReportViewModeGraph
&EnumWebReportViewMode.ReportViewModeGrid
- Parameters:
reportViewMode
- The view mode to be set for the schedule.- Throws:
UnSupportedOperationException
- if the view mode set is notEnumWebReportViewMode.ReportViewModeBoth
java.lang.IllegalArgumentException
- if the view mode set is incorrect. (other than those inEnumWebReportViewMode
)- See Also:
Enumeration for Report View Modes.
-
getViewSettings
java.lang.String getViewSettings()
Deprecated.Returns the view settings associated with the report statement- Returns:
- The view settings XML, if one exists.
- Since:
- MicroStrategy Web 8.1.1
-
-