DataProvider.
For in-memory case (ListDataProvider), use predicates as filters. For back-end DataProviders,
filters are specific to the implementation.@Deprecated public final class And extends AbstractJunctionFilter
Container.Filter that accepts an item if all of its filters accept
the item.
If no filters are given, the filter should accept all items.
This filter also directly supports in-memory filtering when all sub-filters
do so.Or,
Serialized Formfilters| Constructor and Description |
|---|
And(Container.Filter... filters)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
passesFilter(Object itemId,
Item item)
Deprecated.
Check if an item passes the filter (in-memory filtering).
|
appliesToProperty, equals, getFilters, hashCodepublic And(Container.Filter... filters)
filters - filters of which the And filter will be composedpublic boolean passesFilter(Object itemId, Item item) throws UnsupportedFilterException
Container.FilteritemId - identifier of the item being filtered; may be null when
the item is being added to the containeritem - the item being filteredUnsupportedFilterExceptionCopyright © 2019 Vaadin Ltd. All rights reserved.