Class SearchAggregationOptionImpl
- java.lang.Object
-
- com.adobe.cq.commerce.core.search.internal.models.SearchAggregationOptionImpl
-
- All Implemented Interfaces:
SearchAggregationOption
public class SearchAggregationOptionImpl extends Object implements SearchAggregationOption
Basic implementation ofSearchAggregationOption
.
-
-
Constructor Summary
Constructors Constructor Description SearchAggregationOptionImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getAddFilterMap()
Get the key value map for this aggregation option.int
getCount()
Get the number of results for this particular aggregation option.String
getDisplayLabel()
Get the display label for a aggregation option.String
getFilterValue()
Get the filter value for a aggregation option.void
setAddFilterMap(Map<String,String> addFilterMap)
void
setCount(int count)
void
setDisplayLabel(String displayLabel)
void
setFilterValue(String filterValue)
-
-
-
Method Detail
-
getFilterValue
@Nonnull public String getFilterValue()
Description copied from interface:SearchAggregationOption
Get the filter value for a aggregation option.- Specified by:
getFilterValue
in interfaceSearchAggregationOption
- Returns:
- the filter value
-
getDisplayLabel
@Nonnull public String getDisplayLabel()
Description copied from interface:SearchAggregationOption
Get the display label for a aggregation option.- Specified by:
getDisplayLabel
in interfaceSearchAggregationOption
- Returns:
- the display label for the aggregation option
-
getCount
@Nonnull public int getCount()
Description copied from interface:SearchAggregationOption
Get the number of results for this particular aggregation option.- Specified by:
getCount
in interfaceSearchAggregationOption
- Returns:
- the product count for this aggregation option
-
getAddFilterMap
@Nonnull public Map<String,String> getAddFilterMap()
Description copied from interface:SearchAggregationOption
Get the key value map for this aggregation option.- Specified by:
getAddFilterMap
in interfaceSearchAggregationOption
- Returns:
- key value for this aggregation option
-
setFilterValue
public void setFilterValue(String filterValue)
-
setDisplayLabel
public void setDisplayLabel(String displayLabel)
-
setCount
public void setCount(int count)
-
-