Class NavigableNavMenuItem
java.lang.Object
com.broadleafcommerce.adminnavigation.domain.NavMenuItem
com.broadleafcommerce.adminnavigation.domain.NavigableNavMenuItem
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.ContextStateAware
,Serializable
This DTO is purely a concept used in the endpoint responsible for returning the navigation tree
of a menu. This class and its fields are not persisted and are purely intended for this
very specific use-case.
- Author:
- Samarth Dhruva (samarthd)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
A list of the direct children of this menu item with their ownsubmenus
populated.int
hashCode()
void
setSubmenu
(List<NavigableNavMenuItem> submenu) A list of the direct children of this menu item with their ownsubmenus
populated.toString()
Methods inherited from class com.broadleafcommerce.adminnavigation.domain.NavMenuItem
getContextState, getDisplayOrder, getIcon, getId, getLabel, getParentMenuItemId, getUrl, setContextState, setDisplayOrder, setIcon, setId, setLabel, setParentMenuItemId, setUrl
-
Constructor Details
-
Method Details
-
equals
- Overrides:
equals
in classNavMenuItem
-
canEqual
- Overrides:
canEqual
in classNavMenuItem
-
hashCode
public int hashCode()- Overrides:
hashCode
in classNavMenuItem
-
toString
- Overrides:
toString
in classNavMenuItem
-