Package org.ametys.cms.search.solr.field
Class MixinTypeSearchField
- java.lang.Object
-
- org.ametys.cms.search.solr.field.AbstractNoJoinSystemSearchField
-
- org.ametys.cms.search.solr.field.MixinTypeSearchField
-
- All Implemented Interfaces:
SearchField
public class MixinTypeSearchField extends AbstractNoJoinSystemSearchField
Mixin type search field.
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
_includeAll
True to include all hierarchy, false otherwise.static String
NAME
The mixin types field name.static String
NAME_ALL
The "all mixin types" field name.
-
Constructor Summary
Constructors Constructor Description MixinTypeSearchField(boolean includeAll)
Build a mixin type search field.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFacetField()
Get the facet field corresponding to this field.String
getName()
Get the search field name.String
getSortField()
Get the sort field corresponding to this field.-
Methods inherited from class org.ametys.cms.search.solr.field.AbstractNoJoinSystemSearchField
getJoinedPaths, isJoined
-
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 Detail
-
NAME
public static final String NAME
The mixin types field name.- See Also:
- Constant Field Values
-
NAME_ALL
public static final String NAME_ALL
The "all mixin types" field name.- See Also:
- Constant Field Values
-
_includeAll
protected boolean _includeAll
True to include all hierarchy, false otherwise.
-
-
Constructor Detail
-
MixinTypeSearchField
public MixinTypeSearchField(boolean includeAll)
Build a mixin type search field.- Parameters:
includeAll
-true
to include all hierarchy,false
otherwise.
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:SearchField
Get the search field name.- Returns:
- The search field name.
-
getSortField
public String getSortField()
Description copied from interface:SearchField
Get the sort field corresponding to this field.- Returns:
- The sort field.
-
getFacetField
public String getFacetField()
Description copied from interface:SearchField
Get the facet field corresponding to this field.- Returns:
- The facet field.
-
-