B - Concrete builder typeX - Concrete backing component typepublic interface PropertyListingBuilder<B extends PropertyListingBuilder<B,X>,X extends com.vaadin.ui.Component> extends ItemListingBuilder<com.holonplatform.core.property.PropertyBox,com.holonplatform.core.property.Property,PropertyListing,B,X>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
PropertyListingBuilder.GridPropertyListingBuilder
Builder to create
PropertyListing components using a Grid as backing component. |
static interface |
PropertyListingBuilder.TablePropertyListingBuilder
Builder to create
PropertyListing components using a Table as backing component. |
ItemListingBuilder.BaseGridItemListingBuilder<T,P,C extends ItemListing<T,P>,B extends ItemListingBuilder.BaseGridItemListingBuilder<T,P,C,B>>, ItemListingBuilder.BaseTableItemListingBuilder<T,P,C extends ItemListing<T,P>,B extends ItemListingBuilder.BaseTableItemListingBuilder<T,P,C,B>>, ItemListingBuilder.FooterBuilder, ItemListingBuilder.GridFooterGenerator<T,P>, ItemListingBuilder.GridItemListingBuilder<T>, ItemListingBuilder.GridSection<ROWTYPE extends com.vaadin.ui.Grid.StaticSection.StaticRow<?>>, ItemListingBuilder.HeaderBuilder, ItemListingBuilder.TableFooterGenerator<T,P>, ItemListingBuilder.TableItemListingBuilder<T>ComponentConfigurator.BaseComponentConfigurator| Modifier and Type | Method and Description |
|---|---|
B |
dataSource(com.holonplatform.core.datastore.Datastore datastore,
com.holonplatform.core.datastore.DataTarget<?> dataTarget,
com.holonplatform.core.property.Property... identifierProperties)
Use given
Datastore with given dataTarget as items data source. |
B |
dataSource(ItemDataProvider<com.holonplatform.core.property.PropertyBox> dataProvider,
com.holonplatform.core.property.Property... identifierProperties)
Set the items data provider.
|
default B |
required(com.holonplatform.core.property.Property<?> property)
Set the given property as required in the item listing editor.
|
B |
required(com.holonplatform.core.property.Property<?> property,
com.holonplatform.core.i18n.Localizable message)
Set the given property as required in the item listing editor.
|
default B |
required(com.holonplatform.core.property.Property<?> property,
String message)
Set the given property as required.
|
default B |
required(com.holonplatform.core.property.Property<?> property,
String message,
String messageCode,
Object... arguments)
Set the given property as required in the item listing editor.
|
<V> B |
withValidator(com.holonplatform.core.property.Property<V> property,
com.vaadin.data.Validator validator)
Adds a
Validator to the field bound to given property in the item listing
editor. |
default <V> B |
withValidator(com.holonplatform.core.property.Property<V> property,
com.holonplatform.core.Validator<V> validator)
Adds a
Validator to the field bound to given property in the item listing editor. |
alignment, buffered, build, build, columnHidingAllowed, columnReorderingAllowed, commitHandler, defaultValue, editable, editable, editor, footerVisible, header, header, header, hidable, hidden, hideHeaders, itemDescriptionGenerator, readOnly, selectionMode, sortable, sortGenerator, sortUsing, style, style, width, withItemClickListener, withPropertyReorderListener, withPropertyResizeListener, withPropertyVisibilityListener, withRowStyle, withSelectionListenerdataSource, dataSource, itemAdapterautoRefresh, batchSize, defaultSort, fixedFilter, fixedSort, maxCacheSize, queryParameter, withQueryConfigurationProviderbuild, deferLocalizationcaption, caption, caption, captionAsHtml, description, description, description, disabled, errorHandler, fullHeight, fullSize, fullWidth, height, height, heightUndefined, hidden, icon, id, immediate, notVisible, primaryStyleName, replaceStyleName, responsive, sizeUndefined, styleName, width, width, widthUndefined, withAttachListener, withContextClickListener, withData, withDetachListener, withShortcutListenerwithPostProcessordefault <V> B withValidator(com.holonplatform.core.property.Property<V> property, com.holonplatform.core.Validator<V> validator)
Validator to the field bound to given property in the item listing editor.V - Property typeproperty - Property (not null)validator - Validator to add (not null)<V> B withValidator(com.holonplatform.core.property.Property<V> property, com.vaadin.data.Validator validator)
Validator to the field bound to given property in the item listing
editor.V - Property typeproperty - Property (not null)validator - Validator to add (not null)default B required(com.holonplatform.core.property.Property<?> property)
property - Property to set as required (not null)B required(com.holonplatform.core.property.Property<?> property, com.holonplatform.core.i18n.Localizable message)
property - Property to set as required (not null)message - The message to use to notify the required validation failuredefault B required(com.holonplatform.core.property.Property<?> property, String message, String messageCode, Object... arguments)
property - Property to set as required (not null)message - The default message to use to notify the required validation failuremessageCode - The message localization codearguments - Optional message translation argumentsdefault B required(com.holonplatform.core.property.Property<?> property, String message)
Input bound to the property will be
setted as required, and its validation will fail when empty.property - Property to set as required (not null)message - The default message to use to notify the required validation failureB dataSource(ItemDataProvider<com.holonplatform.core.property.PropertyBox> dataProvider, com.holonplatform.core.property.Property... identifierProperties)
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, com.holonplatform.core.property.Property... identifierProperties)
Datastore with given dataTarget as items data source.
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 wich act as item identifierCopyright © 2019 The Holon Platform. All rights reserved.