com.microstrategy.web.objects.WebMDXCubeSource |
The WebMDXCubeSource interface is the entry point interface to the cube and cube object browsing functionality. The methods on this interface can be used to browse specific parts of the cube or cube object hierarchy and the whole hierarchy.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract WebMDXDisplayUnit |
getCompoundMetrics(WebTable table)
This method will return the compound metrics display unit that is associated with the given cube.
| ||||||||||
abstract WebMDXCatalog |
getMDXCatalog(WebDBRole role, String name)
This method will return the
WebMDXCatalog object associated with the given role and catalog name. | ||||||||||
abstract WebMDXCube |
getMDXCube(WebTable table)
This method will return the
WebMDXCube object associated with the given cube. | ||||||||||
abstract WebMDXDisplayUnit |
getMDXDimension(WebTable table, WebDimension dimension)
This method will return the MDX dimension that corresponds to the given
WebDimension and the cube identified by the given WebTable . | ||||||||||
abstract WebMDXDisplayUnit |
getMDXHierarchy(WebTable table, WebDimension hierarchy)
This method will return the MDX hierarchy that corresponds to the given
WebDimension object that identifies the hierarchy. | ||||||||||
abstract WebMDXSource |
getMDXSource(WebDBRole role)
Returns the
WebMDXSource object corresponding to the given DBRole. | ||||||||||
abstract WebMDXSources |
getMDXSources()
This method will return a collection of sources of MDX cubes.
| ||||||||||
abstract WebMDXDisplayUnit |
getMetricFolder(WebTable table, String path)
Gets metric folder.
| ||||||||||
abstract WebMDXDisplayUnit |
getMetrics(WebTable table)
This method will return the metrics dimension that is associated with the given cube.
| ||||||||||
abstract int | getTableExtraInformation() | ||||||||||
abstract void |
populateObject(WebObjectInfo object, WebTable cube)
Populates the given object in the context of the given cube.
| ||||||||||
abstract void |
populateObject(WebObjectInfo object, String dataSourceXML)
Populates the given object in the context of the given data source xml.
| ||||||||||
abstract void | setTableExtraInformation(int i) |
This method will return the compound metrics display unit that is associated with the given cube.
table | The WebTable object that identifies the cube. |
---|
WebMDXDisplayUnit
object corresponding to the user metrics collection. This will be
a MDX Display Unit and its children will be metrics.WebObjectsException | Thrown if the metrics dimension's contents cannot be retrieved. |
---|
This method will return the WebMDXCatalog
object associated with the given role and catalog name.
role | The WebDBRole object that identifies the MDX source. |
---|---|
name | The name of the catalog. |
WebMDXCatalog
object corresponding to the given role and catalog name.WebObjectsException | Thrown if the catalog cannot be retrieved. |
---|
This method will return the WebMDXCube
object associated with the given cube. This object can be used to browse the cube's contents.
table | The WebTable object identifying the cube to be retrieved. |
---|
WebMDXCube
object corresponding to the given WebTable
object.WebObjectsException | Thrown if the cube's contents cannot be retrieved. |
---|
This method will return the MDX dimension that corresponds to the given WebDimension
and the cube identified by the given WebTable
.
This WebMDXDisplayUnit
can be used to view the children of the dimension. If the dimension is null, then
the metrics dimension will be returned.
table | The WebTable object that identifies the cube. |
---|---|
dimension | The WebDimension object that identifies the MDX dimension. |
WebMDXDisplayUnit
object corresponding to the dimension.WebObjectsException | Thrown if the dimension's contents cannot be retrieved. |
---|
This method will return the MDX hierarchy that corresponds to the given WebDimension
object that identifies the hierarchy. Note that
the MDX dimension is not required, since an MDX hierarchy is unique within its cube.
table | The WebTable object that identifies the MDX cube. |
---|---|
hierarchy | The WebDimension object that identifies the MDX hierarchy. |
WebMDXDisplayUnit
object corresponding to the MDX hierarchy.WebObjectsException | Thrown if the hierarchy's contents cannot be retrieved. |
---|
Returns the WebMDXSource
object corresponding to the given DBRole. This
source object will contain the catalogs within the given source.
role | The WebDBRole object that identifies the MDX source. |
---|
WebMDXSource
object corresponding to the given DBRole.WebObjectsException | Thrown if the source cannot be retrieved. |
---|
This method will return a collection of sources of MDX cubes. This is the top-level entry point into browsing for cubes.
WebMDXSources
object.WebObjectsException | Thrown if the list of sources cannot be retrieved. |
---|
Gets metric folder.
table | The WebTable object that identifies the cube. |
---|---|
path | The unit path. Conventions for the path:
|
WebMDXDisplayUnit
object corresponding to the metric folder. WebObjectsException |
---|
This method will return the metrics dimension that is associated with the given cube.
table | The WebTable object that identifies the cube. |
---|
WebMDXDisplayUnit
object corresponding to the metrics dimension. This will be
a MDX dimension with no WebDimension object associated with it and its children will be metrics and the compound metric collection.WebObjectsException | Thrown if the metrics dimension's contents cannot be retrieved. |
---|
See EnumDSSXMLTableExtraInformation
. Default is DssTableExtraInformationDefault
.
Populates the given object in the context of the given cube.
object | The object to populate. |
---|---|
cube | The WebTable object representing the cube being used to populate. |
WebObjectsException | Thrown if an error occurs fetching the information. |
---|---|
IllegalArgumentException |
Populates the given object in the context of the given data source xml.
object | The object to populate. |
---|---|
dataSourceXML | The data sources xml. |
WebObjectsException | Thrown if an error occurs fetching the information. |
---|---|
IllegalArgumentException |
i | See EnumDSSXMLTableExtraInformation . Default is DssTableExtraInformationDefault .
|
---|