Class StructuredContentFieldTemplateImpl
java.lang.Object
org.broadleafcommerce.cms.structure.domain.StructuredContentFieldTemplateImpl
- All Implemented Interfaces:
Serializable,StructuredContentFieldTemplate,org.broadleafcommerce.common.copy.MultiTenantCloneable<StructuredContentFieldTemplate>
@Entity
public class StructuredContentFieldTemplateImpl
extends Object
implements StructuredContentFieldTemplate
Created by bpolster.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<StructuredContentFieldGroupXref>protected Longprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<G extends StructuredContentFieldTemplate>
org.broadleafcommerce.common.copy.CreateResponse<G>createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) Returns the list of the field groups for this template.getId()Gets the primary key.getName()Gets the name.voidsetFieldGroups(List<FieldGroup> fieldGroups) Sets the list of field groups for this template.voidsetFieldGroupXrefs(List<StructuredContentFieldGroupXref> fieldGroupXrefs) voidSets the primary key.voidSets the name.
-
Field Details
-
id
-
name
-
fieldGroupXrefs
-
-
Constructor Details
-
StructuredContentFieldTemplateImpl
public StructuredContentFieldTemplateImpl()
-
-
Method Details
-
getId
Description copied from interface:StructuredContentFieldTemplateGets the primary key.- Specified by:
getIdin interfaceStructuredContentFieldTemplate- Returns:
- the primary key
-
setId
Description copied from interface:StructuredContentFieldTemplateSets the primary key.- Specified by:
setIdin interfaceStructuredContentFieldTemplate- Parameters:
id- the new primary key
-
getName
Description copied from interface:StructuredContentFieldTemplateGets the name.- Specified by:
getNamein interfaceStructuredContentFieldTemplate- Returns:
- the name
-
setName
Description copied from interface:StructuredContentFieldTemplateSets the name.- Specified by:
setNamein interfaceStructuredContentFieldTemplate
-
getFieldGroups
Description copied from interface:StructuredContentFieldTemplateReturns the list of the field groups for this template.- Specified by:
getFieldGroupsin interfaceStructuredContentFieldTemplate- Returns:
- a list of FieldGroups associated with this template
-
setFieldGroups
Description copied from interface:StructuredContentFieldTemplateSets the list of field groups for this template.- Specified by:
setFieldGroupsin interfaceStructuredContentFieldTemplate
-
getFieldGroupXrefs
- Specified by:
getFieldGroupXrefsin interfaceStructuredContentFieldTemplate
-
setFieldGroupXrefs
- Specified by:
setFieldGroupXrefsin interfaceStructuredContentFieldTemplate
-
createOrRetrieveCopyInstance
public <G extends StructuredContentFieldTemplate> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceorg.broadleafcommerce.common.copy.MultiTenantCloneable<StructuredContentFieldTemplate>- Throws:
CloneNotSupportedException
-