Class MenuImpl

java.lang.Object
org.broadleafcommerce.menu.domain.MenuImpl
All Implemented Interfaces:
Serializable, org.broadleafcommerce.common.admin.domain.AdminMainEntity, org.broadleafcommerce.common.copy.MultiTenantCloneable<Menu>, org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity, Menu

@Entity public class MenuImpl extends Object implements Menu, org.broadleafcommerce.common.admin.domain.AdminMainEntity, org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity
See Also:
  • Field Details

  • Constructor Details

    • MenuImpl

      public MenuImpl()
  • Method Details

    • getId

      public Long getId()
      Description copied from interface: Menu
      Internal id of the menu.
      Specified by:
      getId in interface Menu
      Returns:
    • setId

      public void setId(Long id)
      Description copied from interface: Menu
      Sets the id of the menu.
      Specified by:
      setId in interface Menu
    • getName

      public String getName()
      Description copied from interface: Menu
      Returns the name of the menu.
      Specified by:
      getName in interface Menu
      Returns:
    • setName

      public void setName(String name)
      Description copied from interface: Menu
      Sets the name of the menu.
      Specified by:
      setName in interface Menu
    • getMenuItems

      public List<MenuItem> getMenuItems()
      Description copied from interface: Menu
      Returns the list of associated MenuItems
      Specified by:
      getMenuItems in interface Menu
      Returns:
      the featured products
    • setMenuItems

      public void setMenuItems(List<MenuItem> menuItems)
      Description copied from interface: Menu
      Sets the list of associated MenuItems
      Specified by:
      setMenuItems in interface Menu
    • getMainEntityName

      public String getMainEntityName()
      Specified by:
      getMainEntityName in interface org.broadleafcommerce.common.admin.domain.AdminMainEntity
    • createOrRetrieveCopyInstance

      public <G extends Menu> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException
      Specified by:
      createOrRetrieveCopyInstance in interface org.broadleafcommerce.common.copy.MultiTenantCloneable<Menu>
      Throws:
      CloneNotSupportedException