C - Actual listing typeB - Concrete builder typeX - Concrete backing component typepublic interface PropertyListingBuilder<C extends ItemListing<com.holonplatform.core.property.PropertyBox,com.holonplatform.core.property.Property>,B extends PropertyListingBuilder<C,B,X>,X extends com.vaadin.ui.Component> extends ItemListingBuilder<com.holonplatform.core.property.PropertyBox,com.holonplatform.core.property.Property,C,B,X>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
PropertyListingBuilder.BaseGridPropertyListingBuilder<C extends ItemListing<com.holonplatform.core.property.PropertyBox,com.holonplatform.core.property.Property>,B extends PropertyListingBuilder.BaseGridPropertyListingBuilder<C,B>>
Builder to create
ItemListing component with Property as property type, PropertyBox as
item type and using a Grid as backing component. |
static interface |
PropertyListingBuilder.GridPropertyListingBuilder
Builder to create a
PropertyListing component using a Grid as backing component. |
ItemListingBuilder.BaseGridItemListingBuilder<T,P,C extends ItemListing<T,P>,B extends ItemListingBuilder.BaseGridItemListingBuilder<T,P,C,B>>, ItemListingBuilder.ColumnHeaderMode, ItemListingBuilder.FooterBuilder<P>, ItemListingBuilder.GridFooterGenerator<T,P>, ItemListingBuilder.GridItemListingBuilder<T,C extends ItemListing<T,String>,B extends ItemListingBuilder.GridItemListingBuilder<T,C,B>>, ItemListingBuilder.GridSection<ROWTYPE>, ItemListingBuilder.HeaderBuilder<P>, ItemListingBuilder.ListingFooterRow<P>, ItemListingBuilder.ListingHeaderRow<P>ComponentConfigurator.BaseComponentConfigurator| Modifier and Type | Method and Description |
|---|---|
B |
dataSource(com.holonplatform.core.datastore.Datastore datastore,
com.holonplatform.core.datastore.DataTarget<?> dataTarget)
Set given
Datastore with the provided dataTarget as items data source. |
B |
dataSource(com.holonplatform.core.datastore.Datastore datastore,
com.holonplatform.core.datastore.DataTarget<?> dataTarget,
com.holonplatform.core.property.Property... identifierProperties)
Set given
Datastore with the provided dataTarget as items data source, using given
identifierProperties as item identifiers. |
B |
dataSource(ItemDataProvider<com.holonplatform.core.property.PropertyBox> dataProvider,
com.holonplatform.core.property.Property... identifierProperties)
Deprecated.
Use
ItemDataSourceComponentBuilder.dataSource(ItemDataProvider, com.holonplatform.vaadin.data.ItemIdentifierProvider) to
provide a custom item identifier provider. By default, the identifier properties of the item listing
property set will be used to identify each PropertyBox item. |
alignment, bodyRowHeight, buffered, build, build, columnHidingAllowed, columnReorderingAllowed, commitHandler, defaultValue, displayAfter, displayAsFirst, displayAsLast, displayBefore, editable, editable, footerRowHeight, footerVisible, header, header, header, headerRowHeight, hidable, hidden, hideHeaders, itemDescriptionGenerator, readOnly, rowHeight, selectAllCheckBoxVisibility, selectionMode, sortable, sortable, sortGenerator, sortUsing, style, style, width, withItemClickListener, withPropertyReorderListener, withPropertyResizeListener, withPropertyVisibilityListener, withRowStyle, withSelectionListenerdataSource, dataSourceautoRefresh, batchSize, defaultSort, fixedFilter, fixedSort, maxCacheSize, queryParameter, withQueryConfigurationProviderbuild, deferLocalization, dragSource, dropTargetcaption, caption, caption, captionAsHtml, description, description, description, disabled, errorHandler, fullHeight, fullSize, fullWidth, height, height, heightUndefined, hidden, icon, id, notVisible, primaryStyleName, replaceStyleName, responsive, sizeUndefined, styleName, width, width, widthUndefined, withAttachListener, withContextClickListener, withData, withDetachListener, withShortcutListenerwithPostProcessor@Deprecated B dataSource(ItemDataProvider<com.holonplatform.core.property.PropertyBox> dataProvider, com.holonplatform.core.property.Property... identifierProperties)
ItemDataSourceComponentBuilder.dataSource(ItemDataProvider, com.holonplatform.vaadin.data.ItemIdentifierProvider) to
provide a custom item identifier provider. By default, the identifier properties of the item listing
property set will be used to identify each PropertyBox item.dataProvider - Items data provider (not null)identifierProperties - Properties wich act as item identifierB dataSource(com.holonplatform.core.datastore.Datastore datastore, com.holonplatform.core.datastore.DataTarget<?> dataTarget)
Datastore with the provided dataTarget as items data source. PropertyBox
items will be fetched from the persistence source using a properly configured Datastore query, with given
dataTarget representing the persistent entity to query.
This data source supports QueryConfigurationProviders to provide additional query configuration. A
QueryConfigurationProvider can be added using
BaseItemDataSourceComponentBuilder.withQueryConfigurationProvider(QueryConfigurationProvider).
If the item listing was built on a PropertySet which provides identifier properties (see
PropertySet.getIdentifiers()), the identifier properties will be used as PropertyBox item
identifiers, i.e. the equals and hashCode logic of the items will be implemented
accordingly to the values of the identifier properties.
A Datastore based ItemDataSource.CommitHandler is also configured by default.
datastore - The Datastore to use (not null)dataTarget - The DataTarget to use as query target (not null)dataSource(Datastore, DataTarget, Property...)B dataSource(com.holonplatform.core.datastore.Datastore datastore, com.holonplatform.core.datastore.DataTarget<?> dataTarget, com.holonplatform.core.property.Property... identifierProperties)
Datastore with the provided dataTarget as items data source, using given
identifierProperties as item identifiers. PropertyBox items will be fetched from the
persistence source using a properly configured Datastore query, with given dataTarget representing
the persistent entity to query.
The provided identifier properties will be used as PropertyBox item identifiers, i.e. the
equals and hashCode logic of the items will be implemented accordingly to the values of
the identifier properties.
This data source supports QueryConfigurationProviders to provide additional query configuration. A
QueryConfigurationProvider can be added using
BaseItemDataSourceComponentBuilder.withQueryConfigurationProvider(QueryConfigurationProvider).
A Datastore based ItemDataSource.CommitHandler is also configured by default.
datastore - Datastore to use (not null)dataTarget - Data target to use to load items (not null)identifierProperties - Properties to use as item identifiersCopyright © 2019 The Holon Platform. All rights reserved.