java.lang.Object | ||
↳ | com.microstrategy.web.app.addons.AbstractAppAddOn | |
↳ | com.microstrategy.web.app.addons.ReportSetFlagsAddOn |
Title: ReportSetFlagsAddOn.
Description: This add on takes care of setting the required result flags on the report bean. This add on acts on all the report beans on a page.
Copyright: Copyright (c) 2002
Company: Microstrategy, Inc.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ReportSetFlagsAddOn() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | getAddOnDescription() | ||||||||||
boolean | getUseTerseElementIDs() | ||||||||||
static boolean |
isCreateMode(ReportBean rb)
This method checks whether it's create mode.
| ||||||||||
static boolean |
isDesignMode(ReportBean rb)
This method checks whether it's design mode.
| ||||||||||
static boolean |
isExecuteMode(ReportBean rb)
This method checks whether it's execute mode
| ||||||||||
void |
postCollectData(PageComponent page)
Executes post collectData operations.
| ||||||||||
void |
preCollectData(PageComponent page)
This is the main method of the add on which executes the add on.
| ||||||||||
void |
setAddToInboxBeforeCollectData(boolean value)
Set to true if we want to add the message automatically to inbox before the collect data.
| ||||||||||
void | setAdvThresholdEditorName(String advThresholdEditorName) | ||||||||||
void | setEmailAlertEditorName(String emailAlertEditorName) | ||||||||||
void |
setEventOptimizationFile(String value)
Sets the location of the event based flag optimization definition file
| ||||||||||
void | setMobileAlertEditorName(String mobileAlertEditorName) | ||||||||||
void |
setPromptCreateReportStyle(String value)
Sets the name of the PromptCreateReportStyle
| ||||||||||
void |
setReportExecutionFlags(ReportBean rb, RequestKeys keys)
Sets the execution flags on the report bean.
| ||||||||||
void | setUseTerseElementIDs(boolean useTerse) | ||||||||||
void | setVisThresholdEditorName(String visThresholdEditorName) |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static void |
addToInboxAfterCollectData(ReportBean rb, Preferences prefs, RequestKeys keys)
This method adds the report to the history list only when the user clicks on the execute button if the AddToInboxBeforeCollectData is false.
| ||||||||||
void |
optimizeEvent(ReportBean rb, EventFlagList eventInfo)
optimizes the result and execution flags found in the eventOptimizationFlags.xml
| ||||||||||
void |
optimizeFlags(ReportBean rb)
optimizes the result and execution flags found in the eventOptimizationFlags.xml
| ||||||||||
static void |
setAddToInbox(ReportBean rb, Preferences prefs)
This method sets the saveToInbox on the report bean.
| ||||||||||
static void |
setReportResultFlags(ReportBean rb, Preferences prefs, boolean includeThresholdDef)
Sets the result flags on the report bean.
| ||||||||||
static void |
setReportResultFlags(ReportBean rb, Preferences prefs)
Sets the result flags on the report bean.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
This method checks whether it's create mode.
rb | the report bean |
---|
true
if in create mode
This method checks whether it's design mode.
rb | the report bean |
---|
true
if in design mode
This method checks whether it's execute mode
rb | the report bean |
---|
true
if in execute modeThis is the main method of the add on which executes the add on. This has to be a static method.
page | is the PageComponent. |
---|
Set to true if we want to add the message automatically to inbox before the collect data. If this value is set to false we will add the message automatically to inbox after the collect data only when the user chooses to view the report data. In that case the history list will never have reports which are waiting for user input (i.e: Prompted state)
value | true if we want to add the message automatically to inbox before the collect data. |
---|
Sets the location of the event based flag optimization definition file
value | name of the eventOptimizationFile |
---|
Sets the name of the PromptCreateReportStyle
value | name of the PromptCreateReportStyle |
---|
Sets the execution flags on the report bean.
rb | the report bean |
---|---|
keys | The request keys |
WebBeanException |
---|
This method adds the report to the history list only when the user clicks on the execute button if the AddToInboxBeforeCollectData is false.
rb | the report bean |
---|---|
prefs | The Preferences object |
keys | The request keys |
optimizes the result and execution flags found in the eventOptimizationFlags.xml
rb | ReportBean |
---|---|
eventInfo | EventFlagList |
optimizes the result and execution flags found in the eventOptimizationFlags.xml
rb | ReportBean |
---|
This method sets the saveToInbox on the report bean.
rb | the report bean |
---|---|
prefs | The Preferences object |
Sets the result flags on the report bean.
rb | the report bean |
---|---|
prefs | The Preferences object |
WebBeanException |
---|
Sets the result flags on the report bean.
rb | the report bean |
---|---|
prefs | The Preferences object |
WebBeanException |
---|