Class IndexingModel
java.lang.Object
org.ametys.cms.contenttype.indexing.IndexingModel
Indexing model for a
ContentType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addIndexingField
(IndexingField field) Add a indexing fieldGet the indexing field by its nameGet the indexing fields' namesGet the indexing fieldsGet the indexing field references.void
Set the indexing field references.
-
Constructor Details
-
IndexingModel
public IndexingModel()Build an empty indexing model.
-
-
Method Details
-
addIndexingField
Add a indexing field- Parameters:
field
- The field to add
-
getFields
Get the indexing fields- Returns:
- the indexing fields
-
getFieldNames
Get the indexing fields' names- Returns:
- the indexing fields name
-
getField
Get the indexing field by its name- Parameters:
fieldName
- The field name- Returns:
- The indexing field or null if not found
-
getReferences
Get the indexing field references.- Returns:
- the indexing field references
-
setReferences
Set the indexing field references.- Parameters:
references
- the indexing field references to set
-