@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 ContentZonepublic void setId(Long id)
setId in interface ContentZonepublic String getName()
ContentZonegetName in interface ContentZonepublic void setName(String name)
ContentZonesetName in interface ContentZonename - - the namepublic String getDescription()
ContentZonegetDescription in interface ContentZonepublic void setDescription(String description)
ContentZonesetDescription in interface ContentZonedescription - - the descriptionpublic ContentItem getDefaultContentItem()
ContentZonegetDefaultContentItem in interface ContentZonepublic void setDefaultContentItem(ContentItem contentItem)
ContentZonesetDefaultContentItem in interface ContentZonecontentItem - - the default content itempublic ContentZoneDefinition getZoneDefinition()
ContentZonegetZoneDefinition in interface ContentZonepublic void setZoneDefinition(ContentZoneDefinition zoneDefinition)
ContentZonesetZoneDefinition in interface ContentZonezoneDefinition - - the configured zone definitionpublic String getMainEntityName()
getMainEntityName in interface org.broadleafcommerce.common.admin.domain.AdminMainEntitypublic <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>CloneNotSupportedExceptionCopyright © 2020. All rights reserved.