Package org.hibernate.metamodel.mapping
Interface FilterRestrictable
- All Known Subinterfaces:
CollectionPersister,EntityMappingType,EntityPersister,InFlightEntityMappingType,PluralAttributeMapping,Restrictable
- All Known Implementing Classes:
AbstractCollectionPersister,AbstractEntityPersister,AnonymousTupleEntityValuedModelPart,BasicCollectionPersister,JoinedSubclassEntityPersister,OneToManyPersister,PluralAttributeMappingImpl,SingleTableEntityPersister,UnionSubclassEntityPersister
public interface FilterRestrictable
Things that can have associated
Filter declarations.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidapplyFilterRestrictions(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 Details
-
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
-
applyFilterRestrictions(Consumer, TableGroup, boolean, Map, boolean, SqlAstCreationState)instead