static class QueryRuntimeFilterFactory.ChainedFilter extends java.lang.Object implements QueryRuntimeFilter
QueryRuntimeFilter.enableFilters(QueryRuntimeFilterManager, EntityQuery, DbControl)
for each of the chained filters.Modifier and Type | Field and Description |
---|---|
private java.util.List<QueryRuntimeFilter> |
filterChain
The list of chained filters.
|
Constructor and Description |
---|
ChainedFilter(java.util.List<QueryRuntimeFilter> filterChain)
Create a new
ChainedFilter object. |
ChainedFilter(QueryRuntimeFilter... filterChain)
Create a new
ChainedFilter object. |
Modifier and Type | Method and Description |
---|---|
void |
enableFilters(QueryRuntimeFilterManager manager,
EntityQuery query,
DbControl dc)
Call
QueryRuntimeFilter.enableFilters(QueryRuntimeFilterManager, EntityQuery, DbControl)
for each of the chained filters. |
private final java.util.List<QueryRuntimeFilter> filterChain
ChainedFilter(java.util.List<QueryRuntimeFilter> filterChain)
ChainedFilter
object.ChainedFilter(QueryRuntimeFilter... filterChain)
ChainedFilter
object.public void enableFilters(QueryRuntimeFilterManager manager, EntityQuery query, DbControl dc)
QueryRuntimeFilter.enableFilters(QueryRuntimeFilterManager, EntityQuery, DbControl)
for each of the chained filters.enableFilters
in interface QueryRuntimeFilter
manager
- A manager that is used to actually enabled the filterquery
- The query that is going to be executed, it is not possible
to modify the query, the actual HQL may already have been generateddc
- The DbControl
used for database access and
permission checking