Package org.ametys.cms.search
Interface SearchField
-
- All Known Implementing Classes:
AbstractMetadataSearchField,AbstractNoJoinSystemSearchField,BooleanSearchField,CollectionSearchField,CommentsSearchField,ContentPrivacySearchField,ContentSearchField,ContentTypeSearchField,ContributorSearchField,CreationDateSearchField,CreatorSearchField,DateSearchField,DoubleSearchField,DublinCoreSearchField,FirstValidationSearchField,JoinedSystemSearchField,LanguageSearchField,LastMajorValidationSearchField,LastModifiedSearchField,LastValidationSearchField,LongSearchField,MixinTypeSearchField,MultilingualStringSearchField,OrphanSearchField,PageIdsSearchField,PagesSearchField,ParentContentSearchField,SharedSeachField,SiteSearchField,SiteTypeSearchField,StringSearchField,TagSearchField,WorkflowStepSearchField
public interface SearchField
Represents a search field.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetFacetField()Get the facet field corresponding to this field.default StringgetFacetFunction()Get the facet function corresponding to this field.List<String>getJoinedPaths()Gets the joined pathsStringgetName()Get the search field name.StringgetSortField()Get the sort field corresponding to this field.booleanisJoined()Indicates if the search field is joined
-
-
-
Method Detail
-
getSortField
String getSortField()
Get the sort field corresponding to this field.- Returns:
- The sort field.
-
getFacetField
String getFacetField()
Get the facet field corresponding to this field.- Returns:
- The facet field.
-
isJoined
boolean isJoined()
Indicates if the search field is joined- Returns:
trueif the search field is joined
-
getJoinedPaths
List<String> getJoinedPaths()
Gets the joined paths- Returns:
- the joined paths
-
getFacetFunction
default String getFacetFunction()
Get the facet function corresponding to this field.- Returns:
- The facet function.
-
-