public interface VaadinSpringDataHelpers extends Serializable
| Modifier and Type | Method and Description |
|---|---|
static org.springframework.data.domain.Sort |
toSpringDataSort(com.vaadin.flow.data.provider.Query<?,?> vaadinQuery)
Translates given Query object from a Vaadin component to Spring Data Sort
object.
|
static org.springframework.data.domain.Sort toSpringDataSort(com.vaadin.flow.data.provider.Query<?,?> vaadinQuery)
Can be used as a helper when making a lazy data binding from a Vaadin component to a Spring Data based back-end. The method expects Vaadin sort data to include the property name.
vaadinQuery - the Vaadin Query object passed by the componentCopyright © 2020 Vaadin Ltd. All Rights Reserved.