Interface ConfigOverviewFilter

All Known Implementing Classes:
AbstractConfigOverviewFilter, PriceRelevantValueFilter, UserAssignedValueFilter, VisibleValueFilter

public interface ConfigOverviewFilter
Filter for characteristic values of the configuration overview.
  • Method Details

    • filter

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

      Filters the assigned values of the given characteristic. Caller has to take care that filter is active.
      Parameters:
      cstic - characteristic to be filtered
      Returns:
      a list of assigned values valid for the filter
    • filter

      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

      List<CsticValueModel> 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. 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
    • isActive

      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