com.microstrategy.web.objects.WebReportManipulation |
The report manipulation interface allows the user to apply a set of manipulations to the associated
report instance. This interface is obtained from, and connected to, a WebReportInstance
object. In addition, this interface contains many methods relating to derived metric manipulations.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract WebReportInstance |
addDerivedMetric(String formulae, int position, String alias, Boolean aggFromBase)
Adds a new derived metric to the report.
| ||||||||||
abstract WebReportInstance | addDerivedMetric(String formulae, int position, String alias, Boolean aggFromBase, boolean isPassThrough) | ||||||||||
abstract WebReportInstance |
addDerivedMetric(String formulae, int position, String alias, int aggFromBase, int stFromBase, Boolean isTokenStream)
Adds a new derived metric to the report.
| ||||||||||
abstract WebReportInstance |
addDerivedMetric(String formulae, int position)
Adds a new derived metric to the report.
| ||||||||||
abstract WebReportInstance |
addDerivedMetric(String formulae, int position, String alias)
Adds a new derived metric to the report.
| ||||||||||
abstract WebReportInstance | addDerivedMetric(String formulae, int position, String alias, int aggFromBase, int stFromBase, Boolean isTokenStream, boolean isPassThrough) | ||||||||||
abstract WebReportInstance |
addPercentToTotalMetric(WebPercentToTotalMetric metric)
Adds a percent to total metric to the Report.
| ||||||||||
abstract WebReportInstance |
addQuickCalculationGroup(String deName, String attId, int depth, int[] ordinals, int function)
This method is deprecated.
Use
addQuickCalculationGroup(String, String, int, int[], int, WebDerivedElements) instead
| ||||||||||
abstract WebReportInstance | addQuickCalculationGroup(String deName, String attId, int depth, int[] ordinals, int function, WebDerivedElements target) | ||||||||||
abstract WebReportInstance | addQuickListGroup(String deName, String attId, int depth, int[] ordinals, WebDerivedElements target) | ||||||||||
abstract WebReportInstance |
addQuickListGroup(String deName, String attId, int depth, int[] ordinals)
This method is deprecated.
Use
addQuickListGroup(String, String, int, int[], WebDerivedElements) instead
| ||||||||||
abstract WebReportInstance |
addRankMetric(WebRankMetric metric)
Adds a rank metric to the Report.
| ||||||||||
abstract WebReportInstance | addShortcutMetric(int functionType, int functionType2, List<WebObjectInfo> unitsInfo) | ||||||||||
abstract WebReportInstance |
addTransformationMetric(WebTransformationMetric metric)
Adds a transformation metric to the Report.
| ||||||||||
abstract WebReportInstance |
applyChanges(String deltaXML, int requestTimeout, StringWrapper resultXML)
Sends the given report manipulation XML to the Intelligence Server.
| ||||||||||
abstract WebReportInstance |
applyChanges()
Sends all changes to the template and filter to the Intelligence Server.
| ||||||||||
abstract WebReportInstance |
applyChanges(String deltaXML, int requestTimeout)
Sends the given report manipulation XML to the Intelligence Server.
| ||||||||||
abstract WebReportInstance |
applyChanges(String deltaXML)
Sends the given report manipulation XML to the Intelligence Server.
| ||||||||||
abstract WebReportInstance |
applyStyleByID(String id)
Apply a style by style DSSID.
| ||||||||||
abstract WebReportInstance |
applyStyleByName(String name)
Apply a style by style name.
| ||||||||||
abstract WebReportInstance | changeDerivedMetric(int key, String formula, String alias, Boolean aggFromBase, boolean isPassThrough) | ||||||||||
abstract WebReportInstance |
changeDerivedMetric(String objectID, String formula, String alias, int aggFromBase, int stFromBase, Boolean isTokenStream, boolean isPassThrough)
This changes the formula or alias of the derived metric.
| ||||||||||
abstract WebReportInstance | changeDerivedMetric(int key, String formula, String alias, int aggFromBase, int stFromBase, Boolean isTokenStream, boolean isPassThrough) | ||||||||||
abstract WebReportInstance |
changeDerivedMetric(int key, String formula, String alias, int aggFromBase, int stFromBase, Boolean isTokenStream)
This changes the formula or alias of the derived metric.
| ||||||||||
abstract WebReportInstance |
changeDerivedMetric(int key, String formula, String alias)
This changes the formula or alias of the derived metric.
| ||||||||||
abstract WebReportInstance |
changeDerivedMetric(int key, String formula, String alias, Boolean aggFromBase)
This changes the formula or alias of the derived metric.
| ||||||||||
abstract WebReportInstance |
changeDerivedMetricAggFromBase(String formulae, int position, String alias, Boolean aggFromBase, Boolean isTokenStream)
This changes the formula or alias of the derived metric.
| ||||||||||
abstract WebReportInstance |
changeDerivedMetricAggFromBase(String formulae, int position, String alias, Boolean aggFromBase)
This changes the formula or alias of the derived metric.
| ||||||||||
abstract WebReportInstance |
changeEmmaSourceTablesExecutionAction(Map<String, Integer> tbs)
Change EMMA source tables execution action flags EnumDSSXMLTableStateExecutionAction according to the policy, suggest to pass all the source tables with its policy together.
| ||||||||||
abstract WebReportInstance |
changeEmmaSourceTablesPolicy(Map<String, Integer> tbs)
Change EMMA source tables policy, suggest to pass all the source tables with its policy together
| ||||||||||
abstract WebReportInstance |
changeMapping(String tableID, String tableName, List<MappingOperation> mappings)
change mapping
| ||||||||||
abstract WebReportInstance |
clearDiscoverCache(String tableId)
clear discover cache
| ||||||||||
abstract WebReportInstance |
createPickTable(String tableID, String xdaType, String dict, String tableName, String dbTableName, String nameSpace, String dbrID)
Create pick table
| ||||||||||
abstract WebReportInstance |
createPushDataTables(List<String> tableNames)
create pushdatatables
| ||||||||||
abstract WebReportInstance |
createSourceTable(String tableId, String tableName, String xdaType, String connectorType)
create table
| ||||||||||
abstract WebReportInstance |
customMappingForEmmaSourceTable(String tableName, MappingCreator mappingCreator)
custom mapping for EMMA source table
| ||||||||||
abstract WebReportInstance |
customMappingForEmmaSourceTables(List<MappingCreator> mappingCreators)
customMapping for EmmaSourceTables
| ||||||||||
abstract WebReportInstance |
drill(String drillKey, String[] drillElements, Map drillProperties)
Drills on the current report instance using the drill path key and settings passed as arguments.
| ||||||||||
abstract WebReportInstance |
editEMMASourceTable(String srcTableID, String tableName, String tableFormatLeft, String tableFormatTop, String tableFormatWidth, String tableFormatHeight, String executionFlag, String isImportBinary, String refreshType)
edit editEMMASourceTable
| ||||||||||
abstract WebReportInstance |
editEMMASourceTables(JSONArray commands)
edit editEMMASourceTables in batch
| ||||||||||
abstract WebReportInstance |
editFreeFormSQL(String expdef, String emmaSourceTableId)
edit FreeFormSQL
| ||||||||||
abstract WebReportInstance |
editRelationship(String tableName, List<MappingRelationship> relationships)
edit relationship
| ||||||||||
abstract WebReportInstance | filterOnSelections(String[] drillElements, Map drillProperties) | ||||||||||
abstract boolean |
getAcceptSQLManipulation()
Returns the value of the acceptSQLManipulation flag.
| ||||||||||
abstract String |
getDeltaXML()
Returns the delta XML which would be sent to the Intelligence Server upon calling applyChanges().
| ||||||||||
abstract int |
getExecutionFlags()
Returns the current setting of execution flags.
| ||||||||||
abstract WebGraphProperties |
getGraphProperties()
Return a
WebGraphProperties object, which can be used to set the
web graph properties. | ||||||||||
abstract int |
getManipulationType()
Returns the manipulation type of a submission of changes to a report instance.
| ||||||||||
abstract WebPercentToTotalMetric |
getNewPercentToTotalMetric(WebMetric metric)
Returns a new instance of the
WebPercentToTotalMetric object. | ||||||||||
abstract WebRankMetric |
getNewRankMetric(WebMetric metric)
Returns a new instance of the
WebRankMetric object. | ||||||||||
abstract WebTransformationMetric |
getNewTransformationMetric(WebMetric metric, WebObjectInfo transformationRole)
Returns a new instance of the
WebTransformationMetric object. | ||||||||||
abstract WebProperties |
getReportProperties()
Return current setting for WebProperties.
| ||||||||||
abstract int |
getResultFlags()
Returns the result flags which will be sent upon calling applyChanges.
| ||||||||||
abstract WebResultWindow |
getResultWindow()
Returns the result window which can be used to set the result window to be passed to
the Intelligence server upon calling applyChanges.
| ||||||||||
abstract int |
getValidationLevel()
Returns the validation level of a submission of changes to a report instance.
| ||||||||||
abstract boolean |
isInstanceModified()
This method will return whether the submission of the changes to the report instance so far will cause a
new report instance to be created.
| ||||||||||
abstract WebReportInstance | makeTabular() | ||||||||||
abstract WebReportInstance | raExpandCollapse(String attId, int axis, int ordinal, int depth, boolean expand) | ||||||||||
abstract WebReportInstance |
refresh(boolean rePrompt)
refreshes the report results.
| ||||||||||
abstract WebReportInstance |
refresh(String promptAnswerXML)
refreshes the report results.
| ||||||||||
abstract WebReportInstance |
refreshEmmaCubeTablesWithExtParam(String extParam)
Refresh EMMA cube with extended parameters@return
| ||||||||||
abstract boolean |
requiresNewInstance()
Determines whether the changes made to the filter and template of this report will
cause a new report instance (and thus, a reexecution of SQL).
| ||||||||||
abstract WebReportInstance |
resetChanges()
Return a new WebReportInstance
WebReportInstance which is the same
as this report instance, except that the returned report instsance does not have any manipulation having been done
for this report instance. | ||||||||||
abstract void |
setAcceptSQLManipulation(boolean acceptSQLManipulation)
Sets the value of the acceptSQLManipulation flag.
| ||||||||||
abstract WebReportInstance | setCurrentPageByElement(String elementID, int elementStatus, boolean applyChanges) | ||||||||||
abstract WebReportInstance |
setDataImportInfo(String tbID, String dbRoleID, String sourceAccountID, String url, String userDisplayName, String reportAddress, String reportDesc, String reportMimetype, String reportName, String shtIx, String fileType, String sparkURL)
set DataImportInfo
| ||||||||||
abstract void |
setExecutionFlags(int executionFlags)
Sets the execution flags property.
| ||||||||||
abstract void |
setResultFlags(int resultFlags)
Allows the user to set the result flags which will be sent upon calling applyChanges.
| ||||||||||
abstract WebReportInstance |
showAllThresholds(boolean show)
Show all thresholds for all metrics.
| ||||||||||
abstract WebReportInstance |
showAllThresholds(boolean show, WebMetric metric)
Show all thresholds for a specific metric.
| ||||||||||
abstract WebReportInstance |
syncModel(String modelJSON, int serveMode)
edit syncModel
| ||||||||||
abstract WebReportInstance |
syncModel(String modelJSON, int serveMode, List<TableAction> tableActions)
edit syncModel
| ||||||||||
abstract WebReportInstance |
toggleDatasetServerMode(int serverMode)
Toggle dataset server mode
| ||||||||||
abstract String | validateExpression(String tokenStreamXML, boolean isForMetric, int outFlags, int baseFormType) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Adds a new derived metric to the report.
formulae | The formula of the derived metric that can be understood by the parser. |
---|---|
position | The position for the metric on the metrics template unit. |
alias | The display name for the metric. |
aggFromBase | flag to indicate whether the metric should aggregate from base. |
WebReportInstance
object with the applied changes.WebObjectsException | Signals an error when sending the changes to the Intelligence Server. |
---|---|
WebReportValidationException | Signals a report validation error from the Intelligence Server. |
Adds a new derived metric to the report.
formulae | The formula of the derived metric that can be understood by the parser. |
---|---|
position | The position for the metric on the metrics template unit. |
alias | The display name for the metric. |
aggFromBase | flag to indicate whether the metric should aggregate from base. |
stFromBase | flag to indicate whether the metric should subtotal from base. |
isTokenStream | flag to indicate whether the formula is a token stream. |
WebReportInstance
object with the applied changes.WebObjectsException | Signals an error when sending the changes to the Intelligence Server. |
---|---|
WebReportValidationException | Signals a report validation error from the Intelligence Server. |
Adds a new derived metric to the report. This method will call addDerivedMetric with the same parameters but adding an empty alias name.
formulae | The formula of the derived metric that can be understood by the parser. |
---|---|
position | The position for the metric on the metrics template unit. |
WebReportInstance
object with the applied changes.WebObjectsException | Signals an error when sending the changes to the Intelligence Server. |
---|---|
WebReportValidationException | Signals a report validation error from the Intelligence Server. |
Adds a new derived metric to the report.
formulae | The formula of the derived metric that can be understood by the parser. |
---|---|
position | The position for the metric on the metrics template unit. |
alias | The display name for the metric. |
WebReportInstance
object with the applied changes.WebObjectsException | Signals an error when sending the changes to the Intelligence Server. |
---|---|
WebReportValidationException | Signals a report validation error from the Intelligence Server. |
Adds a percent to total metric to the Report.
metric | the WebPercentToTotalMetric to be added to the report. |
---|
WebReportInstance
object with the applied changes.WebObjectsException | Signals an error when sending the changes to the Intelligence Server. |
---|---|
WebReportValidationException | Signals a report validation error from the Intelligence Server. |
IllegalArgumentException | if the metric to be added is null. |
This method is deprecated.
Use addQuickCalculationGroup(String, String, int, int[], int, WebDerivedElements)
instead
This method is deprecated.
Use addQuickListGroup(String, String, int, int[], WebDerivedElements)
instead
Adds a rank metric to the Report.
metric | the WebRankMetric to be added to the report. |
---|
WebReportInstance
object with the applied changes.WebObjectsException | Signals an error when sending the changes to the Intelligence Server. |
---|---|
WebReportValidationException | Signals a report validation error from the Intelligence Server. |
IllegalArgumentException | if the metric to be added is null. |
Adds a transformation metric to the Report.
metric | the WebTransformationMetric to be added to the report. |
---|
WebReportInstance
object with the applied changes.WebObjectsException | Signals an error when sending the changes to the Intelligence Server. |
---|---|
WebReportValidationException | Signals a report validation error from the Intelligence Server. |
IllegalArgumentException | if the metric to be added is null. |
Sends the given report manipulation XML to the Intelligence Server. Returns a WebReportInstance object. The returned object will be the same as the object which applyChanges was called upon, with the difference of the state ID being increased by 1, if it was not necessary to generate a new report instance. If a new report instance was necessary (i.e. the report changes caused SQL generation), then this method will return a new WebReportInstance object with the new message ID. Finally, note that this method will update the manipulation type and validation level properties on this object.
deltaXML | The report manipulation delta XML to send to the Intelligence Server. |
---|---|
requestTimeout | The session request timeout value. It is used to override the default session request timeout. |
resultXML | The manipulation result XML returned |
WebObjectsException | Signals an error when sending the changes to the Intelligence Server. |
---|---|
WebReportValidationException | Signals a report validation error from the Intelligence Server. |
Sends all changes to the template and filter to the Intelligence Server. Returns a WebReportInstance object. The returned object will be the same as the object which applyChanges was called upon, with the difference of the state ID being increased by 1, if it was not necessary to generate a new report instance. If a new report instance was necessary (i.e. the report changes caused SQL generation), then this method will return a new WebReportInstance object with the new message ID. Finally, note that this method will update the manipulation type and validation level properties on this object.
WebObjectsException | Signals an error when sending the changes to the Intelligence Server. |
---|---|
WebReportValidationException | Signals a report validation error from the Intelligence Server. |
Sends the given report manipulation XML to the Intelligence Server. Returns a WebReportInstance object. The returned object will be the same as the object which applyChanges was called upon, with the difference of the state ID being increased by 1, if it was not necessary to generate a new report instance. If a new report instance was necessary (i.e. the report changes caused SQL generation), then this method will return a new WebReportInstance object with the new message ID. Finally, note that this method will update the manipulation type and validation level properties on this object.
deltaXML | The report manipulation delta XML to send to the Intelligence Server. |
---|---|
requestTimeout | The session request timeout value. It is used to override the default session request timeout. |
WebObjectsException | Signals an error when sending the changes to the Intelligence Server. |
---|---|
WebReportValidationException | Signals a report validation error from the Intelligence Server. |
Sends the given report manipulation XML to the Intelligence Server. Returns a WebReportInstance object. The returned object will be the same as the object which applyChanges was called upon, with the difference of the state ID being increased by 1, if it was not necessary to generate a new report instance. If a new report instance was necessary (i.e. the report changes caused SQL generation), then this method will return a new WebReportInstance object with the new message ID. Finally, note that this method will update the manipulation type and validation level properties on this object.
deltaXML | The report manipulation delta XML to send to the Intelligence Server. |
---|
WebObjectsException | Signals an error when sending the changes to the Intelligence Server. |
---|---|
WebReportValidationException | Signals a report validation error from the Intelligence Server. |
Apply a style by style DSSID.
id | the DSSID of the style object to be applied. |
---|
WebReportInstance
object with the applied style.IllegalArgumentException | Thrown when id is null or empty string. |
---|---|
WebObjectsException | Singals an error when sending the changes to the Intelligence Server. |
WebReportValidationException | Signals a report validation error from the Intelligence Server. |
Apply a style by style name.
name | the name of the style to be applied. |
---|
WebReportInstance
object with the applied style.IllegalArgumentException | Thrown when the name is null or empty string. |
---|---|
WebObjectsException | Signals an error when sending the changes to the Intelligence Server. |
WebReportValidationException | Signals a report validation error from the Intelligence Server. |
This changes the formula or alias of the derived metric.
objectID | The DSS ID of the metric for which changes need to be made. |
---|---|
formula | The formula of the derived metric that can be understood by the parser. |
alias | The display name for the metric. |
aggFromBase | flag to indicate whether the metric should aggregate from base. |
stFromBase | flag to indicate whether the metric should subtotal from base. |
isTokenStream | flag to indicate whether the formula is a token stream. |
WebReportInstance
object with the applied changes.WebObjectsException | |
WebReportValidationException | |
WebObjectsException |
This changes the formula or alias of the derived metric. If the key of the metric that is passed in does not correspond to a derived metric and a formula is passed in, then the existing metric is replaced by a derived metric with the given formula and alias
key | key of the metric for which changes need to be made. The key can be obtained using
getKey() |
---|---|
formula | The formula of the derived metric that can be understood by the parser. |
alias | The display name for the metric. |
aggFromBase | flag to indicate whether the metric should aggregate from base. |
stFromBase | flag to indicate whether the metric should subtotal from base. |
isTokenStream | flag to indicate whether the formula is a token stream. |
WebReportInstance
object with the applied changes.WebObjectsException | |
WebReportValidationException | |
WebObjectsException |
This changes the formula or alias of the derived metric. If the key of the metric that is passed in does not correspond to a derived metric and a formula is passed in, then the existing metric is replaced by a derived metric with the given formula and alias
key | key of the metric for which changes need to be made. The key can be obtained using
getKey() |
---|---|
formula | The formula of the derived metric that can be understood by the parser. |
alias | The display name for the metric. |
WebReportInstance
object with the applied changes.WebObjectsException | |
WebReportValidationException | |
WebObjectsException | |
WebReportValidationException |
This changes the formula or alias of the derived metric. If the key of the metric that is passed in does not correspond to a derived metric and a formula is passed in, then the existing metric is replaced by a derived metric with the given formula and alias
key | key of the metric for which changes need to be made. The key can be obtained using
getKey() |
---|---|
formula | The formula of the derived metric that can be understood by the parser. |
alias | The display name for the metric. |
aggFromBase | flag to indicate whether the metric should aggregate from base. |
WebReportInstance
object with the applied changes.WebObjectsException | |
WebReportValidationException | |
WebObjectsException |
This changes the formula or alias of the derived metric. If the key of the metric that is passed in does not correspond to a derived metric and a formula is passed in, then the existing metric is replaced by a derived metric with the given formula and alias
alias | The display name for the metric. |
---|---|
aggFromBase | flag to indicate whether the metric should aggregate from base. |
isTokenStream | flag to indicate whether the formula is a token stream. |
WebReportInstance
object with the applied changes.WebObjectsException | |
WebReportValidationException | |
WebObjectsException |
This changes the formula or alias of the derived metric. If the key of the metric that is passed in does not correspond to a derived metric and a formula is passed in, then the existing metric is replaced by a derived metric with the given formula and alias
alias | The display name for the metric. |
---|---|
aggFromBase | flag to indicate whether the metric should aggregate from base. |
WebReportInstance
object with the applied changes.WebObjectsException | |
WebReportValidationException | |
WebObjectsException |
Change EMMA source tables execution action flags EnumDSSXMLTableStateExecutionAction according to the policy, suggest to pass all the source tables with its policy together.
For the tables we changed their policy, we will set it's action to Force Execution.
For the tables we ignored, we will set it's action to Ignore.,
tbs | Key indicates source table IDs, and Value indicates execution action EnumDSSXMLCubeRefreshType |
---|
WebObjectsException | |
WebReportValidationException | |
WebObjectsException |
Change EMMA source tables policy, suggest to pass all the source tables with its policy together
tbs | Key indicates source table IDs, and Value indicates policies EnumDSSXMLCubeRefreshType |
---|
WebObjectsException | |
WebReportValidationException | |
WebObjectsException |
change mapping
WebObjectsException | |
WebReportValidationException | |
WebObjectsException |
clear discover cache
WebObjectsException | |
WebReportValidationException | |
WebObjectsException |
Create pick table
WebObjectsException | |
WebReportValidationException | |
WebObjectsException |
create pushdatatables
WebObjectsException | |
WebReportValidationException | |
WebObjectsException |
create table
WebObjectsException | |
WebReportValidationException | |
WebObjectsException |
custom mapping for EMMA source table
WebObjectsException | |
WebReportValidationException | |
WebObjectsException |
customMapping for EmmaSourceTables
WebObjectsException | |
WebReportValidationException | |
WebObjectsException |
Drills on the current report instance using the drill path key and settings passed as arguments.
drillKey | This is the key to the drill path to be used for drilling. The drill key can be obtained from getKey() |
---|---|
drillElements | This is a string array of the drill elements representing the user filter. Each drill element is represented by an identifier (String)
that can be obtained from getDrillElement() |
drillProperties | This should be a map of drill settings that the user wants to override while drilling. The keys in the map should be from EnumWebDrillProperties .
Based on the type of drill property (int/boolean), following are the object types that can be passed as values in the Map :
[1] For a drill property that can have integer values, an Integer or String object, wrapping the (integer) value, should be set. [2] For a drill property that can have only boolean values, a Boolean or String object representing the (boolean) value should be set. The String object should have values {"true", "false", "1", "0"} only. |
WebObjectsException | signal error encountered by IServer while executing the drill. |
---|
edit editEMMASourceTable
WebObjectsException | |
WebReportValidationException | |
WebObjectsException |
edit editEMMASourceTables in batch
commands | {did: srcTableId, exef: executeAction} |
---|
WebObjectsException | |
WebReportValidationException | |
WebObjectsException |
edit FreeFormSQL
WebObjectsException | |
WebReportValidationException | |
WebObjectsException |
edit relationship
WebObjectsException | |
WebReportValidationException | |
WebObjectsException |
WebObjectsException |
---|
Returns the value of the acceptSQLManipulation flag. This flag determines whether to allow the Intelligence Server to perform a SQL manipulation in response to an applyChanges call. By default, this flag is true.
Returns the delta XML which would be sent to the Intelligence Server upon calling applyChanges(). This XML will be derived from the changes made to the template and filters of the owner report instance.
WebObjectsException | Signals that the delta XML could not be determined. |
---|
Returns the current setting of execution flags. This flag value tells the Intelligence Server the settings to use when executing a report.
EnumDSSXMLExecutionFlags
.Return a WebGraphProperties
object, which can be used to set the
web graph properties. The user can use the methods exposed by WebGraphProperties interface
to add and manipulate the properties inside it.
WebGraphProperties
object to represent current
settings of WebGraphProperties.
Returns the manipulation type of a submission of changes to a report instance. This
variable is updated after calling applyChanges or requiresNewInstance. The
return value comes from EnumDSSXMLManipulationType
.
Returns a new instance of the WebPercentToTotalMetric
object. This derived metric
is based on the specified metric on the template or working set.
metric | The WebMetric object used to create the derived metric. |
---|
WebPercentToTotalMetric
object created.IllegalArgumentException | thrown if the metric is null or does not exist in the template or in the working set. |
---|---|
WebObjectsException | Signals an error when sending the changes to the Intelligence Server. |
Returns a new instance of the WebRankMetric
object. This derived metric
is based on the specified metric on the template or working set.
metric | The WebMetric object used to create the derived metric. |
---|
WebRankMetric
object created.IllegalArgumentException | thrown if the metric is null or does not exist in the template or in the working set. |
---|---|
WebObjectsException | Signals an error when sending the changes to the Intelligence Server. |
Returns a new instance of the WebTransformationMetric
object. This derived metric
is based on the specified metric on the template or working set.
metric | The WebMetric object used to create the derived metric. |
---|---|
transformationRole | a WebObjectInfo object that should have a type of DssXmlTypeRole
and a subtype of DssXmlSubTypeRoleTransformation from EnumDSSXMLObjectSubTypes . |
WebTransformationMetric
object created.IllegalArgumentException | thrown if the metric is null or does not exist in the template or in the working set. Also thrown if the transformation role object does not have the correct type and subtype. |
---|---|
WebObjectsException | Signals an error when sending the changes to the Intelligence Server. |
Return current setting for WebProperties. Its default one is from WebReportSource (TBD). If there is no setting, an empty WebProperties object will be return. Then through WebProperties interface, property can be added/removed/changed. The properties in this WebProperties object will be used when re-execute the report.?
WebProperties
in this instance.
Returns the result flags which will be sent upon calling applyChanges.
EnumDSSXMLResultFlags
.Returns the result window which can be used to set the result window to be passed to the Intelligence server upon calling applyChanges.
WebResultWindow
object which can be used to send a window to the
Server upon calling the applyChanges.
Returns the validation level of a submission of changes to a report instance. This
variable is updated after calling applyChanges or requiresNewInstance. The
return value comes from EnumDSSXMLValidationLevel
.
This method will return whether the submission of the changes to the report instance so far will cause a new report instance to be created. Note that this method will NOT cause the actual execution of the changes made to the report instance. This method will also update the manipulation type and validation level properties with more information on the type of change that the operation would cause.
WebObjectsException | Thrown if the server could not be contacted or another fatal error occurs. |
---|
refreshes the report results.
rePrompt | should be sent to true, if prompts need to be re-answered. |
---|
WebObjectsException | thrown if server encountered an error while refreshing the results. |
---|
refreshes the report results.
promptAnswerXML | the answer xml for the prompts. |
---|
WebObjectsException | thrown if server encountered an error while refreshing the results. |
---|
Refresh EMMA cube with extended parameters@return
WebObjectsException |
---|
Determines whether the changes made to the filter and template of this report will cause a new report instance (and thus, a reexecution of SQL).
WebObjectsException | Signals an error when contacting the Intelligence Server. |
---|
Return a new WebReportInstance WebReportInstance
which is the same
as this report instance, except that the returned report instsance does not have any manipulation having been done
for this report instance. This is an opposite operation of applyChanges().
The returned WebReportInstance is identical to current WebReportInstance,
except that all manipulations have been cleared.
Sets the value of the acceptSQLManipulation flag. This flag determines whether to allow the Intelligence Server to perform a SQL manipulation in response to an applyChanges call.
acceptSQLManipulation | The new value for the acceptSQLManipulation flag. |
---|
set DataImportInfo
WebObjectsException | |
WebReportValidationException | |
WebObjectsException |
Sets the execution flags property. This flag value tells the Intelligence Server the settings to use when executing a report.
executionFlags | The new value of execution flags, a value which is the bitwise
or (|) from values in EnumDSSXMLExecutionFlags . |
---|
Allows the user to set the result flags which will be sent upon calling applyChanges.
resultFlags | The result flags which will be used upon calling applyChanges, from
the bitwise or (|) of values from EnumDSSXMLResultFlags . |
---|
Show all thresholds for all metrics.
show | true to show all thresholds for all metrics, false to hide the thresholds for all metrics |
---|
WebObjectsException | Signals an error when sending the changes to the Intelligence Server. |
---|---|
WebReportValidationException | Signals a report validation error from the Intelligence Server. |
Show all thresholds for a specific metric.
show | true to show thresholds, false to hide thresholds. |
---|---|
metric | the WebMetric object, whose thresholds will be affected. |
WebObjectsException | Signals an error when sending the changes to the Intelligence Server. |
---|---|
WebReportValidationException | Signals a report validation error from the Intelligence Server. |
IllegalArgumentException | if parameter metric is null |
edit syncModel
WebObjectsException | |
WebReportValidationException | |
WebObjectsException |
edit syncModel
WebObjectsException | |
WebReportValidationException | |
WebObjectsException |
Toggle dataset server mode
serverMode | EnumDSSXMLDatasetServeMode |
---|
WebObjectsException | |
WebReportValidationException | |
WebObjectsException |
WebObjectsException |
---|