Interface FilterRestrictable
- All Known Subinterfaces:
CollectionPersister, EntityMappingType, EntityPersister, PluralAttributeMapping, Restrictable
- All Known Implementing Classes:
AbstractCollectionPersister, AbstractEntityPersister, BasicCollectionPersister, JoinedSubclassEntityPersister, OneToManyPersister, SingleTableEntityPersister, UnionSubclassEntityPersister
-
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