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,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 StringgetContentTypeId()In case of a Content reference field, the content type ID.EnumeratorgetEnumerator()Get the field Enumerator.MetadataTypegetType()Get the field type.booleanisMultiple()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:
trueif the field can have multiple values,falseotherwise.
-
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.
-
-