Interface StructuredContentFieldTemplate
- All Superinterfaces:
MultiTenantCloneable<StructuredContentFieldTemplate>
,Serializable
- All Known Implementing Classes:
StructuredContentFieldTemplateImpl
public interface StructuredContentFieldTemplate
extends Serializable, MultiTenantCloneable<StructuredContentFieldTemplate>
A structured content field template holds the structure for a
structured content.
For example, an 'Ad' template might describe the fields 'Ad URL' and 'Target URL'. The 'Ad' template might be used in multiple StructuredContentType instances such as 'Home Page Banner Ad' or 'Cart Bottom Ad', etc.
- Author:
- bpolster
-
Method Summary
Modifier and TypeMethodDescriptionReturns the list of the field groups for this template.getId()
Gets the primary key.getName()
Gets the name.void
setFieldGroups
(List<FieldGroup> fieldGroups) Sets the list of field groups for this template.void
setFieldGroupXrefs
(List<StructuredContentFieldGroupXref> fieldGroupXrefs) void
Sets the primary key.void
Sets the name.Methods inherited from interface org.broadleafcommerce.common.copy.MultiTenantCloneable
createOrRetrieveCopyInstance
-
Method Details
-
getId
Gets the primary key.- Returns:
- the primary key
-
setId
Sets the primary key.- Parameters:
id
- the new primary key
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name. -
getFieldGroups
Returns the list of the field groups for this template.- Returns:
- a list of FieldGroups associated with this template
-
setFieldGroups
Sets the list of field groups for this template.- Parameters:
fieldGroups
-
-
getFieldGroupXrefs
List<StructuredContentFieldGroupXref> getFieldGroupXrefs() -
setFieldGroupXrefs
-