Package com.vaadin.v7.data.util.filter
Class Between
- java.lang.Object
-
- com.vaadin.v7.data.util.filter.Between
-
- All Implemented Interfaces:
Container.Filter
,Serializable
@Deprecated public class Between extends Object implements Container.Filter
Deprecated.As of 8.0, the whole filtering feature is integrated intoDataProvider
. For in-memory case (ListDataProvider
), use predicates as filters. For back-end DataProviders, filters are specific to the implementation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Between(Object propertyId, Comparable<?> startValue, Comparable<?> endValue)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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).
-
-
-
Constructor Detail
-
Between
public Between(Object propertyId, Comparable<?> startValue, Comparable<?> endValue)
Deprecated.
-
-
Method Detail
-
getPropertyId
public Object getPropertyId()
Deprecated.
-
getStartValue
public Comparable<?> getStartValue()
Deprecated.
-
getEndValue
public Comparable<?> getEndValue()
Deprecated.
-
passesFilter
public boolean passesFilter(Object itemId, Item item) throws UnsupportedOperationException
Deprecated.Description copied from interface:Container.Filter
Check if an item passes the filter (in-memory filtering).- Specified by:
passesFilter
in interfaceContainer.Filter
- Parameters:
itemId
- identifier of the item being filtered; may be null when the item is being added to the containeritem
- the item being filtered- Returns:
- true if the item is accepted by this filter
- Throws:
UnsupportedOperationException
- if the filter cannot be used for in-memory filtering
-
appliesToProperty
public boolean appliesToProperty(Object propertyId)
Deprecated.Description copied from interface:Container.Filter
Check if a change in the value of a property can affect the filtering result. May always return true, at the cost of performance. If the filter cannot determine whether it may depend on the property or not, should return true.- Specified by:
appliesToProperty
in interfaceContainer.Filter
- Returns:
- true if the filtering result may/does change based on changes to the property identified by propertyId
-
-