Class ProjectIndexingField
java.lang.Object
org.ametys.plugins.workspaces.members.solr.ProjectIndexingField
- All Implemented Interfaces:
CustomIndexingField
,IndexingField
,PluginAware
,Configurable
,Serviceable
public class ProjectIndexingField
extends Object
implements CustomIndexingField, Configurable, Serviceable, PluginAware
CustomIndexingField
to index member's projects-
Field Summary
Modifier and TypeFieldDescriptionprotected I18nizableText
The description fieldprotected I18nizableText
The label field -
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) void
setPluginInfo
(String pluginName, String featureName, String id) Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.
-
Field Details
-
_label
The label field -
_description
The description field
-
-
Constructor Details
-
ProjectIndexingField
public ProjectIndexingField()
-
-
Method Details
-
setPluginInfo
Description copied from interface:PluginAware
Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.- Specified by:
setPluginInfo
in interfacePluginAware
- Parameters:
pluginName
- Unique identifier for the plugin hosting the extensionfeatureName
- Unique feature identifier (unique for a given pluginName)id
- Unique identifier of this component
-
configure
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
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
-
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.
-