Interface Menu

All Superinterfaces:
org.broadleafcommerce.common.copy.MultiTenantCloneable<Menu>, Serializable
All Known Implementing Classes:
MenuImpl

public interface Menu extends Serializable, org.broadleafcommerce.common.copy.MultiTenantCloneable<Menu>
Represents a menu, typically to drive the display of navigation on a website.
Author:
bpolster
  • Method Summary

    Modifier and Type
    Method
    Description
    Internal id of the menu.
    Returns the list of associated MenuItems
    Returns the name of the menu.
    void
    setId(Long id)
    Sets the id of the menu.
    void
    Sets the list of associated MenuItems
    void
    Sets the name of the menu.

    Methods inherited from interface org.broadleafcommerce.common.copy.MultiTenantCloneable

    createOrRetrieveCopyInstance
  • Method Details

    • getId

      Long getId()
      Internal id of the menu.
      Returns:
    • setId

      void setId(Long id)
      Sets the id of the menu.
      Parameters:
      id -
    • getName

      String getName()
      Returns the name of the menu.
      Returns:
    • setName

      void setName(String name)
      Sets the name of the menu.
      Parameters:
      name -
    • getMenuItems

      List<MenuItem> getMenuItems()
      Returns the list of associated MenuItems
      Returns:
      the featured products
    • setMenuItems

      void setMenuItems(@Nonnull List<MenuItem> menuItems)
      Sets the list of associated MenuItems