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 Details

    • PRESENTATION_TAB_TARGETERS

      public static final String PRESENTATION_TAB_TARGETERS
      See Also:
    • PRESENTATION_LIST_GRID_NAME_TARGETING_TARGETERS

      public static final String PRESENTATION_LIST_GRID_NAME_TARGETING_TARGETERS
      See Also:
    • PRESENTATION_LIST_GRID_NAME_TARGETED_CONTENT_ITEMS

      public static final String 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

      protected static final String PRESENTATION_GENERAL
      See Also:
    • id

      protected Long id
    • name

      protected String name
    • description

      protected String description
    • defaultContentItem

      protected ContentItem defaultContentItem
    • zoneDefinition

      protected ContentZoneDefinition zoneDefinition
  • Constructor Details

    • ContentZoneImpl

      public ContentZoneImpl()
  • Method Details

    • getId

      public Long getId()
      Specified by:
      getId in interface ContentZone
    • setId

      public void setId(Long id)
      Specified by:
      setId in interface ContentZone
    • getName

      public String getName()
      Description copied from interface: ContentZone
      Gets the name for this content zone
      Specified by:
      getName in interface ContentZone
      Returns:
      the name
    • setName

      public void setName(String name)
      Description copied from interface: ContentZone
      Sets the name for this content zone
      Specified by:
      setName in interface ContentZone
      Parameters:
      name - - the name
    • getDescription

      public String getDescription()
      Description copied from interface: ContentZone
      Gets the description for this content zone
      Specified by:
      getDescription in interface ContentZone
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Description copied from interface: ContentZone
      Sets the description for this content zone
      Specified by:
      setDescription in interface ContentZone
      Parameters:
      description - - the description
    • getDefaultContentItem

      public ContentItem getDefaultContentItem()
      Description copied from interface: ContentZone
      Gets the default content item for this zone
      Specified by:
      getDefaultContentItem in interface ContentZone
      Returns:
      the default content item
    • setDefaultContentItem

      public void setDefaultContentItem(ContentItem contentItem)
      Description copied from interface: ContentZone
      Sets the default content item for this zone
      Specified by:
      setDefaultContentItem in interface ContentZone
      Parameters:
      contentItem - - the default content item
    • getZoneDefinition

      public ContentZoneDefinition getZoneDefinition()
      Description copied from interface: ContentZone
      Gets the definition metadata for this zone
      Specified by:
      getZoneDefinition in interface ContentZone
      Returns:
      the configured zone definition
    • setZoneDefinition

      public void setZoneDefinition(ContentZoneDefinition zoneDefinition)
      Description copied from interface: ContentZone
      Sets the definition metadata for this zone
      Specified by:
      setZoneDefinition in interface ContentZone
      Parameters:
      zoneDefinition - - the configured zone definition
    • getMainEntityName

      public String getMainEntityName()
      Specified by:
      getMainEntityName in interface org.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:
      createOrRetrieveCopyInstance in interface org.broadleafcommerce.common.copy.MultiTenantCloneable<ContentZone>
      Throws:
      CloneNotSupportedException