T - type of entityK - type of entity IDCollectionContainer APIs instead.@Deprecated public interface HierarchicalDatasource<T extends io.jmix.core.Entity,K> extends CollectionDatasource<T,K>
CollectionDatasource.Aggregatable<T extends io.jmix.core.Entity,K>, CollectionDatasource.CollectionChangeEvent<T extends io.jmix.core.Entity,K>, CollectionDatasource.CollectionChangeListener<T extends io.jmix.core.Entity,K>, CollectionDatasource.Indexed<T extends io.jmix.core.Entity,K>, CollectionDatasource.Lazy<T extends io.jmix.core.Entity,K>, CollectionDatasource.Operation, CollectionDatasource.Ordered<T extends io.jmix.core.Entity,K>, CollectionDatasource.RefreshMode, CollectionDatasource.Sortable<T extends io.jmix.core.Entity,K>, CollectionDatasource.SortDelegate<T extends io.jmix.core.Entity,K>, CollectionDatasource.SupportsApplyToSelected<T extends io.jmix.core.Entity,K>, CollectionDatasource.SupportsPaging<T extends io.jmix.core.Entity,K>, CollectionDatasource.SupportsRefreshMode<T extends io.jmix.core.Entity,K>, CollectionDatasource.SupportsSortDelegate<T extends io.jmix.core.Entity,K>, CollectionDatasource.Suspendable<T extends io.jmix.core.Entity,K>, CollectionDatasource.UnmuteEventsModeDatasource.CommitMode, Datasource.ItemChangeEvent<T extends io.jmix.core.Entity>, Datasource.ItemChangeListener<T extends io.jmix.core.Entity>, Datasource.ItemPropertyChangeEvent<T extends io.jmix.core.Entity>, Datasource.ItemPropertyChangeListener<T extends io.jmix.core.Entity>, Datasource.State, Datasource.StateChangeEvent<T extends io.jmix.core.Entity>, Datasource.StateChangeListener<T extends io.jmix.core.Entity>| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<K> |
getChildren(K itemId)
Deprecated.
Get children IDs for item with the given ID
|
java.lang.String |
getHierarchyPropertyName()
Deprecated.
Property of entity which forms the hierarchy
|
K |
getParent(K itemId)
Deprecated.
Get parent ID for item with the given ID
|
java.util.Collection<K> |
getRootItemIds()
Deprecated.
Identifiers of all root items
|
boolean |
hasChildren(K itemId)
Deprecated.
True if item with the given ID has children
|
boolean |
isRoot(K itemId)
Deprecated.
True if item with the given ID is a root item
|
void |
setHierarchyPropertyName(java.lang.String parentPropertyName)
Deprecated.
Set property of entity which forms the hierarchy
|
addCollectionChangeListener, addItem, clear, containsItem, excludeItem, getCompiledLoadContext, getItem, getItemIds, getItemNN, getItems, getLastRefreshParameters, getMaxResults, getQuery, getQueryFilter, getRefreshOnComponentValueChange, includeItem, isCacheable, isSoftDeletion, modifyItem, mute, refresh, removeCollectionChangeListener, removeItem, resumeListeners, revert, setCacheable, setMaxResults, setQuery, setQuery, setQueryFilter, setRefreshOnComponentValueChange, setSoftDeletion, size, suspendListeners, unmute, updateItemaddItemChangeListener, addItemPropertyChangeListener, addStateChangeListener, commit, getCommitMode, getDataSupplier, getDsContext, getId, getItem, getItemIfValid, getLoadDynamicAttributes, getMetaClass, getState, getView, invalidate, isAllowCommit, isModified, refresh, removeItemChangeListener, removeItemPropertyChangeListener, removeStateChangeListener, setAllowCommit, setItem, setLoadDynamicAttributes, setupjava.lang.String getHierarchyPropertyName()
void setHierarchyPropertyName(java.lang.String parentPropertyName)
java.util.Collection<K> getRootItemIds()
java.util.Collection<K> getChildren(K itemId)
boolean isRoot(K itemId)
boolean hasChildren(K itemId)