| Package | Description |
|---|---|
| com.vaadin.data |
Contains interfaces for the data layer, mainly for binding typed
data and data collections to components, and for validating data.
|
| com.vaadin.data.util |
Provides implementations of Property, Item and Container
interfaces, and utilities for the data layer.
|
| com.vaadin.data.util.filter | |
| com.vaadin.data.util.sqlcontainer | |
| com.vaadin.data.util.sqlcontainer.query | |
| com.vaadin.data.util.sqlcontainer.query.generator | |
| com.vaadin.data.util.sqlcontainer.query.generator.filter | |
| com.vaadin.ui |
| Modifier and Type | Method and Description |
|---|---|
Collection<Container.Filter> |
Container.Filterable.getContainerFilters()
Returns the filters which have been applied to the container
|
| Modifier and Type | Method and Description |
|---|---|
void |
Container.Filterable.addContainerFilter(Container.Filter filter)
Adds a filter for the container.
|
void |
Container.Filterable.removeContainerFilter(Container.Filter filter)
Removes a filter from the container.
|
| Modifier and Type | Method and Description |
|---|---|
Container.Filter |
PropertyValueGenerator.modifyFilter(Container.Filter filter)
Return an updated filter that should be compatible with the underlying
container.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Container.Filter> |
IndexedContainer.getContainerFilters() |
Collection<Container.Filter> |
GeneratedPropertyContainer.getContainerFilters() |
protected Collection<Container.Filter> |
AbstractInMemoryContainer.getContainerFilters() |
Collection<Container.Filter> |
AbstractBeanContainer.getContainerFilters() |
protected Set<Container.Filter> |
AbstractInMemoryContainer.getFilters()
Returns the internal collection of filters.
|
protected Collection<Container.Filter> |
AbstractInMemoryContainer.removeFilters(Object propertyId)
Remove all container filters for a given property identifier and
re-filter the view.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IndexedContainer.addContainerFilter(Container.Filter filter) |
void |
GeneratedPropertyContainer.addContainerFilter(Container.Filter filter) |
void |
AbstractBeanContainer.addContainerFilter(Container.Filter filter) |
protected void |
AbstractInMemoryContainer.addFilter(Container.Filter filter)
Adds a container filter and re-filter the view.
|
Container.Filter |
PropertyValueGenerator.modifyFilter(Container.Filter filter)
Return an updated filter that should be compatible with the underlying
container.
|
void |
IndexedContainer.removeContainerFilter(Container.Filter filter) |
void |
GeneratedPropertyContainer.removeContainerFilter(Container.Filter filter) |
void |
AbstractBeanContainer.removeContainerFilter(Container.Filter filter) |
protected void |
AbstractInMemoryContainer.removeFilter(Container.Filter filter)
Remove a specific container filter and re-filter the view (if necessary).
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractInMemoryContainer.setFilters(Set<Container.Filter> filters)
Set the internal collection of filters without performing filtering.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractJunctionFilter
Abstract base class for filters that are composed of multiple sub-filters.
|
class |
And
A compound
Container.Filter that accepts an item if all of its filters accept
the item. |
class |
Between |
class |
Compare
Simple container filter comparing an item property value against a given
constant value.
|
static class |
Compare.Equal
A
Compare filter that accepts items for which the identified
property value is equal to value. |
static class |
Compare.Greater
A
Compare filter that accepts items for which the identified
property value is greater than value. |
static class |
Compare.GreaterOrEqual
A
Compare filter that accepts items for which the identified
property value is greater than or equal to value. |
static class |
Compare.Less
A
Compare filter that accepts items for which the identified
property value is less than value. |
static class |
Compare.LessOrEqual
A
Compare filter that accepts items for which the identified
property value is less than or equal to value. |
class |
IsNull
Simple container filter checking whether an item property value is null.
|
class |
Like |
class |
Not
Negating filter that accepts the items rejected by another filter.
|
class |
Or
A compound
Container.Filter that accepts an item if any of its filters accept
the item. |
class |
SimpleStringFilter
Simple string filter for matching items that start with or contain a
specified string.
|
| Modifier and Type | Field and Description |
|---|---|
protected Collection<Container.Filter> |
AbstractJunctionFilter.filters |
| Modifier and Type | Method and Description |
|---|---|
Container.Filter |
Not.getFilter()
Returns the negated filter.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Container.Filter> |
AbstractJunctionFilter.getFilters()
Returns an unmodifiable collection of the sub-filters of this composite
filter.
|
| Constructor and Description |
|---|
AbstractJunctionFilter(Container.Filter... filters) |
And(Container.Filter... filters) |
Not(Container.Filter filter)
Constructs a filter that negates a filter.
|
Or(Container.Filter... filters) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Container.Filter> |
SQLContainer.getContainerFilters() |
| Modifier and Type | Method and Description |
|---|---|
void |
SQLContainer.addContainerFilter(Container.Filter filter)
Adds a filter for the container.
|
void |
SQLContainer.removeContainerFilter(Container.Filter filter)
Removes a filter from the container.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TableQuery.setFilters(List<Container.Filter> filters) |
void |
QueryDelegate.setFilters(List<Container.Filter> filters)
Sets the filters to apply when performing the SQL query.
|
void |
FreeformQueryDelegate.setFilters(List<Container.Filter> filters)
Sets the filters to apply when performing the SQL query.
|
void |
FreeformQuery.setFilters(List<Container.Filter> filters) |
| Modifier and Type | Method and Description |
|---|---|
StatementHelper |
SQLGenerator.generateSelectQuery(String tableName,
List<Container.Filter> filters,
List<OrderBy> orderBys,
int offset,
int pagelength,
String toSelect)
Generates a SELECT query with the provided parameters.
|
StatementHelper |
OracleGenerator.generateSelectQuery(String tableName,
List<Container.Filter> filters,
List<OrderBy> orderBys,
int offset,
int pagelength,
String toSelect) |
StatementHelper |
MSSQLGenerator.generateSelectQuery(String tableName,
List<Container.Filter> filters,
List<OrderBy> orderBys,
int offset,
int pagelength,
String toSelect) |
StatementHelper |
DefaultSQLGenerator.generateSelectQuery(String tableName,
List<Container.Filter> filters,
List<OrderBy> orderBys,
int offset,
int pagelength,
String toSelect) |
| Modifier and Type | Method and Description |
|---|---|
static String |
QueryBuilder.getJoinedFilterString(Collection<Container.Filter> filters,
String joinString,
StatementHelper sh) |
static String |
QueryBuilder.getWhereStringForFilters(List<Container.Filter> filters,
StatementHelper sh) |
| Modifier and Type | Method and Description |
|---|---|
protected Container.Filter |
ComboBox.buildFilter(String filterString,
FilteringMode filteringMode)
Constructs a filter instance to use when using a Filterable container in
the
ITEM_CAPTION_MODE_PROPERTY mode. |
Copyright © 2022 Vaadin Ltd. All rights reserved.