public class MultiStringValuesIndexingField extends Object implements CustomMetadataIndexingField, Configurable, Serviceable
CustomMetadataIndexingField
indexing multiple string values in one field.Modifier and Type | Field and Description |
---|---|
protected ContentSearchHelper |
_contentHelper
The content helper.
|
protected String |
_contentTypeId
The content type ID
|
protected ContentTypeExtensionPoint |
_cTypeEP
The content type extension point.
|
protected ContentTypesHelper |
_cTypeHelper
The content type helper.
|
protected MetadataDefinition |
_definition
The metadata definition (taken from the first metadata).
|
protected List<String> |
_metadataPaths
The metadata paths.
|
protected String |
_name
The field name
|
Constructor and Description |
---|
MultiStringValuesIndexingField() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Configuration configuration) |
I18nizableText |
getDescription()
Get the field description.
|
I18nizableText |
getLabel()
Get the field label.
|
MetadataDefinition |
getMetadataDefinition()
Get the metadata definition
|
String |
getMetadataPath()
Get the metadata path.
|
String |
getName()
Get the field's name
|
MetadataType |
getType()
Get the type
|
Object[] |
getValues(Content content)
Get a content's values to index.
|
void |
service(ServiceManager manager) |
protected ContentTypeExtensionPoint _cTypeEP
protected ContentTypesHelper _cTypeHelper
protected ContentSearchHelper _contentHelper
protected String _contentTypeId
protected List<String> _metadataPaths
protected MetadataDefinition _definition
public MultiStringValuesIndexingField()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public void configure(Configuration configuration) throws ConfigurationException
configure
in interface Configurable
ConfigurationException
public String getName()
IndexingField
getName
in interface IndexingField
public MetadataDefinition getMetadataDefinition()
MetadataIndexingField
getMetadataDefinition
in interface MetadataIndexingField
public String getMetadataPath()
MetadataIndexingField
getMetadataPath
in interface MetadataIndexingField
public I18nizableText getLabel()
IndexingField
getLabel
in interface IndexingField
public I18nizableText getDescription()
IndexingField
getDescription
in interface IndexingField
public MetadataType getType()
IndexingField
getType
in interface IndexingField
public Object[] getValues(Content content)
CustomIndexingField
getValues
in interface CustomIndexingField
content
- The content being indexed.