@Entity public class ContentZoneDefinitionImpl extends Object implements ContentZoneDefinition, org.broadleafcommerce.common.admin.domain.AdminMainEntity, org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity
Modifier and Type | Field and Description |
---|---|
protected List<ContentZoneDefinitionXref> |
allowedWidgets |
protected Long |
id |
protected String |
name |
Constructor and Description |
---|
ContentZoneDefinitionImpl() |
Modifier and Type | Method and Description |
---|---|
<G extends ContentZoneDefinition> |
createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) |
List<ContentZoneDefinitionXref> |
getAllowedWidgets()
Gets the widgets that are allowed for this content zone definition
|
Long |
getId() |
String |
getMainEntityName() |
String |
getName()
Gets the name for this content zone definition
|
void |
setAllowedWidgets(List<ContentZoneDefinitionXref> widgets)
Sets the widgets that are allowed for this content zone definition
|
void |
setId(Long id) |
void |
setName(String name)
Sets the name for this content zone definition
|
protected Long id
protected String name
protected List<ContentZoneDefinitionXref> allowedWidgets
public Long getId()
getId
in interface ContentZoneDefinition
public void setId(Long id)
setId
in interface ContentZoneDefinition
public List<ContentZoneDefinitionXref> getAllowedWidgets()
ContentZoneDefinition
getAllowedWidgets
in interface ContentZoneDefinition
public String getName()
ContentZoneDefinition
getName
in interface ContentZoneDefinition
public void setName(String name)
ContentZoneDefinition
setName
in interface ContentZoneDefinition
name
- - the namepublic void setAllowedWidgets(List<ContentZoneDefinitionXref> widgets)
ContentZoneDefinition
setAllowedWidgets
in interface ContentZoneDefinition
widgets
- - the allowed widgetspublic String getMainEntityName()
getMainEntityName
in interface org.broadleafcommerce.common.admin.domain.AdminMainEntity
public <G extends ContentZoneDefinition> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException
createOrRetrieveCopyInstance
in interface org.broadleafcommerce.common.copy.MultiTenantCloneable<ContentZoneDefinition>
CloneNotSupportedException
Copyright © 2020. All rights reserved.