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
,MockCollectionPersister
,MockEntityPersister
,OneToManyPersister
,PluralAttributeMappingImpl
,ProcessorSessionFactory.ElementCollectionPersister
,ProcessorSessionFactory.EntityPersister
,ProcessorSessionFactory.ToManyAssociationPersister
,SingleTableEntityPersister
,UnionSubclassEntityPersister
public interface FilterRestrictable
Things that can have associated
Filter
declarations.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyFilterRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, SqlAstCreationState creationState) Applies just theFilter
values enabled for the associated entitydefault 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.
-
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 theFilter
values 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 theFilter
values enabled for the associated entity
-
applyFilterRestrictions(Consumer, TableGroup, boolean, Map, boolean, SqlAstCreationState)
instead