Package org.ametys.odf.skill
Class ProgramSkillsIndexingField
java.lang.Object
org.ametys.odf.skill.ProgramSkillsIndexingField
- All Implemented Interfaces:
CustomIndexingField
,IndexingField
,Configurable
,Serviceable
public class ProgramSkillsIndexingField
extends Object
implements CustomIndexingField, Configurable, Serviceable
CustomIndexingField
indexing acquired skills of child courses on a AbstractProgram
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected I18nizableText
The description fieldprotected I18nizableText
The label fieldprotected String
The field nameprotected ODFSkillsHelper
The skills helperstatic final String
The name of indexing field holding the computed acquired skills -
Constructor Summary
Constructors -
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 smanager)
-
Field Details
-
PROGRAM_SKILLS_INDEXING_FIELD
The name of indexing field holding the computed acquired skills- See Also:
-
_name
The field name -
_label
The label field -
_description
The description field -
_skillsHelper
The skills helper
-
-
Constructor Details
-
ProgramSkillsIndexingField
public ProgramSkillsIndexingField()
-
-
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
-