|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface 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 StructuredContentType
| Method Summary | |
|---|---|
String |
getDescription()
Gets the description. |
Long |
getId()
Gets the primary key. |
String |
getName()
Gets the name. |
StructuredContentFieldTemplate |
getStructuredContentFieldTemplate()
Returns the template associated with this content type. |
void |
setDescription(String description)
Sets the description. |
void |
setId(Long id)
Sets the primary key. |
void |
setName(String name)
Sets the name. |
void |
setStructuredContentFieldTemplate(StructuredContentFieldTemplate scft)
Sets the template associated with this content type. |
| Method Detail |
|---|
@Nullable Long getId()
void setId(@Nullable
Long id)
id - the new primary key@Nonnull String getName()
void setName(@Nonnull
String name)
@Nullable String getDescription()
void setDescription(@Nullable
String description)
@Nonnull StructuredContentFieldTemplate getStructuredContentFieldTemplate()
void setStructuredContentFieldTemplate(@Nonnull
StructuredContentFieldTemplate scft)
scft -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||