| com.microstrategy.web.objects.WebViewInstance |
Known Indirect Subclasses
|
The WebViewInstance encapsulates a template, the
grid, graph data and properties associated with it.
The WebViewInstance cannot exist on its own accord -
only as part of the following objects:
WebReportInstance.
This interface extends the WebViewInstance
since all reports have an underlying template.getValue() (tentative,
and subject to changes).
A WebViewInstance is returned if the unit type is
RWUNIT_GRIDGRAPH.getViewInstance()
(tentative, and subject to changes).
Unlike the instance returned from the RWObject, the
WebViewInstance returned here is tied to the template
via the RWDefinition, and
contains no grid/graph data. This representation is useful in
design mode.| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract WebDerivedElements | getDerivedElements(WebAttribute attribute) | ||||||||||
| abstract WebDrillInstance |
getDrillInstance()
Returns the | ||||||||||
| abstract WebGraph |
getGraphObject()
Returns the | ||||||||||
| abstract WebGridData |
getGridData()
Returns the | ||||||||||
| abstract WebGridWidths |
getGridWidths()
Returns a collection describing the various column widths of the underlying grid. | ||||||||||
| abstract WebExpression | getLimitSummary(int flags) | ||||||||||
| abstract WebTemplate |
getTemplate()
Returns the | ||||||||||
| abstract WebPropertySet |
getTemplatePropertySet(String propertySetName)
Returns the | ||||||||||
| abstract SimpleList |
getTemplatePropertySetFilter()
Returns an editable property set filter correponding to main template object properties. | ||||||||||
| abstract WebPropertyGroup |
getTemplatePropertySets()
Returns all the property sets in a | ||||||||||
| abstract WebVisualizationSettings | getVisualizationSettings() | ||||||||||
| abstract WebWorkingSet |
getWorkingSet()
Returns the | ||||||||||
| abstract boolean | isReadOnly() | ||||||||||
| abstract void |
setDefaultForTemplateProperty(String propertySetName, String propertyName)
Sets the value for the given property to be the default value for the property.
| ||||||||||
| abstract void |
setTemplateProperty(String propertySetName, String propertyName, String propertyValue)
Sets the value of a specific property. | ||||||||||
| abstract Boolean |
shouldAppendCSS()
Returns whether the CSS provided in this view's XML was partial and should be appended
to the current CSS.
| ||||||||||
| IllegalArgumentException | |
|---|---|
| UnsupportedOperationException | |
| WebObjectsException |
Returns the WebDrillInstance associated with this view.
| WebObjectsException | if there is a problem retrieving drill data |
|---|
Returns the WebGraph associated with this view.
| WebObjectsException | if there is a problem retrieving graph data |
|---|
Returns the WebGridData associated with this view.
| WebObjectsException | if there is a problem retrieving grid data |
|---|
Returns a collection describing the various column widths of the underlying grid.
| WebObjectsException | if there is a problem retrieving the grid column widths |
|---|
Returns the WebTemplate associated with this view.
| WebObjectsException | if there is a problem retrieving the template |
|---|
Returns the WebPropertySet with the given name.
| propertySetName | name of the property set to retrieve |
|---|
| WebObjectsException | if there is a problem retrieving the property set |
|---|---|
| IllegalArgumentException | if the name is empty, or no corresponding WebPropertySet exists
|
Returns an editable property set filter correponding to main template object properties.
Returns all the property sets in a WebPropertyGroup corresponding to
the main template object.
| WebObjectsException | if there is a problem retrieving the property sets |
|---|
Returns the WebWorkingSet associated with this grid/graph object.
| WebObjectsException | if there is a problem retrieving the working set |
|---|
Sets the value for the given property to be the default value for the property.
| propertySetName | the name of the property set which contains the property to change |
|---|---|
| propertyName | the name of the property to change |
| IllegalArgumentException | if the property set name or property name is empty or does not exist |
|---|---|
| WebObjectsException | if an error occurs when setting the property value |
Sets the value of a specific property.
| propertySetName | the property set name |
|---|---|
| propertyName | the property name |
| propertyValue | the property value |
| WebObjectsException | if there is a problem setting the new value |
|---|---|
| IllegalArgumentException | if no property set name or property name is specified, or they don't exist |
Returns whether the CSS provided in this view's XML was partial and should be appended to the current CSS. If no CSS is available, then null is returned.