org.hibernate.util
Class FilterHelper
java.lang.Object
org.hibernate.util.FilterHelper
public class FilterHelper
- extends Object
Implementation of FilterHelper.
- Author:
- Steve Ebersole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterHelper
public FilterHelper(Map filters,
Dialect dialect,
SQLFunctionRegistry functionRegistry)
- 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 dialectfunctionRegistry
- The SQL function registry
isAffectedBy
public boolean isAffectedBy(Map enabledFilters)
render
public String render(String alias,
Map enabledFilters)
render
public void render(StringBuffer buffer,
String alias,
Map enabledFilters)