public class RecordDetailsConfig
extends BasicContentItem
RecordDetailsHandler configuration model.| Constructor and Description |
|---|
RecordDetailsConfig()
Creates an empty
RecordDetailsConfig. |
RecordDetailsConfig(ContentItem pContentItem)
Creates a copy of the specified
ContentItem, and returns it as an instance of
RecordDetailsConfig. |
RecordDetailsConfig(String pType)
Creates an empty
RecordDetailsConfig with the specified type. |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getFieldNames()
Returns the record fields that will be returned in the
ContentItem. |
List<String> |
getSubRecordFieldNames()
Returns the sub-record fields (of aggregate records) that will
be returned in the
ContentItem. |
boolean |
isIncludeDerivedProperties() |
boolean |
isIncludeGeoProperties() |
boolean |
isIncludeSnippetProperties() |
void |
setFieldNames(List<String> fieldNames)
Specifies which record fields will be passed through from the records
to the resulting
ContentItem. |
void |
setIncludeDerivedProperties(boolean includeDerivedProperties) |
void |
setIncludeGeoProperties(boolean includeGeoProperties) |
void |
setIncludeSnippetProperties(boolean includeSnippetProperties) |
void |
setSubRecordFieldNames(List<String> fieldNames)
Specifies which sub-record fields (of aggregate records) will be
passed through to the resulting
ContentItem. |
public RecordDetailsConfig()
RecordDetailsConfig.public RecordDetailsConfig(String pType)
RecordDetailsConfig with the specified type.pType - a value that will be used as the type#getType()public RecordDetailsConfig(ContentItem pContentItem)
ContentItem, and returns it as an instance of
RecordDetailsConfig.public void setFieldNames(List<String> fieldNames)
ContentItem. If null, the default set of field names
configured for the MDEX (from render_config.xml) will be returned.
If aggregation is enabled, this list is used to specify the record field names
for the aggregated records, and the subRecordFieldNames list is used
to specify the record field names for the sub-records (child) records.
If aggregation is disabled and a subRecordFieldNames list is also specified,
it will be combined with this list.
getFieldNames(),
getSubRecordFieldNames()public List<String> getFieldNames()
ContentItem.setFieldNames(java.util.List),
setSubRecordFieldNames(java.util.List)public void setSubRecordFieldNames(List<String> fieldNames)
ContentItem.
If aggregation is enabled and this list is null, all field names configured
for the MDEX (from render_config.xml) will be returned on the
sub-records (child records). The field names specified by setFieldNames(java.util.List)
will be used to determine the field names returned on the aggregated records.
If aggregation is disabled and this list is non-null, its field names will be
combined with the field names specified by setFieldNames(java.util.List);
the combined list will be used to determine the field names that should be returned
on the non-aggregated records.
getSubRecordFieldNames(),
getFieldNames()public List<String> getSubRecordFieldNames()
ContentItem. If aggregation is disabled, this
list is combined with the fieldNames.setSubRecordFieldNames(java.util.List),
setFieldNames(java.util.List)public boolean isIncludeDerivedProperties()
public void setIncludeDerivedProperties(boolean includeDerivedProperties)
public boolean isIncludeSnippetProperties()
public void setIncludeSnippetProperties(boolean includeSnippetProperties)
public boolean isIncludeGeoProperties()
public void setIncludeGeoProperties(boolean includeGeoProperties)
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.