Package de.uplanet.lucy.server.menu.rt
Klasse AbstractMenuItem
java.lang.Object
de.uplanet.lucy.server.menu.rt.AbstractMenuItem
- Bekannte direkte Unterklassen:
AbstractContainerMenuItem,ApplicationMenuItem,LinkMenuItem,SeparatorMenuItem
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract AbstractMenuItemclone()getGuid()Get the menu item's unique identifier.intgetLevel()Get the level of this menu item.intgetLevelRelative(IMenuItem p_menuItem) Get the level of this menu item relative to the given menu item.Get the name of this menu item in the specified language.getNames()Get the menu item's language dependent names.Get the next sibling of this menu item.Get the parent of this menu item.Get the previous sibling of this menu item.Get the menu item's properties.getProperty(String p_strName) Get the value of the given propertybooleanTest if this menu item has a name in the specified language.booleanIndicates if this menu item has a parent.booleanhasProperty(String p_strLang) Test if this menu item has the given property.booleanIndicates if this menu item is an application menu item.booleanIndicates if this menu item is a CMS menu item.booleanIndicates if this menu item is a container.booleanCheck if this menu item is the first child of it's parent.booleanCheck if this menu item is the last child of it's parent.booleanIndicates if this menu item is a link menu item.booleanIndicates if this is the root menu item.booleanIndicates if this menu item is a separator.booleanIndicates if this menu item is a top-level group.Von Klasse geerbte Methoden java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden de.uplanet.lucy.server.menu.rt.IMenuItem
children, getChildrenCount, getDescendantOrSelf, hasChildren
-
Konstruktordetails
-
AbstractMenuItem
-
-
Methodendetails
-
clone
-
getGuid
Beschreibung aus Schnittstelle kopiert:IMenuItemGet the menu item's unique identifier. -
isRootMenuItem
public boolean isRootMenuItem()Beschreibung aus Schnittstelle kopiert:IMenuItemIndicates if this is the root menu item.- Angegeben von:
isRootMenuItemin SchnittstelleIMenuItem- Gibt zurück:
- Always
false.
-
isApplicationMenuItem
public boolean isApplicationMenuItem()Beschreibung aus Schnittstelle kopiert:IMenuItemIndicates if this menu item is an application menu item.- Angegeben von:
isApplicationMenuItemin SchnittstelleIMenuItem- Gibt zurück:
- Always
false.
-
isLinkMenuItem
public boolean isLinkMenuItem()Beschreibung aus Schnittstelle kopiert:IMenuItemIndicates if this menu item is a link menu item.- Angegeben von:
isLinkMenuItemin SchnittstelleIMenuItem- Gibt zurück:
- Always
false.
-
isCmsMenuItem
public boolean isCmsMenuItem()Beschreibung aus Schnittstelle kopiert:IMenuItemIndicates if this menu item is a CMS menu item.- Angegeben von:
isCmsMenuItemin SchnittstelleIMenuItem- Gibt zurück:
- Always
false.
-
isSeparatorMenuItem
public boolean isSeparatorMenuItem()Beschreibung aus Schnittstelle kopiert:IMenuItemIndicates if this menu item is a separator.- Angegeben von:
isSeparatorMenuItemin SchnittstelleIMenuItem- Gibt zurück:
- Always
false.
-
isContainerMenuItem
public boolean isContainerMenuItem()Beschreibung aus Schnittstelle kopiert:IMenuItemIndicates if this menu item is a container.- Angegeben von:
isContainerMenuItemin SchnittstelleIMenuItem- Gibt zurück:
- Always
false.
-
isTopLevelGroupMenuItem
public boolean isTopLevelGroupMenuItem()Beschreibung aus Schnittstelle kopiert:IMenuItemIndicates if this menu item is a top-level group.- Angegeben von:
isTopLevelGroupMenuItemin SchnittstelleIMenuItem- Gibt zurück:
- Always
false.
-
getLevel
public int getLevel()Beschreibung aus Schnittstelle kopiert:IMenuItemGet the level of this menu item.0for menu items that do not have a parent. -
hasParent
public boolean hasParent()Beschreibung aus Schnittstelle kopiert:IMenuItemIndicates if this menu item has a parent. -
getParent
Beschreibung aus Schnittstelle kopiert:IMenuItemGet the parent of this menu item. -
isFirstChild
public boolean isFirstChild()Beschreibung aus Schnittstelle kopiert:IMenuItemCheck if this menu item is the first child of it's parent.- Angegeben von:
isFirstChildin SchnittstelleIMenuItem- Gibt zurück:
trueif this menu item has a parent and is the first child of this parent, orfalseotherwise.
-
isLastChild
public boolean isLastChild()Beschreibung aus Schnittstelle kopiert:IMenuItemCheck if this menu item is the last child of it's parent.- Angegeben von:
isLastChildin SchnittstelleIMenuItem- Gibt zurück:
trueif this menu item has a parent and is the last child of this parent, orfalseotherwise.
-
getPreviousSibling
Beschreibung aus Schnittstelle kopiert:IMenuItemGet the previous sibling of this menu item.- Angegeben von:
getPreviousSiblingin SchnittstelleIMenuItem- Gibt zurück:
- If this menu item has a parent and this menu item is not the
first child of this parent, the previous sibling of this menu item
is returned. In all other cases the return value is
null.
-
getNextSibling
Beschreibung aus Schnittstelle kopiert:IMenuItemGet the next sibling of this menu item.- Angegeben von:
getNextSiblingin SchnittstelleIMenuItem- Gibt zurück:
- If this menu item has a parent and this menu item is not the
last child of this parent, the next sibling of this menu item
is returned. In all other cases the return value is
null.
-
hasProperty
Beschreibung aus Schnittstelle kopiert:IMenuItemTest if this menu item has the given property.- Angegeben von:
hasPropertyin SchnittstelleIMenuItem- Parameter:
p_strLang- The property name.- Gibt zurück:
trueif this menu item has the property, orfalseotherwise.
-
getProperty
Beschreibung aus Schnittstelle kopiert:IMenuItemGet the value of the given property- Angegeben von:
getPropertyin SchnittstelleIMenuItem- Parameter:
p_strName- The property name.- Gibt zurück:
- The value of the property.
-
getProperties
Beschreibung aus Schnittstelle kopiert:IMenuItemGet the menu item's properties.- Angegeben von:
getPropertiesin SchnittstelleIMenuItem- Gibt zurück:
- An immutable map of the menu item's properties,
never
null.
-
hasName
Beschreibung aus Schnittstelle kopiert:IMenuItemTest if this menu item has a name in the specified language. -
getName
Beschreibung aus Schnittstelle kopiert:IMenuItemGet the name of this menu item in the specified language. -
getNames
Beschreibung aus Schnittstelle kopiert:IMenuItemGet the menu item's language dependent names.
-