com.microstrategy.web.app.beans.FormulaBarBean |
The FormulaBarBean is representing the formular bar for a report page. It's a subcomponent of ReportFrameBean. It can change alias for attributes or metrics, change formula for metrics, add derived metrics.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract boolean |
allowInsertNewMetric()
Check to see if the user is allowed to insert new metric.
| ||||||||||
abstract String |
getActiveAlias()
return the active name.
| ||||||||||
abstract TemplateElement |
getActiveElement()
Returns the active template element.
| ||||||||||
abstract int | getActiveElementIndex() | ||||||||||
abstract String |
getActiveFormula()
return the active formula.
| ||||||||||
abstract String |
getActiveUserMetricId()
Returns the active User Metric Id.
| ||||||||||
abstract Boolean |
getAggFromBase()
return Aggregate from Base flag.
| ||||||||||
abstract int | getDMMode() | ||||||||||
abstract boolean |
getDynamicAliasFlag()
return the dynamic alias flag.
| ||||||||||
abstract String |
getErrorMessage()
Indicates an error description when processing FormularBar events.
| ||||||||||
abstract ArrayList |
getMetricsList()
This method is deprecated.
The metrics list can be obtained from the working set.
| ||||||||||
abstract String[][] |
getTemplateElementsArray()
This method is deprecated.
the element array can be obtained using the
getTemplateElementsList()
method.
| ||||||||||
abstract boolean | isPassThrough() | ||||||||||
abstract void |
setActiveAlias(String activeAlias)
Set the active name.
| ||||||||||
abstract void |
setActiveElementIndex(int activeElementIndex)
Set the Active element index.
| ||||||||||
abstract void |
setActiveFormula(String activeFormula)
Set the active formula.
| ||||||||||
abstract void |
setActiveUserMetricId(String activeUserMetricId)
Set the active User Metric Id.
| ||||||||||
abstract void |
setAggFromBase(Boolean aggFromBase)
Set Aggregate from Base flag.
| ||||||||||
abstract void |
setDynamicAliasFlag(boolean dynamicAliasFlag)
Set the dynamic alias flag.
| ||||||||||
abstract void |
setErrorMessage(String errMssg)
Specify an error description when processing FormularBar events.
| ||||||||||
abstract void | setPassThrough(boolean value) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Check to see if the user is allowed to insert new metric.
return the active name. It's used to pre-fill the textbox for the Alias textbox.
Returns the active template element.
return the active formula. It's used to pre-fill the textbox for the formula textbox.
Returns the active User Metric Id.
return Aggregate from Base flag.
return the dynamic alias flag. It's used to pre-fill the dynamic alias checkbox.
Indicates an error description when processing FormularBar events.
This method is deprecated.
The metrics list can be obtained from the working set.
Returns the list of metrics in the working set
This method is deprecated.
the element array can be obtained using the getTemplateElementsList()
method.
Returns list of elements in template.
Set the active name. It's used to pre-fill the textbox for the Alias textbox.
activeAlias | the alias in String format |
---|
Set the Active element index. It's used to pre-select an item in the template elements list
activeElementIndex | the active element index |
---|
Set the active formula. It's used to pre-fill the textbox for the Formula textbox.
activeFormula | the formula in String format |
---|
Set the active User Metric Id.
It's used for indicating which User Metric was selected.
activeUserMetricId | The specific User Metric Id to set as active. |
---|
Set Aggregate from Base flag.
aggFromBase | the Aggregate from Base flag |
---|
Set the dynamic alias flag. It's used to pre-fill the dynamic alias checkbox.
dynamicAliasFlag | the alias flag in boolean format |
---|
Specify an error description when processing FormularBar events.
errMssg | Localized error message. |
---|