The interface LazyFindAllCrudOperationListener requires DataProvider<T, Void> on its getDataProvider() which prevents other implementations which does not use Void as a filter on the second generic. This could be resolved by making the interface be as:
public interface LazyFindAllCrudOperationListener<T> extends FindAllCrudOperationListener<T> {
DataProvider<T, ?> getDataProvider();
}
Vaadin grid method for setting DataProvider requires DataProvider<T, ?> which I assume with the implementation above it will still work.
The interface
LazyFindAllCrudOperationListene
r requiresDataProvider<T, Void>
on itsgetDataProvider()
which prevents other implementations which does not use Void as a filter on the second generic. This could be resolved by making the interface be as:Vaadin grid method for setting DataProvider requires DataProvider<T, ?> which I assume with the implementation above it will still work.