Package org.ametys.odf.orgunit.indexing
Class OrgUnitAncestorIndexingField
java.lang.Object
org.ametys.odf.orgunit.indexing.OrgUnitAncestorIndexingField
- All Implemented Interfaces:
CustomIndexingField
,IndexingField
,Configurable
,Serviceable
public class OrgUnitAncestorIndexingField
extends Object
implements CustomIndexingField, Configurable, Serviceable
CustomIndexingField
indexing all orgUnit ancestor id in one field.-
Field Summary
Modifier and TypeFieldDescriptionprotected ContentTypeExtensionPoint
The content type extension point.protected ContentTypesHelper
The content type helper.protected I18nizableText
The description fieldprotected I18nizableText
The label fieldprotected String
The field name -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(Configuration configuration) Get the field description.getLabel()
Get the field label.getName()
Get the field's namegetType()
Get the typeObject[]
Get a content's values to index.void
service
(ServiceManager manager)
-
Field Details
-
_cTypeEP
The content type extension point. -
_cTypeHelper
The content type helper. -
_name
The field name -
_label
The label field -
_description
The description field
-
-
Constructor Details
-
OrgUnitAncestorIndexingField
public OrgUnitAncestorIndexingField()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
configure
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
getValues
Description copied from interface:CustomIndexingField
Get a content's values to index.- Specified by:
getValues
in interfaceCustomIndexingField
- Parameters:
content
- The content being indexed.- Returns:
- the values to index.
-
getName
Description copied from interface:IndexingField
Get the field's name- Specified by:
getName
in interfaceIndexingField
- Returns:
- the field's name
-
getLabel
Description copied from interface:IndexingField
Get the field label.- Specified by:
getLabel
in interfaceIndexingField
- Returns:
- the field label.
-
getDescription
Description copied from interface:IndexingField
Get the field description.- Specified by:
getDescription
in interfaceIndexingField
- Returns:
- the field description.
-
getType
Description copied from interface:IndexingField
Get the type- Specified by:
getType
in interfaceIndexingField
- Returns:
- the type
-