Package io.jmix.ui.widget.data
Interface EnhancedHierarchicalDataProvider<T>
- Type Parameters:
T
- data type
- All Known Implementing Classes:
HierarchicalDataGridDataProvider
public interface EnhancedHierarchicalDataProvider<T>
Interface defining methods for enhancing
HierarchicalDataProvider
behavior.-
Method Summary
-
Method Details
-
getLevel
Returns the hierarchy level of an item.- Parameters:
item
- the item to get level- Returns:
- the level of the given item
-
getParent
Returns the parent of given item.- Parameters:
item
- the item to get parent- Returns:
- the parent of given item or
null
if no parent
-