com.microstrategy.web.beans.DataExplorerBean |
The DataExplorerBean
is intended to support data explorer
browsing. The object ID of the bean should correspond to the dimension to
browse within the hierarchy. There are several ways of utilizing this bean.
setAttributeID(String)
setObjectID(String)
. Once a dimension is set,
elements()
will return a WebDisplayUnits
collection of
available top level WebBrowseHierarchyItem
attributes. Once an
attribute is selected, invoking elements()
attribute will return
available WebElements
. Setting a WebElement
via
add(String, String)
allows the next
elements()
invocation to return the next collection of
WebBrowseHierarchyItem
instances if any, and so on. The browse path
taken using the bean can be read using getBrowsePath()
. Incremental
browsing is limited to drilling up or down a hierarchy, but does not work
when drilling across or elsewhere in the hierarchy.setObjectID(String)
). The
browse destination is specified by set(WebBrowsePath)
.Both incremental and path based browsing may be used interchangeably depending on what is convenient. Incremental browsing can be more efficient since only an element or attribute needs to be specified if drilling down or up, whereas path based browsing requires a browse path to be specified. If in doubt, use path based browsing.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract WebBrowsePath |
createWebBrowsePath()
Creates a new browse path instance.
| ||||||||||
abstract WebDisplayUnits |
elements()
returns the element collection corresponding to the traversal step (browsing to elements or drillable attributes).
| ||||||||||
abstract String |
getAttributeID()
Returns the current dimension attribute set.
| ||||||||||
abstract WebBrowsePath | getBrowsePath() | ||||||||||
abstract boolean | getSearchMatchCase() | ||||||||||
abstract String | getSearchPattern() | ||||||||||
abstract void |
set(WebBrowsePath newPath)
Sets the new path to browse to.
| ||||||||||
abstract WebBrowseHierarchyItem |
setAttributeID(String attributeID)
Sets the next attribute to browse to.
| ||||||||||
abstract void |
setDataSources(String dataSources)
Sets the data sources xml that will be used for subsequent operations.
| ||||||||||
abstract void |
setSearchMatchCase(boolean match)
Sets whether the search should be performed with case sensitive.
| ||||||||||
abstract void |
setSearchPattern(String searchPattern)
sets the search pattern on the bean.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates a new browse path instance. Please ensure that the dimension
already configured on this bean (e.g. via setObjectID(String)
) before
invoking this method.
returns the element collection corresponding to the traversal step (browsing to elements or drillable attributes). Use the javadocs for the class for more details on traversal steps.
WebBeanException |
---|
Returns the current dimension attribute set.
Sets the new path to browse to. If an existing path already exists, the selected elements
of the existing path will be merged into the new path.
To create a browse path, see createWebBrowsePath()
.
newPath | a new path to browse to. |
---|
Sets the next attribute to browse to. The attribute must either be a child attribute of the current attribute (in the hierarchy that the bean corresponds to) or one of the attributes already traversed. If no attribute has been traversed, the attribute should be the root attribute in the dimension. If the attribute set is one of the traversed attributes in the hierarchy the bean rolls back itself to the attribute i.e. it sets itself up as if this was the first time the attribute was visited. Among other things, that implies clearing the previous browse path. Used for incremental browsing, but limited to drill up or down actions.
WebBrowseHierarchyItem
Sets the data sources xml that will be used for subsequent operations. Ensure this is configured before setting the dimension or browsing.
dataSources | data sources xml. |
---|
Sets whether the search should be performed with case sensitive.
match | true for case sensitive search.
|
---|
sets the search pattern on the bean. This is relevant only when filter element for the current attribute has'nt been set in the browse path.
searchPattern | search pattern |
---|