@Entity public class ContentZoneImpl extends Object implements ContentZone, org.broadleafcommerce.common.admin.domain.AdminMainEntity, org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity
Modifier and Type | Field and Description |
---|---|
protected ContentItem |
defaultContentItem |
protected String |
description |
protected Long |
id |
protected String |
name |
protected static String |
PRESENTATION_GENERAL |
static String |
PRESENTATION_LIST_GRID_NAME_TARGETED_CONTENT_ITEMS |
static String |
PRESENTATION_LIST_GRID_NAME_TARGETING_TARGETERS |
static int |
PRESENTATION_LIST_GRID_ORDER_TARGETED_CONTENT_ITEMS |
static int |
PRESENTATION_LIST_GRID_ORDER_TARGETING_CONTENT_TARGETERS |
static String |
PRESENTATION_TAB_TARGETERS |
protected ContentZoneDefinition |
zoneDefinition |
Constructor and Description |
---|
ContentZoneImpl() |
Modifier and Type | Method and Description |
---|---|
<G extends ContentZone> |
createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) |
ContentItem |
getDefaultContentItem()
Gets the default content item for this zone
|
String |
getDescription()
Gets the description for this content zone
|
Long |
getId() |
String |
getMainEntityName() |
String |
getName()
Gets the name for this content zone
|
ContentZoneDefinition |
getZoneDefinition()
Gets the definition metadata for this zone
|
void |
setDefaultContentItem(ContentItem contentItem)
Sets the default content item for this zone
|
void |
setDescription(String description)
Sets the description for this content zone
|
void |
setId(Long id) |
void |
setName(String name)
Sets the name for this content zone
|
void |
setZoneDefinition(ContentZoneDefinition zoneDefinition)
Sets the definition metadata for this zone
|
public static final String PRESENTATION_TAB_TARGETERS
public static final String PRESENTATION_LIST_GRID_NAME_TARGETING_TARGETERS
public static final String PRESENTATION_LIST_GRID_NAME_TARGETED_CONTENT_ITEMS
public static final int PRESENTATION_LIST_GRID_ORDER_TARGETING_CONTENT_TARGETERS
public static final int PRESENTATION_LIST_GRID_ORDER_TARGETED_CONTENT_ITEMS
protected static final String PRESENTATION_GENERAL
protected Long id
protected String name
protected String description
protected ContentItem defaultContentItem
protected ContentZoneDefinition zoneDefinition
public Long getId()
getId
in interface ContentZone
public void setId(Long id)
setId
in interface ContentZone
public String getName()
ContentZone
getName
in interface ContentZone
public void setName(String name)
ContentZone
setName
in interface ContentZone
name
- - the namepublic String getDescription()
ContentZone
getDescription
in interface ContentZone
public void setDescription(String description)
ContentZone
setDescription
in interface ContentZone
description
- - the descriptionpublic ContentItem getDefaultContentItem()
ContentZone
getDefaultContentItem
in interface ContentZone
public void setDefaultContentItem(ContentItem contentItem)
ContentZone
setDefaultContentItem
in interface ContentZone
contentItem
- - the default content itempublic ContentZoneDefinition getZoneDefinition()
ContentZone
getZoneDefinition
in interface ContentZone
public void setZoneDefinition(ContentZoneDefinition zoneDefinition)
ContentZone
setZoneDefinition
in interface ContentZone
zoneDefinition
- - the configured zone definitionpublic String getMainEntityName()
getMainEntityName
in interface org.broadleafcommerce.common.admin.domain.AdminMainEntity
public <G extends ContentZone> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException
createOrRetrieveCopyInstance
in interface org.broadleafcommerce.common.copy.MultiTenantCloneable<ContentZone>
CloneNotSupportedException
Copyright © 2020. All rights reserved.