org.hibernate.internal
Class FilterHelper

java.lang.Object
  extended by org.hibernate.internal.FilterHelper

public class FilterHelper
extends Object

Implementation of FilterHelper.


Constructor Summary
FilterHelper(List filters, SessionFactoryImplementor factory)
          The map of defined filters.
 
Method Summary
 boolean isAffectedBy(Map enabledFilters)
           
 String render(FilterAliasGenerator aliasGenerator, Map enabledFilters)
           
 void render(StringBuilder buffer, FilterAliasGenerator aliasGenerator, Map enabledFilters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterHelper

public FilterHelper(List filters,
                    SessionFactoryImplementor factory)
The map of defined filters. This is expected to be in format where the filter names are the map keys, and the defined conditions are the values.

Parameters:
filters - The map of defined filters.
dialect - The sql dialect
factory - The session factory
Method Detail

isAffectedBy

public boolean isAffectedBy(Map enabledFilters)

render

public String render(FilterAliasGenerator aliasGenerator,
                     Map enabledFilters)

render

public void render(StringBuilder buffer,
                   FilterAliasGenerator aliasGenerator,
                   Map enabledFilters)


Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.