diff options
author | Denis <denis@vaadin.com> | 2017-01-25 09:36:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-25 09:36:29 +0200 |
commit | 6c6161caeb8d4524aba11fa7976366981e090e85 (patch) | |
tree | 3bac170fd710a0611f02ad752a23ebc1946849ef /server/src/main/java/com/vaadin/data/provider/BackEndDataProvider.java | |
parent | dcb8271b50b9d76dd9c56af1f1621ed39072b229 (diff) | |
download | vaadin-framework-6c6161caeb8d4524aba11fa7976366981e090e85.tar.gz vaadin-framework-6c6161caeb8d4524aba11fa7976366981e090e85.zip |
Use non-Generic SortOrder in Query. (#8239)
* Use non-Generic SortOrder in Query.
Fixes #8215
Diffstat (limited to 'server/src/main/java/com/vaadin/data/provider/BackEndDataProvider.java')
-rw-r--r-- | server/src/main/java/com/vaadin/data/provider/BackEndDataProvider.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/main/java/com/vaadin/data/provider/BackEndDataProvider.java b/server/src/main/java/com/vaadin/data/provider/BackEndDataProvider.java index f20b22fa17..36d875a21a 100644 --- a/server/src/main/java/com/vaadin/data/provider/BackEndDataProvider.java +++ b/server/src/main/java/com/vaadin/data/provider/BackEndDataProvider.java @@ -37,12 +37,12 @@ public interface BackEndDataProvider<T, F> extends DataProvider<T, F> { * sorting is also used to determine the ordering of items that are * considered equal by the sorting defined in the query. * - * @see #setSortOrder(SortOrder) + * @see #setSortOrder(QuerySortOrder) * * @param sortOrders * a list of sort orders to set, not <code>null</code> */ - void setSortOrders(List<SortOrder<String>> sortOrders); + void setSortOrders(List<QuerySortOrder> sortOrders); /** * Sets a single sort order to use as the default sorting for this data @@ -59,7 +59,7 @@ public interface BackEndDataProvider<T, F> extends DataProvider<T, F> { * a sort order to set, or <code>null</code> to clear any * previously set sort orders */ - default void setSortOrder(SortOrder<String> sortOrder) { + default void setSortOrder(QuerySortOrder sortOrder) { if (sortOrder == null) { setSortOrders(Collections.emptyList()); } else { |