| java.lang.Object | ||
| ↳ | com.microstrategy.web.app.addons.AbstractAppAddOn | |
| ↳ | com.microstrategy.web.app.addons.RWSetFlagsAddOn | |
This add on takes care of setting the result flags specified on the view mode set for visualizations.
The flags will only be set if visualizations are supported.
If we are on the document page, the flags will only be set if we are in non-editable view mode.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| RWSetFlagsAddOn() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | getAddOnDescription() | ||||||||||
| boolean | getUseTerseElementIDs() | ||||||||||
| void |
preCollectData(PageComponent pg)
This is the main method of the add on which executes the add on.
| ||||||||||
| void | setAdvThresholdEditorName(String advThresholdEditorName) | ||||||||||
| void |
setBeanName(String name)
Sets the RW Bean name
| ||||||||||
| void | setCurrentSelectedGridKey(String gridKey) | ||||||||||
| void |
setOptimizeForUseURLForVisualizationsPreference(boolean optimizeForUseURLForVisualizationsPreference)
Whether to optimize flags if the useURLForVisualizations preference is true.
| ||||||||||
| void |
setResultFlags(int flags)
This method is deprecated.
use
setViewModeFlags(String)
| ||||||||||
| void | setUseTerseElementIDs(boolean useTerse) | ||||||||||
| void |
setViewMode(int viewMode)
This method is deprecated.
use
setViewModeFlags(String)
| ||||||||||
| void |
setViewModeFlags(String vmFlags)
Sets the result flags for specific view modes.
| ||||||||||
| void | setVisThresholdEditorName(String visThresholdEditorName) | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.microstrategy.web.app.addons.AbstractAppAddOn
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.microstrategy.web.app.addons.AppAddOns
| |||||||||||
This is the main method of the add on which executes the add on. This has to be a static method.
| pg | is the PageComponent. |
|---|
Sets the RW Bean name
| name | bean name |
|---|
Whether to optimize flags if the useURLForVisualizations preference is true.
The optimization removes the DssXmlResultGrid result flag.
Default is true.
The optimization only applies to flags set at the document level.
| optimizeForUseURLForVisualizationsPreference | whether to optimize flags if the useURLForVisualizations preference is true. . |
|---|
This method is deprecated.
use setViewModeFlags(String)
Sets the result flags to set
| flags | the result flags to set |
|---|
This method is deprecated.
use setViewModeFlags(String)
Sets the View Mode to set the flags for
| viewMode | bean the View Mode to set the flags for |
|---|
Sets the result flags for specific view modes.
The format must be:
"viewMode:flags,viewMode2:flags2"