Uses of Interface
org.hibernate.Filter
Packages that use Filter
Package
Description
This package defines the central Hibernate APIs, beginning with
SessionFactory
, which represents an instance of
Hibernate at runtime and is the source of new instances of
Session
and StatelessSession
,
the most important APIs exposing persistence-related operations for
entities.This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
An internal package containing implementations of central Hibernate APIs,
mostly defined in
org.hibernate
.Defines the runtime mapping metamodel, which describes the mapping
of the application's domain model parts (entities, attributes) to
relational database objects (tables, columns).
This package abstracts persistence mechanisms for collections.
This package abstracts persistence mechanisms for entities.
AST nodes representing logical predicates in a SQL tree.
-
Uses of Filter in org.hibernate
Methods in org.hibernate that return FilterModifier and TypeMethodDescriptionSharedSessionContract.enableFilter
(String filterName) Enable the named filter for this current session.SharedSessionContract.getEnabledFilter
(String filterName) Retrieve a currently enabled filter by name.Filter.setParameter
(String name, Object value) Set the named parameter's value for this filter.Filter.setParameterList
(String name, Object[] values) Set the named parameter's value list for this filter.Filter.setParameterList
(String name, Collection<?> values) Set the named parameter's value list for this filter. -
Uses of Filter in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return FilterModifier and TypeMethodDescriptionLoadQueryInfluencers.enableFilter
(String filterName) SessionDelegatorBaseImpl.enableFilter
(String filterName) SessionLazyDelegator.enableFilter
(String filterName) SharedSessionDelegatorBaseImpl.enableFilter
(String filterName) @Nullable Filter
LoadQueryInfluencers.getEnabledFilter
(String filterName) SessionDelegatorBaseImpl.getEnabledFilter
(String filterName) SessionLazyDelegator.getEnabledFilter
(String filterName) SharedSessionDelegatorBaseImpl.getEnabledFilter
(String filterName) Methods in org.hibernate.engine.spi that return types with arguments of type Filter -
Uses of Filter in org.hibernate.internal
Classes in org.hibernate.internal that implement FilterMethods in org.hibernate.internal that return FilterModifier and TypeMethodDescriptionAbstractSharedSessionContract.enableFilter
(String filterName) AbstractSharedSessionContract.getEnabledFilter
(String filterName) FilterImpl.setParameter
(String name, Object value) Set the named parameter's value for this filter.FilterImpl.setParameterList
(String name, Object[] values) Set the named parameter's value list for this filter.FilterImpl.setParameterList
(String name, Collection<?> values) Set the named parameter's value list for this filter.Method parameters in org.hibernate.internal with type arguments of type FilterModifier and TypeMethodDescriptionvoid
FilterHelper.applyEnabledFilters
(Consumer<Predicate> predicateConsumer, FilterAliasGenerator aliasGenerator, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, TableGroup tableGroup, SqlAstCreationState creationState) boolean
FilterHelper.isAffectedBy
(Map<String, Filter> enabledFilters) boolean
FilterHelper.isAffectedBy
(Map<String, Filter> enabledFilters, boolean onlyApplyForLoadByKey) void
FilterHelper.render
(StringBuilder buffer, FilterAliasGenerator aliasGenerator, Map<String, Filter> enabledFilters) FilterHelper.render
(FilterAliasGenerator aliasGenerator, Map<String, Filter> enabledFilters) -
Uses of Filter in org.hibernate.metamodel.mapping
Method parameters in org.hibernate.metamodel.mapping with type arguments of type FilterModifier and TypeMethodDescriptiondefault void
PluralAttributeMapping.applyBaseManyToManyRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) default void
EntityMappingType.applyBaseRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) default void
PluralAttributeMapping.applyBaseRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) void
Restrictable.applyBaseRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) Applies the base set of restrictions.default void
Restrictable.applyBaseRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) Deprecated, for removal: This API element is subject to removal in a future version.default void
EntityMappingType.applyFilterRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, SqlAstCreationState creationState) void
FilterRestrictable.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
FilterRestrictable.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.default void
PluralAttributeMapping.applyFilterRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, SqlAstCreationState creationState) -
Uses of Filter in org.hibernate.persister.collection
Method parameters in org.hibernate.persister.collection with type arguments of type FilterModifier and TypeMethodDescriptionvoid
AbstractCollectionPersister.applyBaseManyToManyRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) void
CollectionPersister.applyBaseManyToManyRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) void
AbstractCollectionPersister.applyBaseRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) void
AbstractCollectionPersister.applyBaseRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) void
AbstractCollectionPersister.applyFilterRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, SqlAstCreationState creationState) AbstractCollectionPersister.getManyToManyFilterFragment
(TableGroup tableGroup, Map<String, Filter> enabledFilters) CollectionPersister.getManyToManyFilterFragment
(TableGroup tableGroup, Map<String, Filter> enabledFilters) -
Uses of Filter in org.hibernate.persister.entity
Method parameters in org.hibernate.persister.entity with type arguments of type FilterModifier and TypeMethodDescriptionvoid
AbstractEntityPersister.applyBaseRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) void
AbstractEntityPersister.applyFilterRestrictions
(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, SqlAstCreationState creationState) -
Uses of Filter in org.hibernate.sql.ast.tree.predicate
Methods in org.hibernate.sql.ast.tree.predicate that return FilterMethods in org.hibernate.sql.ast.tree.predicate with parameters of type FilterModifier and TypeMethodDescriptionvoid
FilterPredicate.applyFragment
(String processedFragment, Filter filter, List<String> parameterNames) Constructors in org.hibernate.sql.ast.tree.predicate with parameters of type FilterModifierConstructorDescriptionFilterFragmentPredicate
(String sqlFragment, Filter filter, List<String> parameterNames)
Restrictable.applyBaseRestrictions(Consumer, TableGroup, boolean, Map, boolean, Set, SqlAstCreationState)
instead