Package net.sf.basedb.core
Class QueryRuntimeFilterManager
- java.lang.Object
-
- net.sf.basedb.core.QueryRuntimeFilterManager
-
class QueryRuntimeFilterManager extends Object
This class manages the enabling/disabling ofQueryRuntimeFilter
:s. Instances of this class are created byAbstractEntityQuery
before a query is executed.- Version:
- 2.0
- Author:
- Nicklas
- See Also:
- Developer documentation: The Query API
- Last modified
- $Date: 2015-06-22 15:37:26 +0200 (må, 22 jun 2015) $
-
-
Constructor Summary
Constructors Constructor Description QueryRuntimeFilterManager(DbControl dc, Item itemType)
Create a new manager for theDbControl
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (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
-
-
-
Method Detail
-
enableFilter
org.hibernate.Filter enableFilter(String filterName)
Enable a filter, unless it has already been enabled- Parameters:
filterName
- The name of the filter to enable- Returns:
- A
org.hibernate.Filter
object, or null if the filter already was enabled
-
disableFilter
void disableFilter(String filterName)
Disable a filter.- Parameters:
filterName
- The name of the filter
-
disableAll
void disableAll()
Disable all filters.
-
-