T - Bean item typeF - Filter typeC - Concrete configurator typepublic interface HasBeanDatastoreFilterableDataProviderConfigurator<T,F,D extends DatastoreDataProviderConfigurator<T,D>,C extends HasBeanDatastoreFilterableDataProviderConfigurator<T,F,D,C>> extends HasFilterableDataProviderConfigurator<T,F,C>
HasFilterableDataProviderConfigurator with Datastore configuration support and known bean type.| Modifier and Type | Method and Description |
|---|---|
D |
dataSource(com.holonplatform.core.datastore.Datastore datastore,
com.holonplatform.core.datastore.DataTarget<?> target,
Function<F,com.holonplatform.core.query.QueryFilter> filterConverter)
Set the data provider which acts as items data source, using given
Datastore as backend data handler and
given DataTarget as query target. |
<P extends com.holonplatform.core.property.Property> |
dataSource(com.holonplatform.core.datastore.Datastore datastore,
com.holonplatform.core.datastore.DataTarget<?> target,
Function<com.holonplatform.core.property.PropertyBox,T> itemConverter,
Function<F,com.holonplatform.core.query.QueryFilter> filterConverter,
Iterable<P> properties)
Set the data provider which acts as items data source, using given
Datastore as backend data handler,
given DataTarget as query target and given properties as query projection. |
default D |
dataSource(com.holonplatform.core.datastore.Datastore datastore,
com.holonplatform.core.datastore.DataTarget<?> target,
Function<com.holonplatform.core.property.PropertyBox,T> itemConverter,
Function<F,com.holonplatform.core.query.QueryFilter> filterConverter,
com.holonplatform.core.property.Property<?>... properties)
Set the data provider which acts as items data source, using given
Datastore as backend data handler,
given DataTarget as query target and given properties as query projection. |
dataSource, dataSourceaddItem, items, items<P extends com.holonplatform.core.property.Property> D dataSource(com.holonplatform.core.datastore.Datastore datastore, com.holonplatform.core.datastore.DataTarget<?> target, Function<com.holonplatform.core.property.PropertyBox,T> itemConverter, Function<F,com.holonplatform.core.query.QueryFilter> filterConverter, Iterable<P> properties)
Datastore as backend data handler,
given DataTarget as query target and given properties as query projection. An
itemConverter function is used to convert the Datastore PropertyBox data type into the
required bean type.P - Property typedatastore - The Datastore to use (not null)target - The DataTarget to use as query target (not null)itemConverter - The function to use to convert the Datastore PropertyBox data type into the required
item typefilterConverter - Data provider filter type to QueryFilter converter (not null)properties - The property set to use as query projection (not null)QueryFilter and QuerySort.DatastoreDataProviderConfiguratordefault D dataSource(com.holonplatform.core.datastore.Datastore datastore, com.holonplatform.core.datastore.DataTarget<?> target, Function<com.holonplatform.core.property.PropertyBox,T> itemConverter, Function<F,com.holonplatform.core.query.QueryFilter> filterConverter, com.holonplatform.core.property.Property<?>... properties)
Datastore as backend data handler,
given DataTarget as query target and given properties as query projection. An
itemConverter function is used to convert the Datastore PropertyBox data type into the
required bean type.datastore - The Datastore to use (not null)target - The DataTarget to use as query target (not null)itemConverter - The function to use to convert the Datastore PropertyBox data type into the required
item typefilterConverter - Data provider filter type to QueryFilter converter (not null)properties - The property set to use as query projection (not null)QueryFilter and QuerySort.DatastoreDataProviderConfiguratorD dataSource(com.holonplatform.core.datastore.Datastore datastore, com.holonplatform.core.datastore.DataTarget<?> target, Function<F,com.holonplatform.core.query.QueryFilter> filterConverter)
Datastore as backend data handler and
given DataTarget as query target. The Datastore PropertyBox type items will be converted into the
required bean type.datastore - The Datastore to use (not null)target - The DataTarget to use as query target (not null)filterConverter - Data provider filter type to QueryFilter converter (not null)QueryFilter and QuerySort.DatastoreDataProviderConfiguratorCopyright © 2019 The Holon Platform. All rights reserved.