DataProvider.
For in-memory case (ListDataProvider), use predicates as filters. For back-end DataProviders,
filters are specific to the implementation.@Deprecated public class Between extends Object implements Container.Filter
| Constructor and Description |
|---|
Between(Object propertyId,
Comparable<?> startValue,
Comparable<?> endValue)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
appliesToProperty(Object propertyId)
Deprecated.
Check if a change in the value of a property can affect the filtering
result.
|
boolean |
equals(Object obj)
Deprecated.
|
Comparable<?> |
getEndValue()
Deprecated.
|
Object |
getPropertyId()
Deprecated.
|
Comparable<?> |
getStartValue()
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
passesFilter(Object itemId,
Item item)
Deprecated.
Check if an item passes the filter (in-memory filtering).
|
public Between(Object propertyId, Comparable<?> startValue, Comparable<?> endValue)
public Object getPropertyId()
public Comparable<?> getStartValue()
public Comparable<?> getEndValue()
public boolean passesFilter(Object itemId, Item item) throws UnsupportedOperationException
Container.FilterpassesFilter in interface Container.FilteritemId - identifier of the item being filtered; may be null when
the item is being added to the containeritem - the item being filteredUnsupportedOperationException - if the filter cannot be used for in-memory filteringpublic boolean appliesToProperty(Object propertyId)
Container.FilterappliesToProperty in interface Container.FilterCopyright © 2019 Vaadin Ltd. All rights reserved.