|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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 org.hibernate.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) org.hibernate.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 org.hibernate.Session session
Constructor Detail |
---|
QueryRuntimeFilterManager(DbControl dc)
DbControl
.
Method Detail |
---|
org.hibernate.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()
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |