|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StructuredContentField
Holds the values for custom fields that are part of a StructuredContent item.
Each item maintains a list of its custom fields. The fields associated with an item are
determined by the FieldDefinitions associated
with the StructuredContentType.
StructuredContentType,
FieldDefinition| Method Summary | |
|---|---|
StructuredContentField |
cloneEntity()
Builds a copy of this item. |
AdminAuditable |
getAuditable()
Returns audit information for this content item. |
String |
getFieldKey()
Returns the fieldKey associated with this field. |
Long |
getId()
Gets the primary key. |
StructuredContent |
getStructuredContent()
Returns the parent StructuredContent item to which this
field belongs. |
String |
getValue()
Sets the value of this custom field. |
void |
setAuditable(AdminAuditable auditable)
Sets audit information for this content item. |
void |
setFieldKey(String fieldKey)
Sets the fieldKey. |
void |
setId(Long id)
Sets the primary key. |
void |
setStructuredContent(StructuredContent structuredContent)
Sets the parent StructuredContent item. |
void |
setValue(String value)
Returns the value for this custom field. |
| Method Detail |
|---|
@Nullable Long getId()
void setId(@Nullable
Long id)
id - the new primary key@Nonnull String getFieldKey()
StructuredContentField is determined by the associated
FieldDefinition that was used by the
Content Management System to create this instance.
As an example, a StructuredContentType might be configured to contain a
field definition with a key of "targetUrl".
FieldDefinition
void setFieldKey(@Nonnull
String fieldKey)
fieldKey - FieldDefinition@Nonnull StructuredContent getStructuredContent()
StructuredContent item to which this
field belongs.
void setStructuredContent(@Nonnull
StructuredContent structuredContent)
StructuredContent item.
structuredContent - @Nonnull StructuredContentField cloneEntity()
void setValue(@Nonnull
String value)
value - @Nonnull String getValue()
@Nullable AdminAuditable getAuditable()
void setAuditable(@Nullable
AdminAuditable auditable)
auditable -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||