@Entity public class MenuImpl extends Object implements Menu, org.broadleafcommerce.common.admin.domain.AdminMainEntity, org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
MenuImpl.Presentation |
| Modifier and Type | Field and Description |
|---|---|
protected Long |
id |
protected List<MenuItem> |
menuItems |
protected String |
name |
| Constructor and Description |
|---|
MenuImpl() |
| Modifier and Type | Method and Description |
|---|---|
<G extends Menu> |
createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) |
Long |
getId()
Internal id of the menu.
|
String |
getMainEntityName() |
List<MenuItem> |
getMenuItems()
Returns the list of associated
MenuItems |
String |
getName()
Returns the name of the menu.
|
void |
setId(Long id)
Sets the id of the menu.
|
void |
setMenuItems(List<MenuItem> menuItems)
Sets the list of associated
MenuItems |
void |
setName(String name)
Sets the name of the menu.
|
public String getName()
Menupublic void setName(String name)
Menupublic List<MenuItem> getMenuItems()
MenuMenuItemsgetMenuItems in interface Menupublic void setMenuItems(List<MenuItem> menuItems)
MenuMenuItemssetMenuItems in interface Menupublic String getMainEntityName()
getMainEntityName in interface org.broadleafcommerce.common.admin.domain.AdminMainEntitypublic <G extends Menu> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException
createOrRetrieveCopyInstance in interface org.broadleafcommerce.common.copy.MultiTenantCloneable<Menu>CloneNotSupportedExceptionCopyright © 2018. All rights reserved.