Package com.vaadin.v7.data.util.filter
Class AbstractJunctionFilter
- java.lang.Object
-
- com.vaadin.v7.data.util.filter.AbstractJunctionFilter
-
- All Implemented Interfaces:
Container.Filter
,Serializable
@Deprecated public abstract class AbstractJunctionFilter 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.Abstract base class for filters that are composed of multiple sub-filters. The methodappliesToProperty(Object)
is provided to help implementingContainer.Filter
for in-memory filters.- Since:
- 6.6
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Collection<Container.Filter>
filters
Deprecated.
-
Constructor Summary
Constructors Constructor Description AbstractJunctionFilter(Container.Filter... filters)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
appliesToProperty(Object propertyId)
Deprecated.Returns true if a change in the named property may affect the filtering result.boolean
equals(Object obj)
Deprecated.Collection<Container.Filter>
getFilters()
Deprecated.Returns an unmodifiable collection of the sub-filters of this composite filter.int
hashCode()
Deprecated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.v7.data.Container.Filter
passesFilter
-
-
-
-
Field Detail
-
filters
protected final Collection<Container.Filter> filters
Deprecated.
-
-
Constructor Detail
-
AbstractJunctionFilter
public AbstractJunctionFilter(Container.Filter... filters)
Deprecated.
-
-
Method Detail
-
getFilters
public Collection<Container.Filter> getFilters()
Deprecated.Returns an unmodifiable collection of the sub-filters of this composite filter.- Returns:
-
appliesToProperty
public boolean appliesToProperty(Object propertyId)
Deprecated.Returns true if a change in the named property may affect the filtering result. If some of the sub-filters are not in-memory filters, true is returned. By default, all sub-filters are iterated to check if any of them applies. If there are no sub-filters, false is returned - override in subclasses to change this behavior.- Specified by:
appliesToProperty
in interfaceContainer.Filter
- Returns:
- true if the filtering result may/does change based on changes to the property identified by propertyId
-
-