Interface FilterSource
-
public interface FilterSource
Defines the source of filter information. May have an associatedFilterDefinition
. Relates to both<filter/>
and@Filter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
getAliasToEntityMap()
Get the map of explicit alias to entity name mappings.java.util.Map<java.lang.String,java.lang.String>
getAliasToTableMap()
Get the map of explicit alias to table name mappings.java.lang.String
getCondition()
Get the condition associated with the filter.java.lang.String
getName()
Get the name of the filter being described.boolean
shouldAutoInjectAliases()
Should Hibernate perform automatic alias injection into the supplied condition string? The default is to perform auto injection *unless* explicit alias(es) are supplied.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Get the name of the filter being described.- Returns:
- The name.
-
getCondition
java.lang.String getCondition()
Get the condition associated with the filter. Can benull
in the case of a filter described further by a "filter def" which contains the condition text.- Returns:
- The condition defined on the filter.
- See Also:
FilterSourceImpl.getCondition()
-
shouldAutoInjectAliases
boolean shouldAutoInjectAliases()
Should Hibernate perform automatic alias injection into the supplied condition string? The default is to perform auto injection *unless* explicit alias(es) are supplied.- Returns:
true
indicates auto injection should occur;false
that it should not
-
getAliasToTableMap
java.util.Map<java.lang.String,java.lang.String> getAliasToTableMap()
Get the map of explicit alias to table name mappings.- Returns:
- The alias to table map
-
getAliasToEntityMap
java.util.Map<java.lang.String,java.lang.String> getAliasToEntityMap()
Get the map of explicit alias to entity name mappings.- Returns:
- The alias to entity map
-
-