T
- type of entityK
- type of entity IDCollectionContainer
APIs instead.@Deprecated public interface GroupDatasource<T extends io.jmix.core.Entity,K> extends CollectionDatasource<T,K>
Modifier and Type | Interface and Description |
---|---|
static interface |
GroupDatasource.GroupSortDelegate
Deprecated.
Sorts groups and items in-memory after DB sorting
|
static interface |
GroupDatasource.SupportsGroupSortDelegate
Deprecated.
Set ability to override in-memory sorting of groups in a GroupCollectionDatasource
|
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.UnmuteEventsMode
Datasource.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 |
---|---|
boolean |
containsGroup(io.jmix.ui.component.data.GroupInfo groupId)
Deprecated.
Indicates that a group is contained in the groups tree
|
java.util.List<T> |
getChildItems(io.jmix.ui.component.data.GroupInfo groupId)
Deprecated.
|
java.util.List<io.jmix.ui.component.data.GroupInfo> |
getChildren(io.jmix.ui.component.data.GroupInfo groupId)
Deprecated.
|
java.util.Collection<K> |
getGroupItemIds(io.jmix.ui.component.data.GroupInfo groupId)
Deprecated.
|
int |
getGroupItemsCount(io.jmix.ui.component.data.GroupInfo groupId)
Deprecated.
|
java.util.List<io.jmix.ui.component.data.GroupInfo> |
getGroupPath(T entity)
Deprecated.
|
java.util.Collection<?> |
getGroupProperties()
Deprecated.
|
java.lang.Object |
getGroupProperty(io.jmix.ui.component.data.GroupInfo groupId)
Deprecated.
|
java.lang.Object |
getGroupPropertyValue(io.jmix.ui.component.data.GroupInfo groupId)
Deprecated.
|
java.util.List<T> |
getOwnChildItems(io.jmix.ui.component.data.GroupInfo groupId)
Deprecated.
|
io.jmix.ui.component.data.GroupInfo |
getParentGroup(T entity)
Deprecated.
|
void |
groupBy(java.lang.Object[] properties)
Deprecated.
Perform grouping by the list of properties
|
boolean |
hasChildren(io.jmix.ui.component.data.GroupInfo groupId)
Deprecated.
Indicates that group has nested groups
|
boolean |
hasGroups()
Deprecated.
Indicated that a datasource has groups
|
java.util.List<io.jmix.ui.component.data.GroupInfo> |
rootGroups()
Deprecated.
|
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, updateItem
addItemChangeListener, addItemPropertyChangeListener, addStateChangeListener, commit, getCommitMode, getDataSupplier, getDsContext, getId, getItem, getItemIfValid, getLoadDynamicAttributes, getMetaClass, getState, getView, invalidate, isAllowCommit, isModified, refresh, removeItemChangeListener, removeItemPropertyChangeListener, removeStateChangeListener, setAllowCommit, setItem, setLoadDynamicAttributes, setup
void groupBy(java.lang.Object[] properties)
java.util.List<io.jmix.ui.component.data.GroupInfo> rootGroups()
boolean hasChildren(io.jmix.ui.component.data.GroupInfo groupId)
java.util.List<io.jmix.ui.component.data.GroupInfo> getChildren(io.jmix.ui.component.data.GroupInfo groupId)
java.util.List<T> getOwnChildItems(io.jmix.ui.component.data.GroupInfo groupId)
java.util.List<T> getChildItems(io.jmix.ui.component.data.GroupInfo groupId)
@Nullable io.jmix.ui.component.data.GroupInfo getParentGroup(T entity)
java.util.List<io.jmix.ui.component.data.GroupInfo> getGroupPath(T entity)
java.lang.Object getGroupProperty(io.jmix.ui.component.data.GroupInfo groupId)
java.lang.Object getGroupPropertyValue(io.jmix.ui.component.data.GroupInfo groupId)
java.util.Collection<K> getGroupItemIds(io.jmix.ui.component.data.GroupInfo groupId)
int getGroupItemsCount(io.jmix.ui.component.data.GroupInfo groupId)
boolean hasGroups()
java.util.Collection<?> getGroupProperties()
boolean containsGroup(io.jmix.ui.component.data.GroupInfo groupId)