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
,SystemSearchUIColumn
,SystemSearchUICriterion
public interface Field
This interface represents a Field in the search paradigm.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getContentTypeId()
In case of a Content reference field, the content type ID.Enumerator
getEnumerator()
Get the field Enumerator.MetadataType
getType()
Get the field type.boolean
isMultiple()
Get the multiple status of the field.
-
-
-
Method Detail
-
getType
MetadataType 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
Enumerator getEnumerator()
Get the field Enumerator.- Returns:
- the field Enumerator, or null.
-
getContentTypeId
String getContentTypeId()
In case of a Content reference field, the content type ID.- Returns:
- the content type ID.
-
-