Package de.uplanet.lucy.server.menu.rt
Class ApplicationMenuItem
- java.lang.Object
-
- de.uplanet.lucy.server.menu.rt.AbstractMenuItem
-
- de.uplanet.lucy.server.menu.rt.ApplicationMenuItem
-
public final class ApplicationMenuItem extends AbstractMenuItem
-
-
Constructor Summary
Constructors Constructor Description ApplicationMenuItem(String p_strId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IMenuItem[]children()Get the children of this menu item.ApplicationMenuItemclone()StringgetApplicationGuid()intgetChildrenCount()Get the number of children of this node.IMenuItemgetDescendantOrSelf(String p_strId)Get the menu item with the specified unique identifier from this subtree.StringgetPageGuid()booleanhasChildren()Check if this menu item has children.booleanisApplicationMenuItem()Indicates if this menu item is an application menu item.booleanisOpenNewWindow()-
Methods inherited from class de.uplanet.lucy.server.menu.rt.AbstractMenuItem
getGuid, getLevel, getLevelRelative, getName, getNames, getNextSibling, getParent, getPreviousSibling, getProperties, getProperty, hasName, hasParent, hasProperty, isCmsMenuItem, isContainerMenuItem, isFirstChild, isLastChild, isLinkMenuItem, isRootMenuItem, isSeparatorMenuItem, isTopLevelGroupMenuItem
-
-
-
-
Constructor Detail
-
ApplicationMenuItem
public ApplicationMenuItem(String p_strId)
-
-
Method Detail
-
clone
public ApplicationMenuItem clone()
- Specified by:
clonein classAbstractMenuItem
-
isApplicationMenuItem
public boolean isApplicationMenuItem()
Description copied from interface:IMenuItemIndicates if this menu item is an application menu item.- Specified by:
isApplicationMenuItemin interfaceIMenuItem- Overrides:
isApplicationMenuItemin classAbstractMenuItem- Returns:
- Always
true.
-
getApplicationGuid
public String getApplicationGuid()
-
getPageGuid
public String getPageGuid()
-
isOpenNewWindow
public boolean isOpenNewWindow()
-
hasChildren
public boolean hasChildren()
Description copied from interface:IMenuItemCheck if this menu item has children.- Returns:
- Always
false.
-
getChildrenCount
public int getChildrenCount()
Description copied from interface:IMenuItemGet the number of children of this node.- Returns:
- Always
0.
-
children
public IMenuItem[] children()
Description copied from interface:IMenuItemGet the children of this menu item. If the menu item has no children, an empty array is returned.- Returns:
- Always an empty array.
-
getDescendantOrSelf
public IMenuItem getDescendantOrSelf(String p_strId)
Description 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.
-
-