Class UserAssignedValueFilter
java.lang.Object
de.hybris.platform.sap.productconfig.facades.filters.AbstractConfigOverviewFilter
de.hybris.platform.sap.productconfig.facades.filters.UserAssignedValueFilter
- All Implemented Interfaces:
ConfigOverviewFilter
Filters out all cstics, that were not assigned by the user.
Instead they might have been set by the configuration engine or the user left the default value just unchanged.
Instead they might have been set by the configuration engine or the user left the default value just unchanged.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilter(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(List<FilterEnum> appliedFilters) noMatch(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
-
Constructor Details
-
UserAssignedValueFilter
public UserAssignedValueFilter()
-
-
Method Details
-
filter
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
-
isActive
- Parameters:
appliedFilters- list of applied filters- Returns:
- true if the current filter is part of the list of applied filters
-
noMatch
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
-