Interface ConfigOverviewFilter

    • Method Detail

      • filter

        java.util.List<CsticValueModel> filter​(CsticModel cstic,
                                               java.util.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

        java.util.List<CsticValueModel> filter​(CsticModel cstic)
        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

        java.util.List<CsticValueModel> filter​(java.util.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. 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

        java.util.List<CsticValueModel> noMatch​(java.util.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​(java.util.List<FilterEnum> appliedFilters)
        Parameters:
        appliedFilters - list of applied filters
        Returns:
        true if the current filter is part of the list of applied filters