Class ReportExecuteParams.Builder
- java.lang.Object
-
- com.microstrategy.webapi.paramsobject.ReportExecuteParams.Builder
-
- Enclosing class:
- ReportExecuteParams
public static class ReportExecuteParams.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportExecuteParams
build()
Build ReportExecuteParams objectReportExecuteParams.Builder
executionFlags(int executionFlags)
Flags specify different options for the execution.ReportExecuteParams.Builder
executionFlagsExtension(int executionFlagsExtension)
Flags specify different options for the execution extension flags.ReportExecuteParams.Builder
extParam(java.lang.String extParam)
Indicates any applicable extendable parameters.ReportExecuteParams.Builder
promptAnswer(java.lang.String promptAnswer)
Answer to prompt, if any, for the report execution.ReportExecuteParams.Builder
reportId(java.lang.String reportId)
The ID of the report to run.ReportExecuteParams.Builder
requestTimeout(int requestTimeout)
Request timeout value.ReportExecuteParams.Builder
resultFlags(int resultFlags)
Tells the server how to present the results.ReportExecuteParams.Builder
sessionId(java.lang.String sessionId)
A valid Session ID.ReportExecuteParams.Builder
styleXSL(java.lang.String styleXSL)
XSL for the report style.ReportExecuteParams.Builder
subscriptionId(java.lang.String subscriptionId)
ID of subscription if we run the report from subscriptions.ReportExecuteParams.Builder
viewSetting(java.lang.String viewSetting)
XML (containing view index, deltaXML, grid/graph properties) for setting the view of the report.ReportExecuteParams.Builder
webProperties(java.lang.String webProperties)
Properties associated with this report.ReportExecuteParams.Builder
windowSetting(java.lang.String windowSetting)
XML (starting row, starting column, max row, max column) for a display window.
-
-
-
Method Detail
-
sessionId
public ReportExecuteParams.Builder sessionId(java.lang.String sessionId)
A valid Session ID.- Parameters:
sessionId
-- Returns:
-
reportId
public ReportExecuteParams.Builder reportId(java.lang.String reportId)
The ID of the report to run.- Parameters:
reportId
-- Returns:
-
executionFlags
public ReportExecuteParams.Builder executionFlags(int executionFlags)
Flags specify different options for the execution. Value must be a bitwise "or" (addition) of values fromEnumDSSXMLExecutionFlags
. [Default=DssXmlExecutionUseCache + DssXmlExecutionUpdateCache].- Parameters:
executionFlags
-- Returns:
-
executionFlagsExtension
public ReportExecuteParams.Builder executionFlagsExtension(int executionFlagsExtension)
Flags specify different options for the execution extension flags. Value must be a bitwise "or" (addition) of values fromEnumDSSXMLExecutionFlagsExtension
. [Default=DssExecutionFlagsExtensionReserved].- Parameters:
executionFlagsExtension
-- Returns:
-
resultFlags
public ReportExecuteParams.Builder resultFlags(int resultFlags)
Tells the server how to present the results. This value must be a bitwise "or" (addition) of values fromEnumDSSXMLResultFlags
. [Default=0].- Parameters:
resultFlags
-- Returns:
-
promptAnswer
public ReportExecuteParams.Builder promptAnswer(java.lang.String promptAnswer)
Answer to prompt, if any, for the report execution. [Default=""].- Parameters:
promptAnswer
-- Returns:
-
viewSetting
public ReportExecuteParams.Builder viewSetting(java.lang.String viewSetting)
XML (containing view index, deltaXML, grid/graph properties) for setting the view of the report. [Default=""].- Parameters:
viewSetting
-- Returns:
-
windowSetting
public ReportExecuteParams.Builder windowSetting(java.lang.String windowSetting)
XML (starting row, starting column, max row, max column) for a display window. [Default=""].- Parameters:
windowSetting
-- Returns:
-
extParam
public ReportExecuteParams.Builder extParam(java.lang.String extParam)
Indicates any applicable extendable parameters.- Parameters:
extParam
-- Returns:
-
requestTimeout
public ReportExecuteParams.Builder requestTimeout(int requestTimeout)
Request timeout value. It is used to override the default session request timeout value for the saving job. By default it's -1.- Parameters:
requestTimeout
-- Returns:
-
styleXSL
public ReportExecuteParams.Builder styleXSL(java.lang.String styleXSL)
XSL for the report style. [Default=""].- Parameters:
styleXSL
-- Returns:
-
webProperties
public ReportExecuteParams.Builder webProperties(java.lang.String webProperties)
Properties associated with this report. [Default=""].- Parameters:
webProperties
-- Returns:
-
subscriptionId
public ReportExecuteParams.Builder subscriptionId(java.lang.String subscriptionId)
ID of subscription if we run the report from subscriptions.- Parameters:
subscriptionId
-- Returns:
-
build
public ReportExecuteParams build()
Build ReportExecuteParams object- Returns:
-
-