kd.bos.entity.filter

## 类 FilterUtil

- java.lang.Object
- - kd.bos.entity.filter.FilterUtil

-     public class FilterUtil
      extends java.lang.Object

- - ### 方法概要

    所有方法 静态方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `static java.util.List<kd.bos.orm.query.QFilter>` | `buildBaseDataF7QFilters(kd.bos.dataentity.metadata.IDataEntityProperty basedataProp, IDataModel model, java.lang.String appId, java.lang.String baseEntityId, java.util.List<kd.bos.orm.query.QFilter> userQFilters, java.lang.String permissionItem)`
    `static java.util.List<kd.bos.orm.query.QFilter>` | `buildBaseDataPropertyQFilters(IDataModel model, java.lang.String baseEntityTypeId, kd.bos.dataentity.metadata.IDataEntityProperty property, java.lang.String appId, java.lang.String permissionItem)`
    `static java.util.List<kd.bos.orm.query.QFilter>` | `buildDataPermissionFilter(F7FilterParam param)`
    `static kd.bos.orm.query.QFilter` | `combineFilter(kd.bos.orm.query.QFilter toQFilter, kd.bos.orm.query.QFilter fromQFilter)`
    `static kd.bos.orm.query.QFilter` | `combineFilter(kd.bos.orm.query.QFilter toQFilter, kd.bos.orm.query.QFilter fromQFilter, LogicOperate logicOperate)` 合并列表过滤条件参数
    `static java.util.List<CompareTypeDto>` | `getCompareTypeDtos(java.util.List<CompareType> compareTypes)`
    `static <T> java.util.List<T>` | `getValidValues(java.util.List<java.lang.Object> valueList)`

    - ### 从类继承的方法 java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 方法详细资料

    - #### getValidValues

          public static <T> java.util.List<T> getValidValues(java.util.List<java.lang.Object> valueList)

    - #### getCompareTypeDtos

          public static java.util.List<CompareTypeDto> getCompareTypeDtos(java.util.List<CompareType> compareTypes)

    - #### combineFilter

          public static kd.bos.orm.query.QFilter combineFilter(kd.bos.orm.query.QFilter toQFilter,
                                                               kd.bos.orm.query.QFilter fromQFilter)

    - #### combineFilter

          public static kd.bos.orm.query.QFilter combineFilter(kd.bos.orm.query.QFilter toQFilter,
                                                               kd.bos.orm.query.QFilter fromQFilter,
                                                               LogicOperate logicOperate)

      合并列表过滤条件参数
      参数:
        `toFilterParameter` - 最终的过滤条件参数
        `formFilterParamter` - 已有的过滤条件参数

    - #### buildBaseDataPropertyQFilters

          public static java.util.List<kd.bos.orm.query.QFilter> buildBaseDataPropertyQFilters(IDataModel model,
                                                                                               java.lang.String baseEntityTypeId,
                                                                                               kd.bos.dataentity.metadata.IDataEntityProperty property,
                                                                                               java.lang.String appId,
                                                                                               java.lang.String permissionItem)

    - #### buildDataPermissionFilter

          public static java.util.List<kd.bos.orm.query.QFilter> buildDataPermissionFilter(F7FilterParam param)

    - #### buildBaseDataF7QFilters

          public static java.util.List<kd.bos.orm.query.QFilter> buildBaseDataF7QFilters(kd.bos.dataentity.metadata.IDataEntityProperty basedataProp,
                                                                                         IDataModel model,
                                                                                         java.lang.String appId,
                                                                                         java.lang.String baseEntityId,
                                                                                         java.util.List<kd.bos.orm.query.QFilter> userQFilters,
                                                                                         java.lang.String permissionItem)