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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJoinedSystemSearchField(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, waitMethods 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:SearchFieldGet the search field name.- Specified by:
getNamein interfaceSearchField- Returns:
- The search field name.
-
isJoined
Description copied from interface:SearchFieldIndicates if the search field is joined- Specified by:
isJoinedin interfaceSearchField- Returns:
trueif the search field is joined
-
getSortField
Description copied from interface:SearchFieldGet the sort field corresponding to this field.- Specified by:
getSortFieldin interfaceSearchField- Returns:
- The sort field.
-
getFacetField
Description copied from interface:SearchFieldGet the facet field corresponding to this field.- Specified by:
getFacetFieldin interfaceSearchField- Returns:
- The facet field.
-
getJoinedPaths
Description copied from interface:SearchFieldGets the joined paths- Specified by:
getJoinedPathsin interfaceSearchField- Returns:
- the joined paths
-