|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.basedb.core.QueryRuntimeFilterManager
class QueryRuntimeFilterManager
This class manages the enabling/disabling of QueryRuntimeFilter:s.
Instances of this class are created by AbstractEntityQuery before
a query is executed.
| Field Summary | |
|---|---|
private Set<String> |
enabledFilters
The names of already enabled filters. |
private Session |
session
The Hibernate session where the filters should be enabled. |
| Constructor Summary | |
|---|---|
QueryRuntimeFilterManager(DbControl dc)
Create a new manager for the DbControl. |
|
| Method Summary | |
|---|---|
(package private) void |
disableAll()
Disable all filters. |
(package private) void |
disableFilter(String filterName)
Disable a filter. |
(package private) Filter |
enableFilter(String filterName)
Enable a filter, unless it has already been enabled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final Set<String> enabledFilters
private final Session session
| Constructor Detail |
|---|
QueryRuntimeFilterManager(DbControl dc)
DbControl.
| Method Detail |
|---|
Filter enableFilter(String filterName)
filterName - The name of the filter to enable
org.hibernate.Filter object, or null if the
filter already was enabledvoid disableFilter(String filterName)
filterName - The name of the filtervoid disableAll()
|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||