org.broadleafcommerce.cms.structure.domain
Interface StructuredContentFieldTemplate

All Superinterfaces:
Serializable
All Known Implementing Classes:
StructuredContentFieldTemplateImpl

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

Method Detail

getId

@Nullable
Long getId()
Gets the primary key.

Returns:
the primary key

setId

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

Parameters:
id - the new primary key

getName

@Nonnull
String getName()
Gets the name.

Returns:
the name

setName

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


getFieldGroups

@Nullable
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
                    List<FieldGroup> fieldGroups)
Sets the list of field groups for this template.

Parameters:
fieldGroups -


Copyright © 2012. All Rights Reserved.