| com.microstrategy.web.objects.WebLinkItems |
Represents a collection of individual WebLinkItem objects.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract WebLinkItem |
add(WebObjectInfo[] keys)
adds a new
WebLinkItem object to this collection. | ||||||||||
| abstract void |
clear()
Resets the collection to be empty.
| ||||||||||
| abstract boolean | containsItem(WebObjectInfo[] keys) | ||||||||||
| abstract Enumeration | elements() | ||||||||||
| abstract WebLinkItem |
get(WebObjectInfo[] keys)
retrieves the
WebLinkItem based on the specific key. | ||||||||||
| abstract WebLinkItem |
get(int index)
retrives the
WebLinkItem from this collection based on the index | ||||||||||
| abstract boolean |
isEmpty()
Indicates whether the collection has any
WebLinkItem objects | ||||||||||
| abstract void |
load()
loads all the
WebLinkItem objects into this collection
If there are items already existing in the collection, then the new items are just added. | ||||||||||
| abstract void |
load(WebObjectInfo[] keys)
loads all the
WebLinkItem objects into this collection for specific key
If there are items already existing in the collection, then the new items are just added. | ||||||||||
| abstract void | remove(WebObjectInfo[] keys) | ||||||||||
| abstract void |
remove(int index)
remove a
WebLinkItem at the specific index | ||||||||||
| abstract int |
size()
Returns the size of the collection
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.microstrategy.web.objects.EditableObject
| |||||||||||
adds a new WebLinkItem object to this collection.
If the keys specified in created this item match with an existing item, then only the
properties that are explicitly written to will be saved, the others will still use default values
| keys | array with WebObjectInfo objects corresponding to the types
that go into forming that link that this object is a part of |
|---|
WebLinkItem
Resets the collection to be empty.
| keys | array with WebObjectInfo objects corresponding to the types
that go into forming that link that this object is a part of. |
|---|
retrieves the WebLinkItem based on the specific key. Returns null if this item does
not exist in the collection.
| keys | array with WebObjectInfo objects corresponding to the types
that go into forming that link that this object is a part of. |
|---|
WebLinkItem based on the specific key| WebObjectsException |
|---|
retrives the WebLinkItem from this collection based on the index
| index | valid values are from 0 to size()-1 |
|---|
WebLinkItem from this collection based on the index| IndexOutOfBoundsException | if the specified index is out of bounds |
|---|
Indicates whether the collection has any WebLinkItem objects
WebLinkItem objects
loads all the WebLinkItem objects into this collection
If there are items already existing in the collection, then the new items are just added. The
existing items are not overwritten
| WebObjectsException | if there an error reading the items from the metadata |
|---|
loads all the WebLinkItem objects into this collection for specific key
If there are items already existing in the collection, then the new items are just added. The
existing items are not overwritten
| keys | array with WebObjectInfo objects corresponding to the types
that go into forming that link that this object is a part of |
|---|
| WebObjectsException |
|---|
remove a WebLinkItem at the specific index
| index | valid values are from 0 to size()-1 |
|---|
| IndexOutOfBoundsException |
|---|
Returns the size of the collection