DataProvider. For in-memory case
(ListDataProvider), use predicates as filters. For
back-end DataProviders, filters are specific to the
implementation.@Deprecated public final class SimpleStringFilter extends Object implements Container.Filter
| Constructor and Description |
|---|
SimpleStringFilter(Object propertyId,
String filterString,
boolean ignoreCase,
boolean onlyMatchPrefix)
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.
|
String |
getFilterString()
Deprecated.
Returns the filter string.
|
Object |
getPropertyId()
Deprecated.
Returns the property identifier to which this filter applies.
|
int |
hashCode()
Deprecated.
|
boolean |
isIgnoreCase()
Deprecated.
Returns whether the filter is case-insensitive or case-sensitive.
|
boolean |
isOnlyMatchPrefix()
Deprecated.
Returns true if the filter only applies to the beginning of the value
string, false for any location in the value.
|
boolean |
passesFilter(Object itemId,
Item item)
Deprecated.
Check if an item passes the filter (in-memory filtering).
|
public boolean passesFilter(Object itemId, Item item)
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 filteredpublic boolean appliesToProperty(Object propertyId)
Container.FilterappliesToProperty in interface Container.Filterpublic Object getPropertyId()
public String getFilterString()
public boolean isIgnoreCase()
public boolean isOnlyMatchPrefix()
Copyright © 2019 Vaadin Ltd. All rights reserved.