Class StructuredContentTypeImpl
java.lang.Object
org.broadleafcommerce.cms.structure.domain.StructuredContentTypeImpl
- All Implemented Interfaces:
Serializable,StructuredContentType,org.broadleafcommerce.common.admin.domain.AdminMainEntity,org.broadleafcommerce.common.copy.MultiTenantCloneable<StructuredContentType>,org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity
@Entity
public class StructuredContentTypeImpl
extends Object
implements StructuredContentType, org.broadleafcommerce.common.admin.domain.AdminMainEntity, org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity
Created by bpolster.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Longprotected Stringprotected StructuredContentFieldTemplateFields inherited from interface org.broadleafcommerce.common.admin.domain.AdminMainEntity
MAIN_ENTITY_NAME_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<G extends StructuredContentType>
org.broadleafcommerce.common.copy.CreateResponse<G>createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) Gets the description.getId()Gets the primary key.getName()Gets the name.Returns the template associated with this content type.voidsetDescription(String description) Sets the description.voidSets the primary key.voidSets the name.voidSets the template associated with this content type.
-
Field Details
-
id
-
name
-
description
-
structuredContentFieldTemplate
-
-
Constructor Details
-
StructuredContentTypeImpl
public StructuredContentTypeImpl()
-
-
Method Details
-
getId
Description copied from interface:StructuredContentTypeGets the primary key.- Specified by:
getIdin interfaceStructuredContentType- Returns:
- the primary key
-
setId
Description copied from interface:StructuredContentTypeSets the primary key.- Specified by:
setIdin interfaceStructuredContentType- Parameters:
id- the new primary key
-
getName
Description copied from interface:StructuredContentTypeGets the name.- Specified by:
getNamein interfaceStructuredContentType- Returns:
- the name
-
setName
Description copied from interface:StructuredContentTypeSets the name.- Specified by:
setNamein interfaceStructuredContentType
-
getDescription
Description copied from interface:StructuredContentTypeGets the description.- Specified by:
getDescriptionin interfaceStructuredContentType- Returns:
-
setDescription
Description copied from interface:StructuredContentTypeSets the description.- Specified by:
setDescriptionin interfaceStructuredContentType
-
getStructuredContentFieldTemplate
Description copied from interface:StructuredContentTypeReturns the template associated with this content type.- Specified by:
getStructuredContentFieldTemplatein interfaceStructuredContentType- Returns:
-
setStructuredContentFieldTemplate
Description copied from interface:StructuredContentTypeSets the template associated with this content type.- Specified by:
setStructuredContentFieldTemplatein interfaceStructuredContentType
-
getMainEntityName
- Specified by:
getMainEntityNamein interfaceorg.broadleafcommerce.common.admin.domain.AdminMainEntity
-
createOrRetrieveCopyInstance
public <G extends StructuredContentType> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceorg.broadleafcommerce.common.copy.MultiTenantCloneable<StructuredContentType>- Throws:
CloneNotSupportedException
-