Package | Description |
---|---|
com.vaadin.data.provider | |
com.vaadin.ui | |
com.vaadin.ui.components.grid |
Modifier and Type | Method and Description |
---|---|
protected QuerySortOrder |
QuerySortOrderBuilder.createSortOrder(String by,
SortDirection direction) |
Modifier and Type | Method and Description |
---|---|
List<QuerySortOrder> |
Sort.SortBuilder.build()
Returns an unmodifiable list of the current sort order in this sort
builder.
|
List<QuerySortOrder> |
HierarchyMapper.getBackEndSorting()
Gets the current back-end sorting.
|
List<QuerySortOrder> |
DataCommunicator.getBackEndSorting()
Returns the
QuerySortOrder to use with backend sorting. |
List<QuerySortOrder> |
Query.getSortOrders()
Gets the sorting for items to fetch.
|
Modifier and Type | Method and Description |
---|---|
default void |
BackEndDataProvider.setSortOrder(QuerySortOrder sortOrder)
Sets a single sort order to use as the default sorting for this data
provider.
|
Modifier and Type | Method and Description |
---|---|
void |
HierarchyMapper.setBackEndSorting(List<QuerySortOrder> backEndSorting)
Sets the current back-end sorting.
|
void |
HierarchicalDataCommunicator.setBackEndSorting(List<QuerySortOrder> sortOrder) |
void |
DataCommunicator.setBackEndSorting(List<QuerySortOrder> sortOrder)
Sets the
QuerySortOrder s to use with backend sorting. |
void |
BackEndDataProvider.setSortOrders(List<QuerySortOrder> sortOrders)
Sets a list of sort orders to use as the default sorting for this data
provider.
|
void |
AbstractBackEndHierarchicalDataProvider.setSortOrders(List<QuerySortOrder> sortOrders) |
void |
AbstractBackEndDataProvider.setSortOrders(List<QuerySortOrder> sortOrders) |
Constructor and Description |
---|
HierarchicalQuery(int offset,
int limit,
List<QuerySortOrder> sortOrders,
Comparator<T> inMemorySorting,
F filter,
T parent)
Constructs a new hierarchical query object with given offset, limit,
sorting and filtering.
|
Query(int offset,
int limit,
List<QuerySortOrder> sortOrders,
Comparator<T> inMemorySorting,
F filter)
Constructs a new Query object with given offset, limit, sorting and
filtering.
|
Modifier and Type | Method and Description |
---|---|
Stream<QuerySortOrder> |
Grid.Column.getSortOrder(SortDirection direction)
Gets the sort orders to use with back-end sorting for this column
when sorting in the given direction.
|
Modifier and Type | Method and Description |
---|---|
Stream<T> |
Grid.FetchItemsCallback.fetchItems(List<QuerySortOrder> sortOrder,
int offset,
int limit)
Returns a stream of items ordered by given sort orders, limiting the
results with given offset and limit.
|
Modifier and Type | Method and Description |
---|---|
Stream<QuerySortOrder> |
SortOrderProvider.apply(SortDirection sortDirection)
Generates the sort orders when rows are sorted by a column.
|
Copyright © 2019 Vaadin Ltd. All rights reserved.