@Entity public class ContentItemImpl extends Object implements ContentItem, org.broadleafcommerce.common.admin.domain.AdminMainEntity, org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity, ContentItemAdminPresentation
ContentItemAdminPresentation.GroupName, ContentItemAdminPresentation.GroupOrder, ContentItemAdminPresentation.TabName, ContentItemAdminPresentation.TabOrder| Modifier and Type | Field and Description |
|---|---|
static String |
CI_DONT_DUPLICATE_WIDGET_HINT |
protected String |
description |
protected Long |
id |
protected String |
name |
protected List<StructuredContentContentItemXref> |
structuredContentContentItemXrefs |
protected List<org.broadleafcommerce.cms.structure.domain.StructuredContent> |
structuredContentItems |
protected Widget |
widget |
protected List<ContentZone> |
zonesUsedAsDefault |
| Constructor and Description |
|---|
ContentItemImpl() |
| Modifier and Type | Method and Description |
|---|---|
ContentItem |
clone()
Clones this instance of ContentItem
|
<G extends ContentItem> |
createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) |
String |
getDescription()
Gets the description for this content item
|
Long |
getId() |
String |
getMainEntityName() |
String |
getName()
Gets the name for this content item
|
List<org.broadleafcommerce.cms.structure.domain.StructuredContent> |
getStructuredContent()
Returns the list of StructuredContent associated with this object
|
List<StructuredContentContentItemXref> |
getStructuredContentContentItemXrefs()
Gets the associated StructuredContentContentItemXref.
|
Widget |
getWidget()
Gets the widget configured for this content item
|
List<ContentZone> |
getZonesUsedAsDefault()
Returns the list of
ContentZones that this ContentItem is used as a defaultContentItem in. |
void |
setDescription(String description)
Sets the description for this content item
|
void |
setId(Long id) |
void |
setName(String name)
Sets the name for this content item
|
void |
setStructuredContentContentItemXrefs(List<StructuredContentContentItemXref> structuredContentContentItemXrefs)
Sets the associated StructuredContentContentItemXref.
|
void |
setWidget(Widget widget)
Sets the widget configured for this content item
|
void |
setZonesUsedAsDefault(List<ContentZone> zonesUsedAsDefault)
Sets the list of
ContentZones that this ContentItem is used as a defaultContentItem in. |
public static final String CI_DONT_DUPLICATE_WIDGET_HINT
protected Long id
protected String name
protected String description
protected Widget widget
protected List<ContentZone> zonesUsedAsDefault
protected List<StructuredContentContentItemXref> structuredContentContentItemXrefs
protected List<org.broadleafcommerce.cms.structure.domain.StructuredContent> structuredContentItems
public List<org.broadleafcommerce.cms.structure.domain.StructuredContent> getStructuredContent()
ContentItemgetStructuredContent in interface ContentItempublic Long getId()
getId in interface ContentItempublic void setId(Long id)
setId in interface ContentItempublic String getName()
ContentItemgetName in interface ContentItempublic void setName(String name)
ContentItemsetName in interface ContentItemname - - the namepublic String getDescription()
ContentItemgetDescription in interface ContentItempublic void setDescription(String description)
ContentItemsetDescription in interface ContentItemdescription - - the descriptionpublic Widget getWidget()
ContentItemgetWidget in interface ContentItempublic void setWidget(Widget widget)
ContentItemsetWidget in interface ContentItemwidget - - the Widgetpublic List<ContentZone> getZonesUsedAsDefault()
ContentItemContentZones that this ContentItem is used as a defaultContentItem in.getZonesUsedAsDefault in interface ContentItempublic void setZonesUsedAsDefault(List<ContentZone> zonesUsedAsDefault)
ContentItemContentZones that this ContentItem is used as a defaultContentItem in.setZonesUsedAsDefault in interface ContentItempublic List<StructuredContentContentItemXref> getStructuredContentContentItemXrefs()
ContentItemgetStructuredContentContentItemXrefs in interface ContentItempublic void setStructuredContentContentItemXrefs(List<StructuredContentContentItemXref> structuredContentContentItemXrefs)
ContentItemsetStructuredContentContentItemXrefs in interface ContentItemstructuredContentContentItemXrefs - - the list of StructuredContentContentItemXrefpublic String getMainEntityName()
getMainEntityName in interface org.broadleafcommerce.common.admin.domain.AdminMainEntitypublic ContentItem clone()
ContentItemclone in interface ContentItemclone in class Objectpublic <G extends ContentItem> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException
createOrRetrieveCopyInstance in interface org.broadleafcommerce.common.copy.MultiTenantCloneable<ContentItem>CloneNotSupportedExceptionCopyright © 2020. All rights reserved.