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 Object implements ConfigOverviewFilter
Abstract base class for filter implementations to be used on the product config overview page.
  • Constructor Details

    • AbstractConfigOverviewFilter

      public AbstractConfigOverviewFilter()
  • Method Details

    • filter

      public 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 interface ConfigOverviewFilter
      Parameters:
      cstic - characteristic to be filtered
      Returns:
      a list of assigned values valid for the filter
    • filter

      public List<CsticValueModel> filter(CsticModel cstic, 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 interface ConfigOverviewFilter
      Parameters:
      cstic - characteristic to be filtered
      appliedFilters - list of applied filters
      Returns:
      a list of assigned values valid for the filter