类 FilterManager
java.lang.Object
org.babyfish.jimmer.sql.filter.impl.FilterManager
- 所有已实现的接口:
Filters
-
嵌套类概要
嵌套类 -
构造器概要
构造器构造器说明FilterManager(AopProxyProvider aopProxyProvider, LogicalDeletedFilterProvider provider, List<Filter<?>> filters, Collection<Filter<?>> disabledFilters) -
方法概要
修饰符和类型方法说明booleancontains(org.babyfish.jimmer.meta.ImmutableType type) static Filter<?>disable(Collection<Filter<?>> filters) disableByTypes(Collection<Class<?>> filterTypes) enable(Collection<Filter<?>> filters) enableByTypes(Collection<Class<?>> filterTypes) static voidSet<org.babyfish.jimmer.meta.ImmutableType>getAffectedTypes(Collection<org.babyfish.jimmer.meta.ImmutableType> allTypes) @NotNull LogicalDeletedBehaviorgetFilter(org.babyfish.jimmer.meta.ImmutableType type, boolean shardingOnly) static org.babyfish.jimmer.meta.ImmutableTypegetImmutableType(Filter<?> filter) getLogicalDeletedFilter(org.babyfish.jimmer.meta.ImmutableType type) getParameterMapRef(Class<?> type) Returns the reference wrapper of parameterMapgetParameterMapRef(org.babyfish.jimmer.meta.ImmutableType type) Returns the reference wrapper of parameterMapgetTargetFilter(org.babyfish.jimmer.meta.ImmutableProp prop, boolean shardingOnly) getTargetFilter(org.babyfish.jimmer.meta.TypedProp.Association<?, ?> prop, boolean shardingOnly) getTargetParameterMapRef(org.babyfish.jimmer.meta.ImmutableProp prop) Returns the reference wrapper of parameterMapgetTargetParameterMapRef(org.babyfish.jimmer.meta.TypedProp.Association<?, ?> prop) Returns the reference wrapper of parameterMapvoidinitialize(JSqlClientImplementor sqlClient) booleanisNullableRequired(org.babyfish.jimmer.meta.ImmutableProp prop) setBehavior(LogicalDeletedBehavior behavior) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.babyfish.jimmer.sql.filter.Filters
getFilter, getFilter, getTargetFilter, getTargetFilter
-
构造器详细资料
-
FilterManager
public FilterManager(AopProxyProvider aopProxyProvider, LogicalDeletedFilterProvider provider, List<Filter<?>> filters, Collection<Filter<?>> disabledFilters)
-
-
方法详细资料
-
getFilter
-
getFilter
-
getTargetFilter
public Filter<Props> getTargetFilter(org.babyfish.jimmer.meta.TypedProp.Association<?, ?> prop, boolean shardingOnly) - 指定者:
getTargetFilter在接口中Filters
-
getTargetFilter
public Filter<Props> getTargetFilter(org.babyfish.jimmer.meta.ImmutableProp prop, boolean shardingOnly) - 指定者:
getTargetFilter在接口中Filters
-
getLogicalDeletedFilter
- 指定者:
getLogicalDeletedFilter在接口中Filters
-
getParameterMapRef
从接口复制的说明:FiltersReturns the reference wrapper of parameterMap- 指定者:
getParameterMapRef在接口中Filters- 参数:
type- The filtered type- 返回:
- If the `Ref` itself is null, means there is a filter but not cacheable filter
- If the `Ref` itself is not null, there is no filter or there is a cacheable filter
-
getParameterMapRef
public org.babyfish.jimmer.lang.Ref<SortedMap<String,Object>> getParameterMapRef(org.babyfish.jimmer.meta.ImmutableType type) 从接口复制的说明:FiltersReturns the reference wrapper of parameterMap- 指定者:
getParameterMapRef在接口中Filters- 参数:
type- The filtered type- 返回:
- If the `Ref` itself is null, means there is a filter but not cacheable filter
- If the `Ref` itself is not null, there is no filter or there is a cacheable filter
-
getTargetParameterMapRef
public org.babyfish.jimmer.lang.Ref<SortedMap<String,Object>> getTargetParameterMapRef(org.babyfish.jimmer.meta.ImmutableProp prop) 从接口复制的说明:FiltersReturns the reference wrapper of parameterMap- 指定者:
getTargetParameterMapRef在接口中Filters- 参数:
prop- The property associates the filtered type- 返回:
- If the `Ref` itself is null, means there is a filter but not cacheable filter
- If the `Ref` itself is not null, there is no filter or there is a cacheable filter
-
getTargetParameterMapRef
public org.babyfish.jimmer.lang.Ref<SortedMap<String,Object>> getTargetParameterMapRef(org.babyfish.jimmer.meta.TypedProp.Association<?, ?> prop) 从接口复制的说明:FiltersReturns the reference wrapper of parameterMap- 指定者:
getTargetParameterMapRef在接口中Filters- 参数:
prop- The property associates the filtered type- 返回:
- If the `Ref` itself is null, means there is a filter but not cacheable filter
- If the `Ref` itself is not null, there is no filter or there is a cacheable filter
-
setBehavior
-
enable
-
disable
-
enableByTypes
-
disableByTypes
-
disableAll
-
initialize
-
contains
public boolean contains(org.babyfish.jimmer.meta.ImmutableType type) -
isNullableRequired
public boolean isNullableRequired(org.babyfish.jimmer.meta.ImmutableProp prop) -
getImmutableType
-
getAffectedTypes
public Set<org.babyfish.jimmer.meta.ImmutableType> getAffectedTypes(Collection<org.babyfish.jimmer.meta.ImmutableType> allTypes) -
getBehavior
- 指定者:
getBehavior在接口中Filters
-
currentFilter
-
executing
-