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 ServiceableServiceExceptionpublic void configure(Configuration configuration) throws ConfigurationException
configure in interface ConfigurableConfigurationExceptionpublic Object[] getValues(Content content)
CustomIndexingFieldgetValues in interface CustomIndexingFieldcontent - The content being indexed.public String getName()
IndexingFieldgetName in interface IndexingFieldpublic I18nizableText getLabel()
IndexingFieldgetLabel in interface IndexingFieldpublic I18nizableText getDescription()
IndexingFieldgetDescription in interface IndexingFieldpublic MetadataType getType()
IndexingFieldgetType in interface IndexingField