Class NavigableMenu
java.lang.Object
com.broadleafcommerce.menu.domain.Menu
com.broadleafcommerce.menu.domain.NavigableMenu
- 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 with their ownsubmenus
populated.int
hashCode()
void
initializeFromMenu
(@NonNull Menu menu) void
setSubmenu
(List<NavigableMenuItem> submenu) A list of the direct children of this menu with their ownsubmenus
populated.toString()
Methods inherited from class com.broadleafcommerce.menu.domain.Menu
getContextState, getId, getLabel, getName, setContextState, setId, setLabel, setName