Interface FilterSource

All Known Implementing Classes:
FilterSourceImpl

public interface FilterSource
Defines the source of filter information. May have an associated FilterDefinition. Relates to both <filter/> and @Filter
Author:
Steve Ebersole
  • Method Details

    • getName

      String getName()
      Get the name of the filter being described.
      Returns:
      The name.
    • getCondition

      String getCondition()
      Get the condition associated with the filter. Can be null 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:
    • 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

      Map<String,String> getAliasToTableMap()
      Get the map of explicit alias to table name mappings.
      Returns:
      The alias to table map
    • getAliasToEntityMap

      Map<String,String> getAliasToEntityMap()
      Get the map of explicit alias to entity name mappings.
      Returns:
      The alias to entity map