T
- Type of the attribute to facet on.public class DistinctFacetParameter<T> extends FacetParameter
Modifier and Type | Field and Description |
---|---|
java.util.List<T> |
selected
What options the user has selected.
|
java.util.List<DistinctFacetItemSortingParameter> |
sortBy
These sorting parameters specify how the options are to be sorted in the response.
|
attributeName, name
Constructor and Description |
---|
DistinctFacetParameter(java.lang.String attributeName,
java.util.List<T> selected,
java.lang.String name,
java.util.List<DistinctFacetItemSortingParameter> sortBy) |
Modifier and Type | Method and Description |
---|---|
FacetType |
getType()
Type of the facet.
|
public final java.util.List<T> selected
public final java.util.List<DistinctFacetItemSortingParameter> sortBy
public DistinctFacetParameter(java.lang.String attributeName, java.util.List<T> selected, java.lang.String name, java.util.List<DistinctFacetItemSortingParameter> sortBy)
public FacetType getType()
FacetParameter
getType
in class FacetParameter
FacetType.DISTINCT