Class ContentZoneDefinitionImpl
java.lang.Object
com.broadleafcommerce.advancedcms.domain.ContentZoneDefinitionImpl
- All Implemented Interfaces:
ContentZoneDefinition,Serializable,org.broadleafcommerce.common.admin.domain.AdminMainEntity,org.broadleafcommerce.common.copy.MultiTenantCloneable<ContentZoneDefinition>,org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity
@Entity
public class ContentZoneDefinitionImpl
extends Object
implements ContentZoneDefinition, org.broadleafcommerce.common.admin.domain.AdminMainEntity, org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity
- Author:
- Elbert Bautista (elbertbautista)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ContentZoneDefinitionXref>protected Longprotected StringFields inherited from interface org.broadleafcommerce.common.admin.domain.AdminMainEntity
MAIN_ENTITY_NAME_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<G extends ContentZoneDefinition>
org.broadleafcommerce.common.copy.CreateResponse<G>createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) Gets the widgets that are allowed for this content zone definitiongetId()getName()Gets the name for this content zone definitionvoidsetAllowedWidgets(List<ContentZoneDefinitionXref> widgets) Sets the widgets that are allowed for this content zone definitionvoidvoidSets the name for this content zone definition
-
Field Details
-
id
-
name
-
allowedWidgets
-
-
Constructor Details
-
ContentZoneDefinitionImpl
public ContentZoneDefinitionImpl()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceContentZoneDefinition
-
setId
- Specified by:
setIdin interfaceContentZoneDefinition
-
getAllowedWidgets
Description copied from interface:ContentZoneDefinitionGets the widgets that are allowed for this content zone definition- Specified by:
getAllowedWidgetsin interfaceContentZoneDefinition- Returns:
- the list of allowed widgets
-
getName
Description copied from interface:ContentZoneDefinitionGets the name for this content zone definition- Specified by:
getNamein interfaceContentZoneDefinition- Returns:
- the name
-
setName
Description copied from interface:ContentZoneDefinitionSets the name for this content zone definition- Specified by:
setNamein interfaceContentZoneDefinition- Parameters:
name- - the name
-
setAllowedWidgets
Description copied from interface:ContentZoneDefinitionSets the widgets that are allowed for this content zone definition- Specified by:
setAllowedWidgetsin interfaceContentZoneDefinition- Parameters:
widgets- - the allowed widgets
-
getMainEntityName
- Specified by:
getMainEntityNamein interfaceorg.broadleafcommerce.common.admin.domain.AdminMainEntity
-
createOrRetrieveCopyInstance
public <G extends ContentZoneDefinition> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceorg.broadleafcommerce.common.copy.MultiTenantCloneable<ContentZoneDefinition>- Throws:
CloneNotSupportedException
-