Package org.ametys.odf.program
Class DegreeOrderIndexingField
- java.lang.Object
-
- org.ametys.odf.program.DegreeOrderIndexingField
-
- All Implemented Interfaces:
CustomIndexingField,IndexingField,Configurable
public class DegreeOrderIndexingField extends Object implements CustomIndexingField, Configurable
Indexing field for the order of degree
-
-
Constructor Summary
Constructors Constructor Description DegreeOrderIndexingField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(Configuration configuration)I18nizableTextgetDescription()Get the field description.I18nizableTextgetLabel()Get the field label.StringgetName()Get the field's nameMetadataTypegetType()Get the typeObject[]getValues(Content content)Get a content's values to index.
-
-
-
Constructor Detail
-
DegreeOrderIndexingField
public DegreeOrderIndexingField()
-
-
Method Detail
-
configure
public void configure(Configuration configuration) throws ConfigurationException
- Specified by:
configurein interfaceConfigurable- Throws:
ConfigurationException
-
getName
public String getName()
Description copied from interface:IndexingFieldGet the field's name- Specified by:
getNamein interfaceIndexingField- Returns:
- the field's name
-
getLabel
public I18nizableText getLabel()
Description copied from interface:IndexingFieldGet the field label.- Specified by:
getLabelin interfaceIndexingField- Returns:
- the field label.
-
getDescription
public I18nizableText getDescription()
Description copied from interface:IndexingFieldGet the field description.- Specified by:
getDescriptionin interfaceIndexingField- Returns:
- the field description.
-
getType
public MetadataType getType()
Description copied from interface:IndexingFieldGet the type- Specified by:
getTypein interfaceIndexingField- Returns:
- the type
-
getValues
public Object[] getValues(Content content)
Description copied from interface:CustomIndexingFieldGet a content's values to index.- Specified by:
getValuesin interfaceCustomIndexingField- Parameters:
content- The content being indexed.- Returns:
- the values to index.
-
-