Class PropertyDrivenNavMenuItem
- All Implemented Interfaces:
Serializable
- Since:
- Admin Navigation 3.0.0, Release Train 3.0.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe order in which this item should be displayed relative to its siblings in the navigation tree.getIcon()The font class to apply to thelabelof the menu item when it is displayed.getId()The context ID of the menu item.getLabel()The user-visible label for this menu item.The context ID of the menu item this menu item should be under.Controls whether all or any predicates must match.The list of predicates to evaluate for this menu item.Controls whether all or any scopes must match.The security scopes required to view this menu item.The submenu items for this menu item.getUrl()The url that is visited when the menu item is clicked.inthashCode()voidsetDisplayOrder(Long displayOrder) The order in which this item should be displayed relative to its siblings in the navigation tree.voidThe font class to apply to thelabelof the menu item when it is displayed.voidThe context ID of the menu item.voidThe user-visible label for this menu item.voidsetParentMenuItemId(String parentMenuItemId) The context ID of the menu item this menu item should be under.voidsetPredicateMatchType(String predicateMatchType) Controls whether all or any predicates must match.voidsetPredicates(List<NavigationPredicate> predicates) The list of predicates to evaluate for this menu item.voidsetScopeMatchType(String scopeMatchType) Controls whether all or any scopes must match.voidThe security scopes required to view this menu item.voidsetSubmenu(List<PropertyDrivenNavMenuItem> submenu) The submenu items for this menu item.voidThe url that is visited when the menu item is clicked.toString()
-
Constructor Details
-
PropertyDrivenNavMenuItem
public PropertyDrivenNavMenuItem()
-
-
Method Details
-
getId
The context ID of the menu item. -
getParentMenuItemId
The context ID of the menu item this menu item should be under.This is optional, as menu items don't have to be under another menu item. If this value is not set, this menu item will be a top level menu-item.
If this value is set, then this menu item will appear directly under the specified menu item, however deep that parent menu item is in the overall navigation tree.
-
getLabel
The user-visible label for this menu item.This can be a key into a message bundle for internationalization.
- See Also:
-
getUrl
The url that is visited when the menu item is clicked. -
getDisplayOrder
The order in which this item should be displayed relative to its siblings in the navigation tree. -
getIcon
The font class to apply to thelabelof the menu item when it is displayed.This field is optional.
- See Also:
-
getScopes
The security scopes required to view this menu item. -
getScopeMatchType
Controls whether all or any scopes must match. Default is "ANY". -
getPredicates
The list of predicates to evaluate for this menu item. -
getPredicateMatchType
Controls whether all or any predicates must match. Default is "ALL". -
setId
The context ID of the menu item. -
setParentMenuItemId
The context ID of the menu item this menu item should be under.This is optional, as menu items don't have to be under another menu item. If this value is not set, this menu item will be a top level menu-item.
If this value is set, then this menu item will appear directly under the specified menu item, however deep that parent menu item is in the overall navigation tree.
-
setLabel
The user-visible label for this menu item.This can be a key into a message bundle for internationalization.
- See Also:
-
setUrl
The url that is visited when the menu item is clicked. -
setDisplayOrder
The order in which this item should be displayed relative to its siblings in the navigation tree. -
setIcon
The font class to apply to thelabelof the menu item when it is displayed.This field is optional.
- See Also:
-
setScopes
The security scopes required to view this menu item. -
setScopeMatchType
Controls whether all or any scopes must match. Default is "ANY". -
setPredicates
The list of predicates to evaluate for this menu item. -
setPredicateMatchType
Controls whether all or any predicates must match. Default is "ALL". -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-