Package com.microstrategy.web.objects
Interface WebBrowsePath
-
- All Superinterfaces:
EnumWebPersistableState,Persistable
public interface WebBrowsePath extends Persistable
A browse path is a collection ofWebBrowseHierarchyIteminstances.- Since:
- MicroStrategy Web 9.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceWebBrowsePath.WebBrowsePathObserver
-
Field Summary
-
Fields inherited from interface com.microstrategy.utils.serialization.EnumWebPersistableState
BARE_MINIMAL_STATE_INFO, MAXIMAL_STATE_INFO, MINIMAL_STATE_INFO, TYPICAL_STATE_INFO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebBrowseHierarchyItemadd(java.lang.String attrID)Appends attribute to the end of the browse path.WebElementaddElement(java.lang.String elemID, java.lang.String elemName, java.lang.String attrID)Adds an element to the browse path.voidaddObserver(WebBrowsePath.WebBrowsePathObserver observer)voidaddToFilter(WebExpression exp)WebBrowseHierarchyItembrowseToHierarchyItem(java.lang.String attrID)Adds an attribute to the browse path.voidclear()Clears the current browse path.voidclearObservers()WebBrowseHierarchyItemfind(java.lang.String attrID)Does a search starting from the end of this browse path for theWebBrowseHierarchyItemidentified by the given attribute ID parameter.java.util.List<WebBrowseHierarchyItem>getBrowseHierarchyItems()Returns a collection ofWebBrowseHierarchyIteminstances corresponding to the path browsed.WebDimensiongetDimension()voidremoveObserver(WebBrowsePath.WebBrowsePathObserver observer)voidsetDimension(WebDimension dimension)-
Methods inherited from interface com.microstrategy.utils.serialization.Persistable
restoreState, restoreState, saveState, saveState, saveState, saveState
-
-
-
-
Method Detail
-
setDimension
void setDimension(WebDimension dimension)
-
getDimension
WebDimension getDimension()
-
getBrowseHierarchyItems
java.util.List<WebBrowseHierarchyItem> getBrowseHierarchyItems()
Returns a collection ofWebBrowseHierarchyIteminstances corresponding to the path browsed.- Returns:
- collection of
WebBrowseHierarchyIteminstances.
-
clear
void clear()
Clears the current browse path.
-
addElement
WebElement addElement(java.lang.String elemID, java.lang.String elemName, java.lang.String attrID)
Adds an element to the browse path. Null is returned if no matching attribute is found on the path.- Parameters:
elemID- the element ID.elemName- element name.attrID- attribute associated with element.- Returns:
- the associated browse element instance.
-
browseToHierarchyItem
WebBrowseHierarchyItem browseToHierarchyItem(java.lang.String attrID)
Adds an attribute to the browse path. If the attribute already exists ingetBrowseHierarchyItems()then an existing one is returned.- Parameters:
attrID- the attribute ID.- Returns:
- the associated browse attribute instance.
-
add
WebBrowseHierarchyItem add(java.lang.String attrID)
Appends attribute to the end of the browse path.- Parameters:
attrID- the attribute ID.- Returns:
- the corresponding
WebBrowseHierarchyItem.
-
find
WebBrowseHierarchyItem find(java.lang.String attrID)
Does a search starting from the end of this browse path for theWebBrowseHierarchyItemidentified by the given attribute ID parameter.- Parameters:
attrID- attribute ID- Returns:
WebBrowseHierarchyItemcorresponding to the attribute ID, null if not in the path.
-
addToFilter
void addToFilter(WebExpression exp)
- Parameters:
exp- adds this browse path to the expression filter.
-
addObserver
void addObserver(WebBrowsePath.WebBrowsePathObserver observer)
- Parameters:
observer- object interested in changes to thisWebBrowsePath- See Also:
WebBrowsePath.WebBrowsePathObserver.update(WebBrowsePath)
-
removeObserver
void removeObserver(WebBrowsePath.WebBrowsePathObserver observer)
-
clearObservers
void clearObservers()
-
-