T- the data provider item type
Q- the query filter type
C- the configurable filter type
F- the filter type of the wrapped data provider
public abstract class ConfigurableFilterDataProviderWrapper<T,Q,C,F> extends DataProviderWrapper<T,Q,F> implements ConfigurableFilterDataProvider<T,Q,C>
|Constructor and Description|
Creates a new configurable filter data provider by wrapping an existing data provider.
|Modifier and Type||Method and Description|
Combines the configured filter and the filter from the query into one filter instance that can be passed to the wrapped data provider.
Gets the filter that should be used in the modified Query.
Sets the filter to use for all queries handled by this data provider.
addDataProviderListener, fetch, getId, isInMemory, refreshAll, refreshItem, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
nulland the query has no filter.
queryFilter- the filter received through the query, or
nullif no filter was provided in the query
configuredFilter- the filter that this data provider is configured to use, or
nullif no filter has been configured
nullto not pass any filter to the wrapped data provider
public void setFilter(C filter)
Copyright © 2018. All rights reserved.