Package de.uplanet.lucy.server.menu.rt
Class AbstractContainerMenuItem
java.lang.Object
de.uplanet.lucy.server.menu.rt.AbstractMenuItem
de.uplanet.lucy.server.menu.rt.AbstractContainerMenuItem
- Direct Known Subclasses:
- CmsMenuItem,- ContainerMenuItem,- RootMenuItem,- TopLevelGroupMenuItem
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionchildren()Get the children of this menu item.intGet the number of children of this node.getDescendantOrSelf(String p_strId) Get the menu item with the specified unique identifier from this subtree.booleanCheck if this menu item has children.booleanMethods inherited from class de.uplanet.lucy.server.menu.rt.AbstractMenuItemclone, getGuid, getLevel, getLevelRelative, getName, getNames, getNextSibling, getParent, getPreviousSibling, getProperties, getProperty, hasName, hasParent, hasProperty, isApplicationMenuItem, isCmsMenuItem, isContainerMenuItem, isFirstChild, isLastChild, isLinkMenuItem, isRootMenuItem, isSeparatorMenuItem, isTopLevelGroupMenuItem
- 
Constructor Details- 
AbstractContainerMenuItem
 
- 
- 
Method Details- 
hasChildrenpublic boolean hasChildren()Description copied from interface:IMenuItemCheck if this menu item has children.- Returns:
- trueif this menu item has children, or- falseotherwise.
 
- 
hasContainerChildrenpublic boolean hasContainerChildren()
- 
getChildrenCountpublic int getChildrenCount()Description copied from interface:IMenuItemGet the number of children of this node.- Returns:
- The number of children.
 
- 
childrenDescription copied from interface:IMenuItemGet the children of this menu item. If the menu item has no children, an empty array is returned.- Returns:
- The children of this menu item (never null).
 
- 
getDescendantOrSelfDescription copied from interface:IMenuItemGet the menu item with the specified unique identifier from this subtree.- Parameters:
- p_strId- The menu item's unique identifier.
- Returns:
- The menu item with the given unique identifier, or
    nullif the menu item does not exist in this subtree.
 
 
-