Package com.microstrategy.web.beans
Interface HighlightedObjects
- 
 public interface HighlightedObjectsThis interface is a typical collection interface ofHighlightedObject.- Since:
- MicroStrategy Web 7.3.1 or earlier
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description HighlightedObjectadd(java.lang.String objectId, int objectType)Appends a HighlightedObject into the collection.voidclear()Removes all of the HighlightedObject from the collection.booleancontains(HighlightedObject ho)Returns true if the collection contains the specified HighlightedObjectHighlightedObjectget(int index)Returns the HighlightedObject at the specified position.booleanisEmpty()Tests if this collection has no HighlightedObjectvoidremove(int index)Removes theHighlightedObjectat the specified position from the collectionbooleanremove(HighlightedObject ho)Removes the specified HighlightedObject from the collectionintsize()Returns the number of HighlightedObject in this collection
 
- 
- 
- 
Method Detail- 
addHighlightedObject add(java.lang.String objectId, int objectType) Appends a HighlightedObject into the collection.- Parameters:
- objectId- the object id of the HighlightedObject.
- objectType- the type of the HighlightedObject. It is either- EnumDSSXMLObjectTypesor- EnumWebDependentObjectType.
- Returns:
- the HighlightedObject added.
 
 - 
removeboolean remove(HighlightedObject ho) Removes the specified HighlightedObject from the collection- Parameters:
- ho- the HighlightedObject to be removed
- Returns:
- true if the collection contains the specified HighlightedObject
 
 - 
removevoid remove(int index) Removes theHighlightedObjectat the specified position from the collection- Parameters:
- index- the index to the HighlightedObject to be removed
- Throws:
- java.lang.IndexOutOfBoundsException- if the index is out of range
 
 - 
getHighlightedObject get(int index) Returns the HighlightedObject at the specified position.- Parameters:
- index- the position of a HighlightedObject in the collection
- Returns:
- the HighlightedObject at the specified position.
- Throws:
- java.lang.IndexOutOfBoundsException- if the index is out of range
 
 - 
containsboolean contains(HighlightedObject ho) Returns true if the collection contains the specified HighlightedObject- Parameters:
- ho- the HighlightedObject whose presence in this collection is to be tested
- Returns:
- true if the collection contains the specified object
 
 - 
clearvoid clear() Removes all of the HighlightedObject from the collection. This collection will be empty after this call returns.
 - 
sizeint size() Returns the number of HighlightedObject in this collection- Returns:
- the number of HighlightedObject in this collection
 
 - 
isEmptyboolean isEmpty() Tests if this collection has no HighlightedObject- Returns:
- true if this colleciton has no HighlightedObject
 
 
- 
 
-