com.holonplatform.vaadin.flow.components.builders

## Interface HasPropertySetDatastoreDataProviderConfigurator<D extends DatastoreDataProviderConfigurator<com.holonplatform.core.property.PropertyBox,D>,C extends HasPropertySetDatastoreDataProviderConfigurator<D,C>>

- Type Parameters:
    `C` - Concrete configurator type
  All Superinterfaces:
    HasDataProviderConfigurator<com.holonplatform.core.property.PropertyBox,C>, HasItemsConfigurator<com.holonplatform.core.property.PropertyBox,C>
  All Known Subinterfaces:
    PropertyListingBuilder

      public interface HasPropertySetDatastoreDataProviderConfigurator<D extends DatastoreDataProviderConfigurator<com.holonplatform.core.property.PropertyBox,D>,C extends HasPropertySetDatastoreDataProviderConfigurator<D,C>>
      extends HasDataProviderConfigurator<com.holonplatform.core.property.PropertyBox,C>

  `HasDataProviderConfigurator` with `Datastore` configuration support and using `PropertyBox` type items and a fixed property set.
  Since:
    5.2.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `D` | `dataSource(com.holonplatform.core.datastore.Datastore datastore, com.holonplatform.core.datastore.DataTarget<?> target)` 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.

    - ### Methods inherited from interface com.holonplatform.vaadin.flow.components.builders.HasDataProviderConfigurator

      `addItem, dataSource, items, items`

- - ### Method Detail

    - #### dataSource

          D dataSource(com.holonplatform.core.datastore.Datastore datastore,
                       com.holonplatform.core.datastore.DataTarget<?> target)

      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.
      Parameters:
        `datastore` - The `Datastore` to use (not null)
        `target` - The `DataTarget` to use as query target (not null)
      Returns:
        An extended builder which allow further data provider configuration, for example to add fixed `QueryFilter` and `QuerySort`.
      See Also:
        `DatastoreDataProviderConfigurator`

Copyright © 2019 The Holon Platform. All rights reserved.