Package org.ametys.cms.search.model
Interface Field
- All Known Subinterfaces:
IndexingFieldSearchCriterion,SearchCriterion,SearchUICriterion,SystemSearchCriterion
- All Known Implementing Classes:
AbstractCustomSearchUICriterion,AbstractSearchUICriterion,CompatibleRegimesSearchUICriteria,ContentPrivacySearchUICriterion,DefaultSolrFilterSearchUICriterion,DynamicWrappedSearchUIModel.WrappedSearchUICriterion,IndexingFieldAggregatorSearchUICriterion,IndexingFieldSearchUICriterion,ODFContributorOrManagerSearchUICriteria,PageSearchUICriterion,ProgramItemContextSearchUICriteria,ShareableCoursePartSearchUICriteria,ShareableCourseSearchUICriteria,SolrFilterSearchUICriterion,SystemSearchUICriterion
public interface Field
This interface represents a Field in the search paradigm.
-
Method Summary
Modifier and TypeMethodDescriptionIn case of a Content reference field, the content type ID.Get the field Enumerator.getType()Get the field type.booleanGet the multiple status of the field.
-
Method Details
-
getType
Get the field type.- Returns:
- the field type.
-
isMultiple
boolean isMultiple()Get the multiple status of the field.- Returns:
trueif the field can have multiple values,falseotherwise.
-
getEnumerator
Get the field Enumerator.- Returns:
- the field Enumerator, or null.
-
getContentTypeId
In case of a Content reference field, the content type ID.- Returns:
- the content type ID.
-