@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
MenuItem s |
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
MenuItem s |
void |
setName(String name)
Sets the name of the menu.
|
public String getName()
Menu
public void setName(String name)
Menu
public List<MenuItem> getMenuItems()
Menu
MenuItem
sgetMenuItems
in interface Menu
public void setMenuItems(List<MenuItem> menuItems)
Menu
MenuItem
ssetMenuItems
in interface Menu
public String getMainEntityName()
getMainEntityName
in interface org.broadleafcommerce.common.admin.domain.AdminMainEntity
public <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>
CloneNotSupportedException
Copyright © 2018. All rights reserved.