Class VisibleValueFilter
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.facades.filters.AbstractConfigOverviewFilter
-
- de.hybris.platform.sap.productconfig.facades.filters.VisibleValueFilter
-
- All Implemented Interfaces:
ConfigOverviewFilter
public class VisibleValueFilter extends AbstractConfigOverviewFilter
Filters out all cstics, that are marked as invisble.
-
-
Constructor Summary
Constructors Constructor Description VisibleValueFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CsticValueModel>filter(java.util.List<CsticValueModel> values, CsticModel cstic)Filters the passed list of values and returns a list consisting of the values that match the given filter criterion.booleanisActive(java.util.List<FilterEnum> appliedFilters)java.util.List<CsticValueModel>noMatch(java.util.List<CsticValueModel> values, CsticModel cstic)Filters the passed list of values and returns a list consisting of the values that DO NOT match the given filter criterion.-
Methods inherited from class de.hybris.platform.sap.productconfig.facades.filters.AbstractConfigOverviewFilter
filter, filter
-
-
-
-
Method Detail
-
isActive
public boolean isActive(java.util.List<FilterEnum> appliedFilters)
- Parameters:
appliedFilters- list of applied filters- Returns:
- true if the current filter is part of the list of applied filters
-
filter
public java.util.List<CsticValueModel> filter(java.util.List<CsticValueModel> values, CsticModel cstic)
Description copied from interface:ConfigOverviewFilterFilters the passed list of values and returns a list consisting of the values that match the given filter criterion. Caller has to take care that filter is active.- Parameters:
values- list of values to be filteredcstic- characteristic to which values belong to- Returns:
- list consisting of the values that match the given filter criterion
-
noMatch
public java.util.List<CsticValueModel> noMatch(java.util.List<CsticValueModel> values, CsticModel cstic)
Description copied from interface:ConfigOverviewFilterFilters the passed list of values and returns a list consisting of the values that DO NOT match the given filter criterion. Caller has to take care that filter is active.- Parameters:
values- list of values to be filteredcstic- characteristic to which values belong to- Returns:
- list consisting of the values that do not match the given
-
-