Class PriceRelevantValueFilter

java.lang.Object
de.hybris.platform.sap.productconfig.facades.filters.AbstractConfigOverviewFilter
de.hybris.platform.sap.productconfig.facades.filters.PriceRelevantValueFilter
All Implemented Interfaces:
ConfigOverviewFilter

public class PriceRelevantValueFilter extends AbstractConfigOverviewFilter
Filters out all cstics that have no influence on the price, meaning that they do not have any delta price.
  • Constructor Details

    • PriceRelevantValueFilter

      public PriceRelevantValueFilter()
  • Method Details

    • isActive

      public boolean isActive(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 List<CsticValueModel> filter(List<CsticValueModel> values, CsticModel cstic)
      Description copied from interface: ConfigOverviewFilter
      Filters 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 filtered
      cstic - characteristic to which values belong to
      Returns:
      list consisting of the values that match the given filter criterion
    • noMatch

      public List<CsticValueModel> noMatch(List<CsticValueModel> values, CsticModel cstic)
      Description copied from interface: ConfigOverviewFilter
      Filters 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 filtered
      cstic - characteristic to which values belong to
      Returns:
      list consisting of the values that do not match the given