| Package | Description |
|---|---|
| com.holonplatform.vaadin.data |
| Modifier and Type | Method and Description |
|---|---|
ItemDataSource.Builder<ITEM,PROPERTY> |
ItemDataSource.Builder.autoRefresh(boolean autoRefresh)
Set if auto-refresh is enabled for this container, i.e. items are loaded when one of the Container method
which involve operations on item set is called.
|
ItemDataSource.Builder<ITEM,PROPERTY> |
ItemDataSource.Builder.batchSize(int batchSize)
Set batch (page) size for items loading using
ItemDataProvider. |
static <ITEM,PROPERTY> |
ItemDataSource.builder(Class<?> propertyType)
Get a builder to create an
ItemDataSource. |
ItemDataSource.Builder<ITEM,PROPERTY> |
ItemDataSource.Builder.commitHandler(ItemDataSource.CommitHandler<ITEM> commitHandler)
Set the handler to manage item set modifications.
|
ItemDataSource.Builder<ITEM,PROPERTY> |
ItemDataSource.Builder.dataSource(ItemDataProvider<ITEM> dataProvider)
Set the items data provider.
|
ItemDataSource.Builder<ITEM,PROPERTY> |
ItemDataSource.Builder.defaultSort(com.holonplatform.core.query.QuerySort sort)
Set query default sort.
|
ItemDataSource.Builder<ITEM,PROPERTY> |
ItemDataSource.Builder.defaultValue(PROPERTY propertyId,
Object defaultValue)
Set a default value to initialize the given
propertyId |
ItemDataSource.Builder<ITEM,PROPERTY> |
ItemDataSource.Builder.fixedFilter(com.holonplatform.core.query.QueryFilter filter)
Set query fixed filter (always added to query predicates)
|
ItemDataSource.Builder<ITEM,PROPERTY> |
ItemDataSource.Builder.fixedSort(com.holonplatform.core.query.QuerySort sort)
Set query fixed sort (always added to query sorts)
|
<ID> ItemDataSource.Builder<ITEM,PROPERTY> |
ItemDataSource.Builder.itemIdentifier(ItemIdentifierProvider<ITEM,ID> itemIdentifierProvider)
Set the item identifier provider to use to obtain item ids.
|
ItemDataSource.Builder<ITEM,PROPERTY> |
ItemDataSource.Builder.maxCacheSize(int maxCacheSize)
Set max items cache size
|
ItemDataSource.Builder<ITEM,PROPERTY> |
ItemDataSource.Builder.propertyId(PROPERTY property,
String propertyId)
Set the property String id of given
property. |
ItemDataSource.Builder<ITEM,PROPERTY> |
ItemDataSource.Builder.queryParameter(String name,
Object value)
Add a query parameter
|
ItemDataSource.Builder<ITEM,PROPERTY> |
ItemDataSource.Builder.readOnly(PROPERTY propertyId,
boolean readOnly)
Set whether given property id is read-only.
|
ItemDataSource.Builder<ITEM,PROPERTY> |
ItemDataSource.Builder.sortable(boolean sortable)
Set whether all the properties are sortable.
|
ItemDataSource.Builder<ITEM,PROPERTY> |
ItemDataSource.Builder.sortable(PROPERTY propertyId,
boolean sortable)
Set whether given property id is sortable.
|
default ItemDataSource.Builder<ITEM,PROPERTY> |
ItemDataSource.Builder.withProperty(PROPERTY property,
Class<?> type)
Add an Item property to this data source.
|
ItemDataSource.Builder<ITEM,PROPERTY> |
ItemDataSource.Builder.withProperty(PROPERTY property,
Class<?> type,
boolean generatePropertyId)
Add an Item property to this data source.
|
ItemDataSource.Builder<ITEM,PROPERTY> |
ItemDataSource.Builder.withPropertySortGenerator(PROPERTY property,
ItemDataSource.PropertySortGenerator<PROPERTY> propertySortGenerator)
|
ItemDataSource.Builder<ITEM,PROPERTY> |
ItemDataSource.Builder.withQueryConfigurationProvider(com.holonplatform.core.query.QueryConfigurationProvider queryConfigurationProvider)
Add an external
QueryConfigurationProvider for additional query configuration |
ItemDataSource.Builder<ITEM,PROPERTY> |
ItemDataSource.Builder.withReadOnlyProperty(PROPERTY property,
Class<?> type)
Add an Item property to this data source and declares it as read-only.
|
ItemDataSource.Builder<ITEM,PROPERTY> |
ItemDataSource.Builder.withReadOnlySortableProperty(PROPERTY property,
Class<?> type)
Add an Item property to this data source and declares it as read-only and sortable.
|
ItemDataSource.Builder<ITEM,PROPERTY> |
ItemDataSource.Builder.withSortableProperty(PROPERTY property,
Class<?> type)
Add an Item property to this data source and declares it as sortable.
|
Copyright © 2019 The Holon Platform. All rights reserved.