com.microstrategy.web.objects.rw.RWDataSets |
Represents a collection of document data sets
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract boolean |
canRemove(String id)
Returns true if dataset with specified ID exists and there is no
any fields referring to this data set
| ||||||||||
abstract void |
clear()
Removes all data sets from the collection
| ||||||||||
abstract boolean |
containsKey(String key)
Returns true if data set with specified key exists in the collection
| ||||||||||
abstract RWDataSet |
get(int i)
Returns i-th data set
| ||||||||||
abstract KeyedList<RWDataSetItem> | getAllItems() | ||||||||||
abstract RWUserAttributes |
getAllUserAttributes()
Returns a collection of user attributes from all data sets.
| ||||||||||
abstract RWUserDEObjects | getAllUserDEObjects() | ||||||||||
abstract RWUserMetrics |
getAllUserMetrics()
Returns a collection of user metrics from all data sets.
| ||||||||||
abstract RWDataSet |
getByKey(String key)
Returns data set with specified key
| ||||||||||
abstract RWDataSet |
getDefault()
Returns the default RWDataSet.
| ||||||||||
abstract String |
getItemAlias(String objectID)
Returns the alias of object
| ||||||||||
abstract RWDataSet |
getJoinedDataSet()
Returns a virtual data set representing a join of all document data sets
| ||||||||||
abstract RWDataSet |
remove(String _id)
Removes data set from the collection
| ||||||||||
abstract RWDataSet |
remove(String _id, boolean _enforce)
Removes data set from the collection.
| ||||||||||
abstract RWDataSet |
setDefault(String id)
Makes specified data set a default one.
| ||||||||||
abstract int |
size()
Returns a number of data sets in the collections
|
Returns true if dataset with specified ID exists and there is no any fields referring to this data set
id | data set ID |
---|
IllegalArgumentException | if collection does not contain dataset with specified ID |
---|
Removes all data sets from the collection
Returns true if data set with specified key exists in the collection
key | data set key |
---|
Returns a collection of user attributes from all data sets.
WebObjectsException |
---|
Returns a collection of user metrics from all data sets.
WebObjectsException |
---|
Returns data set with specified key
key | data set key |
---|
Returns the alias of object
objectID | the ID of object |
---|
WebObjectsException |
---|
Returns a virtual data set representing a join of all document data sets
Removes data set from the collection
_id | data set ID |
---|
WebObjectsException |
---|
Removes data set from the collection. If the _enforce flag is true the data set will be removed even if there are some fields referring to this data set. In this case all fields referring to this data set will be removed too. If the _enforce flag is false then the WebObjectsException will be thrown if ther are fields referring to this data set
_id | data set ID |
---|---|
_enforce | flag indicating whether to remove data set if there are fields referring to it. |
WebObjectsException | if there are fields referring to this data set and _enforce flag is false. |
---|
Makes specified data set a default one.
id | new default data set ID |
---|
Returns a number of data sets in the collections