Package org.ametys.cms.search.solr.field
Class JoinedSystemSearchField
java.lang.Object
org.ametys.cms.search.solr.field.JoinedSystemSearchField
- All Implemented Interfaces:
SearchField
SearchField
-
Field Summary
-
Constructor Summary
ConstructorDescriptionJoinedSystemSearchField
(List<String> joinPaths, SearchField refSearchField) Build a JoinedSystemSearchField -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.cms.search.SearchField
getFacetFunction
-
Field Details
-
_joinPaths
The join paths -
_refSearchField
The reference search field
-
-
Constructor Details
-
JoinedSystemSearchField
Build a JoinedSystemSearchField- Parameters:
joinPaths
- The join field paths. Must not be null or empty.refSearchField
- The reference search field. Must not be joined.
-
-
Method Details
-
getName
Description copied from interface:SearchField
Get the search field name.- Specified by:
getName
in interfaceSearchField
- Returns:
- The search field name.
-
isJoined
Description copied from interface:SearchField
Indicates if the search field is joined- Specified by:
isJoined
in interfaceSearchField
- Returns:
true
if the search field is joined
-
getSortField
Description copied from interface:SearchField
Get the sort field corresponding to this field.- Specified by:
getSortField
in interfaceSearchField
- Returns:
- The sort field.
-
getFacetField
Description copied from interface:SearchField
Get the facet field corresponding to this field.- Specified by:
getFacetField
in interfaceSearchField
- Returns:
- The facet field.
-
getJoinedPaths
Description copied from interface:SearchField
Gets the joined paths- Specified by:
getJoinedPaths
in interfaceSearchField
- Returns:
- the joined paths
-