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 Details

    • 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 -
    • getFieldGroupXrefs

      List<StructuredContentFieldGroupXref> getFieldGroupXrefs()
    • setFieldGroupXrefs

      void setFieldGroupXrefs(List<StructuredContentFieldGroupXref> fieldGroupXrefs)