Interface StructuredContentType
- All Superinterfaces:
org.broadleafcommerce.common.copy.MultiTenantCloneable<StructuredContentType>,Serializable
- All Known Implementing Classes:
StructuredContentTypeImpl
public interface StructuredContentType
extends Serializable, org.broadleafcommerce.common.copy.MultiTenantCloneable<StructuredContentType>
A content type corresponds to an area where content should be targeted. For example,
a valid content name would be "homepage banner" or "cart rhs ad".
While typically used for placement, a content type can also be used just to describe the fields. For example, a content type of message might be used to store messages that can be retrieved by name.
The custom fields associated by with a
While typically used for placement, a content type can also be used just to describe the fields. For example, a content type of message might be used to store messages that can be retrieved by name.
The custom fields associated by with a
StructuredContentType
- Author:
- bpolster.
-
Method Summary
Modifier and TypeMethodDescriptionGets the description.getId()Gets the primary key.getName()Gets the name.Returns the template associated with this content type.voidsetDescription(String description) Sets the description.voidSets the primary key.voidSets the name.voidSets the template associated with this content type.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. -
getDescription
Gets the description.- Returns:
-
setDescription
Sets the description. -
getStructuredContentFieldTemplate
Returns the template associated with this content type.- Returns:
-
setStructuredContentFieldTemplate
Sets the template associated with this content type.- Parameters:
scft-
-