接口 FilterState


public interface FilterState
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    isAffected(org.babyfish.jimmer.meta.ImmutableType type)
    Check whether some global filters have been applied to an entity type
  • 方法详细资料

    • isAffected

      boolean isAffected(org.babyfish.jimmer.meta.ImmutableType type)
      Check whether some global filters have been applied to an entity type

      You can use this method to check whether an association property should be multi-view cache, by check its target type

      Unfortunately, there is no way to tell you that a calculated property should be multi-view cache, using your business knowledge to judge is the only way.
      参数:
      type - An entity type
      返回:
      Whether some global filters have been applied