Package org.hibernate.metamodel.mapping
Interface FilterRestrictable
-
- All Known Subinterfaces:
CollectionPersister,DeprecatedCollectionStuff,DeprecatedEntityStuff,EntityMappingType,EntityPersister,Joinable,Loadable,Lockable,OuterJoinLoadable,PluralAttributeMapping,PostInsertIdentityPersister,Queryable,QueryableCollection,Restrictable,SQLLoadable,SQLLoadableCollection,UniqueKeyLoadable
- All Known Implementing Classes:
AbstractCollectionPersister,AbstractEntityPersister,AnonymousTupleEntityValuedModelPart,BasicCollectionPersister,JoinedSubclassEntityPersister,OneToManyPersister,SingleTableEntityPersister,UnionSubclassEntityPersister
public interface FilterRestrictableThings that can have associatedFilterdeclarations.- See Also:
WhereRestrictable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description voidapplyFilterRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String,Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, SqlAstCreationState creationState)Applies just theFiltervalues enabled for the associated entitydefault voidapplyFilterRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String,Filter> enabledFilters, SqlAstCreationState creationState)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
applyFilterRestrictions
@Deprecated(forRemoval=true) default void applyFilterRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String,Filter> enabledFilters, SqlAstCreationState creationState)
Deprecated, for removal: This API element is subject to removal in a future version.Applies just theFiltervalues enabled for the associated entity
-
applyFilterRestrictions
void applyFilterRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String,Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, SqlAstCreationState creationState)
Applies just theFiltervalues enabled for the associated entity
-
-