Class AbstractConfigOverviewFilter
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.facades.filters.AbstractConfigOverviewFilter
-
- All Implemented Interfaces:
ConfigOverviewFilter
- Direct Known Subclasses:
PriceRelevantValueFilter
,UserAssignedValueFilter
,VisibleValueFilter
public abstract class AbstractConfigOverviewFilter extends java.lang.Object implements ConfigOverviewFilter
Abstract base class for filter implementations to be used on the product config overview page.
-
-
Constructor Summary
Constructors Constructor Description AbstractConfigOverviewFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CsticValueModel>
filter(CsticModel cstic)
Filters the assigned values of the given characteristic.java.util.List<CsticValueModel>
filter(CsticModel cstic, java.util.List<FilterEnum> appliedFilters)
Filters the assigned values of the given characteristic.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.sap.productconfig.facades.ConfigOverviewFilter
filter, isActive, noMatch
-
-
-
-
Method Detail
-
filter
public java.util.List<CsticValueModel> filter(CsticModel cstic)
Description copied from interface:ConfigOverviewFilter
Filters the assigned values of the given characteristic. Caller has to take care that filter is active.- Specified by:
filter
in interfaceConfigOverviewFilter
- Parameters:
cstic
- characteristic to be filtered- Returns:
- a list of assigned values valid for the filter
-
filter
public java.util.List<CsticValueModel> filter(CsticModel cstic, java.util.List<FilterEnum> appliedFilters)
Description copied from interface:ConfigOverviewFilter
Filters the assigned values of the given characteristic. Filtering is only executed if the suitable filter ID is part of the passed appliedFilters.
If the filter is not active the complete list of assigned values of the characteristic is returned.- Specified by:
filter
in interfaceConfigOverviewFilter
- Parameters:
cstic
- characteristic to be filteredappliedFilters
- list of applied filters- Returns:
- a list of assigned values valid for the filter
-
-