Class ContentZoneImpl
java.lang.Object
com.broadleafcommerce.advancedcms.domain.ContentZoneImpl
- All Implemented Interfaces:
ContentZone,Serializable,org.broadleafcommerce.common.admin.domain.AdminMainEntity,org.broadleafcommerce.common.copy.MultiTenantCloneable<ContentZone>,org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity
@Entity
public class ContentZoneImpl
extends Object
implements ContentZone, org.broadleafcommerce.common.admin.domain.AdminMainEntity, org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity
- Author:
- Elbert Bautista (elbertbautista)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ContentItemprotected Stringprotected Longprotected Stringprotected static final Stringstatic final Stringstatic final Stringstatic final intstatic final intstatic final Stringprotected ContentZoneDefinitionFields inherited from interface org.broadleafcommerce.common.admin.domain.AdminMainEntity
MAIN_ENTITY_NAME_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<G extends ContentZone>
org.broadleafcommerce.common.copy.CreateResponse<G>createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) Gets the default content item for this zoneGets the description for this content zonegetId()getName()Gets the name for this content zoneGets the definition metadata for this zonevoidsetDefaultContentItem(ContentItem contentItem) Sets the default content item for this zonevoidsetDescription(String description) Sets the description for this content zonevoidvoidSets the name for this content zonevoidsetZoneDefinition(ContentZoneDefinition zoneDefinition) Sets the definition metadata for this zone
-
Field Details
-
PRESENTATION_TAB_TARGETERS
- See Also:
-
PRESENTATION_LIST_GRID_NAME_TARGETING_TARGETERS
- See Also:
-
PRESENTATION_LIST_GRID_NAME_TARGETED_CONTENT_ITEMS
- See Also:
-
PRESENTATION_LIST_GRID_ORDER_TARGETING_CONTENT_TARGETERS
public static final int PRESENTATION_LIST_GRID_ORDER_TARGETING_CONTENT_TARGETERS- See Also:
-
PRESENTATION_LIST_GRID_ORDER_TARGETED_CONTENT_ITEMS
public static final int PRESENTATION_LIST_GRID_ORDER_TARGETED_CONTENT_ITEMS- See Also:
-
PRESENTATION_GENERAL
- See Also:
-
id
-
name
-
description
-
defaultContentItem
-
zoneDefinition
-
-
Constructor Details
-
ContentZoneImpl
public ContentZoneImpl()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceContentZone
-
setId
- Specified by:
setIdin interfaceContentZone
-
getName
Description copied from interface:ContentZoneGets the name for this content zone- Specified by:
getNamein interfaceContentZone- Returns:
- the name
-
setName
Description copied from interface:ContentZoneSets the name for this content zone- Specified by:
setNamein interfaceContentZone- Parameters:
name- - the name
-
getDescription
Description copied from interface:ContentZoneGets the description for this content zone- Specified by:
getDescriptionin interfaceContentZone- Returns:
- the description
-
setDescription
Description copied from interface:ContentZoneSets the description for this content zone- Specified by:
setDescriptionin interfaceContentZone- Parameters:
description- - the description
-
getDefaultContentItem
Description copied from interface:ContentZoneGets the default content item for this zone- Specified by:
getDefaultContentItemin interfaceContentZone- Returns:
- the default content item
-
setDefaultContentItem
Description copied from interface:ContentZoneSets the default content item for this zone- Specified by:
setDefaultContentItemin interfaceContentZone- Parameters:
contentItem- - the default content item
-
getZoneDefinition
Description copied from interface:ContentZoneGets the definition metadata for this zone- Specified by:
getZoneDefinitionin interfaceContentZone- Returns:
- the configured zone definition
-
setZoneDefinition
Description copied from interface:ContentZoneSets the definition metadata for this zone- Specified by:
setZoneDefinitionin interfaceContentZone- Parameters:
zoneDefinition- - the configured zone definition
-
getMainEntityName
- Specified by:
getMainEntityNamein interfaceorg.broadleafcommerce.common.admin.domain.AdminMainEntity
-
createOrRetrieveCopyInstance
public <G extends ContentZone> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceorg.broadleafcommerce.common.copy.MultiTenantCloneable<ContentZone>- Throws:
CloneNotSupportedException
-