public class OrgUnitAncestorIndexingField extends Object implements CustomIndexingField, Configurable, Serviceable
CustomIndexingField
indexing all orgUnit ancestor id in one field.Modifier and Type | Field and Description |
---|---|
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 I18nizableText |
_description
The description field
|
protected I18nizableText |
_label
The label field
|
protected String |
_name
The field name
|
Constructor and Description |
---|
OrgUnitAncestorIndexingField() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Configuration configuration) |
I18nizableText |
getDescription()
Get the field description.
|
I18nizableText |
getLabel()
Get the field label.
|
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 MetadataDefinition _definition
protected I18nizableText _label
protected I18nizableText _description
public OrgUnitAncestorIndexingField()
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 Object[] getValues(Content content)
CustomIndexingField
getValues
in interface CustomIndexingField
content
- The content being indexed.public String getName()
IndexingField
getName
in interface IndexingField
public I18nizableText getLabel()
IndexingField
getLabel
in interface IndexingField
public I18nizableText getDescription()
IndexingField
getDescription
in interface IndexingField
public MetadataType getType()
IndexingField
getType
in interface IndexingField