com.microstrategy.web.objects.rw.RWDefinition |
Represents RW report definition
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract boolean |
canToggleThresholds()
Returns true if thresholds can be toggled.
| ||||||||||
abstract RWControl |
findControl(String key)
Finds control for specified control key
| ||||||||||
abstract RWControl |
findControl(String key, boolean includeDDIC)
Finds control and data drive input control(DDIC) for specified control key
| ||||||||||
abstract RWUnitDef |
findUnit(String key)
Finds a unit with specified key in the hierarchy
| ||||||||||
abstract RWUnitDef |
findUnitAnywhere(String key)
Looks for a unit with specified key in hierarchy and in clipboard
| ||||||||||
abstract RWUnitDef[] |
findUnits(int type, String name)
This method will attempt to find all units with the given type and name in the definition's
node tree.
| ||||||||||
abstract RWUnitDef[] |
findUnitsByType(int type)
This method will attempt to find all units with the given type in the definition's
node tree.
| ||||||||||
abstract RWAttributeLinks |
getAttributeLinks()
Returns attribute links on document
| ||||||||||
abstract String | getAutoKey() | ||||||||||
abstract String |
getAutoKey(String prefix)
Returns a new unique key.
| ||||||||||
abstract RWClipboard |
getClipboard()
Returns clipboard
| ||||||||||
abstract RWUnitDef | getContentNode() | ||||||||||
abstract RWLayoutSectionDef | getCurrentLayout() | ||||||||||
abstract RWDataSets |
getDataSets()
Returns a data set collection
| ||||||||||
abstract WebFormat |
getDefaultFormat(int unitType, int formatType)
Retruns a format object for a given unit type and format type
| ||||||||||
abstract WebFormat |
getDefaultFormat(int unitType)
Returns a WebFormat object that contains only applicable properties
for specified unit type.
| ||||||||||
abstract RWDocumentViews | getDocumentViews() | ||||||||||
abstract FilterDetailsFormatting | getFilterDetailsFormatting() | ||||||||||
abstract int[] |
getFormatTypes(int unitType)
Returns a list of format types applicable to a given unit type
| ||||||||||
abstract RWGroupBys |
getGroupBys()
Returns group by collection
| ||||||||||
abstract String |
getID()
Returns the definition object DSS ID
| ||||||||||
abstract int |
getKeySeed()
Returns a value that is greater then any existing key in the definition
objects hierarchy.
| ||||||||||
abstract RWLayoutSectionDef |
getLayout(int i)
Returns a layout infor structure.
| ||||||||||
abstract int |
getLayoutCount()
Returns number of layouts in the document
| ||||||||||
abstract String |
getName()
Returns the definition object name
| ||||||||||
abstract int |
getPlaceHolderIndexSeed()
Returns a value that is greater than any existing place holder index in the
definition objects hierarchy.
| ||||||||||
abstract RWSectionDef |
getRootSection()
Returns root document definition section.
| ||||||||||
abstract RWInstance |
getRwInstance()
Returns parent instance
| ||||||||||
abstract String |
getTheme()
Returns the Theme object ID associated with the document
| ||||||||||
abstract List<TransactionElement> | getTransactionElements() | ||||||||||
abstract boolean |
hasEnabledThresholds()
Returns true if document has at least one enabled threshold
| ||||||||||
abstract boolean | hasOfflineTransaction() | ||||||||||
abstract boolean |
hasThresholds()
Returns true if document has thresholds
| ||||||||||
abstract boolean | hasULGroupBys() | ||||||||||
abstract boolean | isMultiLayout() | ||||||||||
abstract void |
setDefaultFormat(RWUnitDef unit)
Copies unit's format into corresponding control default format
| ||||||||||
abstract void |
setThresholdsEnabled(boolean value)
Enables/disables all document threshods
| ||||||||||
abstract boolean |
toggleThresholds()
If document has at list enabled threshold all threshold will be enabled,
otherwise all thresholds will be disabled
|
Returns true if thresholds can be toggled.
WebObjectsException |
---|
Finds control for specified control key
key | control key |
---|
Finds control and data drive input control(DDIC) for specified control key
key | control key |
---|---|
includeDDIC | whether to include DDIC |
Finds a unit with specified key in the hierarchy
key | unit key |
---|
Looks for a unit with specified key in hierarchy and in clipboard
key | unit key |
---|
This method will attempt to find all units with the given type and name in the definition's node tree.
type | The type of units to find, from EnumRWUnitTypes . |
---|---|
name | The name of the unit to find. |
This method will attempt to find all units with the given type in the definition's node tree.
type | The type of units to find, from EnumRWUnitTypes . |
---|
Returns attribute links on document
Returns a new unique key.
prefix | This argument is added to the key as a prefix. |
---|
Returns a data set collection
Retruns a format object for a given unit type and format type
unitType | unit type |
---|---|
formatType | format type |
Returns a WebFormat object that contains only applicable properties for specified unit type. This object shall be used only for checking which properties are applicable. The property values in this object have no meaning.
unitType | a unit type |
---|
Returns a list of format types applicable to a given unit type
unitType | unit type |
---|
Returns the definition object DSS ID
Returns a value that is greater then any existing key in the definition objects hierarchy.
Returns a layout infor structure.
i | layout index |
---|
Returns number of layouts in the document
Returns the definition object name
Returns a value that is greater than any existing place holder index in the definition objects hierarchy.
Returns root document definition section.
Returns the Theme object ID associated with the document
Returns true if document has at least one enabled threshold
WebObjectsException |
---|
Returns true if document has thresholds
WebObjectsException |
---|
Copies unit's format into corresponding control default format
unit | unit whose format will be copied |
---|
Enables/disables all document threshods
value | indicaste whether thresholds shall be anabled or disabled |
---|
WebObjectsException |
---|
If document has at list enabled threshold all threshold will be enabled, otherwise all thresholds will be disabled
WebObjectsException |
---|