Просмотр исходного кода

Change ConfigurableDataProvider for ConfigurableFilterDataProvider (#9681)

It says ConfigurableDataProvider, but there isn't a ConfigurableDataProvider class.
tags/8.1.1
Josefina Revilla 6 лет назад
Родитель
Сommit
bdb298bfb8
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      documentation/datamodel/datamodel-providers.asciidoc

+ 2
- 2
documentation/datamodel/datamodel-providers.asciidoc Просмотреть файл

@@ -522,13 +522,13 @@ DataProvider<Person, String> onlyString = dataProvider.withConvertedFilter(
);

// For use with some external filter, e.g. a search form
ConfigurableDataProvider<Person, Void, PersonFilter> everythingConfigurable =
ConfigurableFilterDataProvider<Person, Void, PersonFilter> everythingConfigurable =
dataProvider.withConfigurableFilter();
everythingConfigurable.setFilter(
new PersonFilter(someText, someDepartment));

// For use with ComboBox and separate department filtering
ConfigurableDataProvider<Person, String, Department> mixed =
ConfigurableFilterDataProvider<Person, String, Department> mixed =
dataProvider.withConfigurableFilter(
// Can be shortened as PersonFilter::new
(filterText, department) -> {

Загрузка…
Отмена
Сохранить