org.broadleafcommerce.cms.structure.domain
Interface StructuredContentFieldTemplate

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
StructuredContentFieldTemplateImpl

public interface StructuredContentFieldTemplate
extends java.io.Serializable

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
 java.util.List<FieldGroup> getFieldGroups()
          Returns the list of the field groups for this template.
 java.lang.Long getId()
          Gets the primary key.
 java.lang.String getName()
          Gets the name.
 void setFieldGroups(java.util.List<FieldGroup> fieldGroups)
          Sets the list of field groups for this template.
 void setId(java.lang.Long id)
          Sets the primary key.
 void setName(java.lang.String name)
          Sets the name.
 

Method Detail

getId

@Nullable
java.lang.Long getId()
Gets the primary key.

Returns:
the primary key

setId

void setId(@Nullable
           java.lang.Long id)
Sets the primary key.

Parameters:
id - the new primary key

getName

@Nonnull
java.lang.String getName()
Gets the name.

Returns:
the name

setName

void setName(@Nonnull
             java.lang.String name)
Sets the name.


getFieldGroups

@Nullable
java.util.List<FieldGroup> getFieldGroups()
Returns the list of the field groups for this template.

Returns:
a list of FieldGroups associated with this template

setFieldGroups

void setFieldGroups(@Nullable
                    java.util.List<FieldGroup> fieldGroups)
Sets the list of field groups for this template.

Parameters:
fieldGroups -


Copyright © 2011. All Rights Reserved.