Package org.ametys.cms.search.model
Interface Field
- All Known Subinterfaces:
IndexingFieldSearchCriterion
,MetadataResultField
,ResultField
,SearchCriterion
,SearchUIColumn
,SearchUICriterion
,SystemResultField
,SystemSearchCriterion
- All Known Implementing Classes:
AbstractCustomSearchUICriterion
,AbstractSearchUIColumn
,AbstractSearchUICriterion
,ContentPrivacySearchUICriterion
,DynamicWrappedSearchUIModel.WrappedSearchUICriterion
,IndexingFieldAggregatorSearchUICriterion
,IndexingFieldSearchUICriterion
,MetadataSearchUIColumn
,PageSearchUICriterion
,ProgramItemContextSearchUICriteria
,ShareableCourseSearchUICriteria
,SolrFilterSearchUICriterion
,SystemSearchUIColumn
,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.
-