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.boolean
Get 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:
true
if the field can have multiple values,false
otherwise.
-
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.
-