public interface MenuElement extends Serializable
Modifier and Type | Field and Description |
---|---|
static String |
MENU_ELEMENT_TYPE
MENU_ELEMENT_TYPE - element type of menu elements
|
static String |
OPTION_ELEMENT_TYPE
OPTION_ELEMENT_TYPE - element type of menu elements
|
static String |
SEPARATOR_ELEMENT_TYPE
SEPARATOR_ELEMENT_TYPE - element type of separator elements
|
Modifier and Type | Method and Description |
---|---|
String |
getElementType()
getElementType - get type of menu element
|
Node |
getManagedNode()
getManagedNode - get underlying managed concrete Node
associated with menu element; note that the
node returned is not necessarily deterministic
if the mapping of profiled folders, pages,
and links is not mapped 1:1
|
GenericMetadata |
getMetadata()
getMetadata - get generic metadata for menu element
|
Node |
getNode()
getNode - get Node proxy from site view associated with element
|
Menu |
getParentMenu()
getParentMenu - get menu that contains menu element
|
String |
getShortTitle()
getShortTitle - get default short title for menu element
|
String |
getShortTitle(Locale locale)
getShortTitle - get locale specific short title for menu
element from metadata
|
String |
getSkin()
getSkin - get skin name for menu element
|
String |
getTitle()
getTitle - get default title for menu element
|
String |
getTitle(Locale locale)
getTitle - get locale specific title for menu element
from metadata
|
boolean |
isEditable()
isEditable - get editable access flag for menu option
|
static final String MENU_ELEMENT_TYPE
static final String OPTION_ELEMENT_TYPE
static final String SEPARATOR_ELEMENT_TYPE
String getElementType()
Menu getParentMenu()
String getTitle()
String getShortTitle()
String getTitle(Locale locale)
locale
- preferred localeString getShortTitle(Locale locale)
locale
- preferred localeGenericMetadata getMetadata()
String getSkin()
boolean isEditable()
Node getNode()
Node getManagedNode()
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.