public class AppendSortDataProvider<T,F>
Creates a new data provider which delegates to delegate but always appends given list of sort orders. This class can be used to specify the default ordering if the Grid is currently unsorted.
| Constructor and Description |
|---|
AppendSortDataProvider(java.util.List<? extends com.vaadin.data.provider.QuerySortOrder> append,
com.vaadin.data.provider.DataProvider<T,F> delegate)
Creates a new data provider which delegates to delegate but always appends given list of sort orders.
This class can be used to specify the default ordering if the Grid is currently unsorted.
|
| Modifier and Type | Method and Description |
|---|---|
com.vaadin.shared.Registration |
addDataProviderListener(com.vaadin.data.provider.DataProviderListener<T> p0) |
java.util.stream.Stream<T> |
fetch(com.vaadin.data.provider.Query<T,F> query) |
boolean |
isInMemory() |
void |
refreshAll() |
void |
refreshItem(T p0) |
int |
size(com.vaadin.data.provider.Query<T,F> p0) |
public AppendSortDataProvider(java.util.List<? extends com.vaadin.data.provider.QuerySortOrder> append,
com.vaadin.data.provider.DataProvider<T,F> delegate)
Creates a new data provider which delegates to delegate but always appends given list of sort orders. This class can be used to specify the default ordering if the Grid is currently unsorted.
public java.util.stream.Stream<T> fetch(com.vaadin.data.provider.Query<T,F> query)
public com.vaadin.shared.Registration addDataProviderListener(com.vaadin.data.provider.DataProviderListener<T> p0)
public boolean isInMemory()
public void refreshAll()
public void refreshItem(T p0)
public int size(com.vaadin.data.provider.Query<T,F> p0)