| Package | Description |
|---|---|
| org.beangle.commons.entity.pojo | |
| org.beangle.commons.entity.util |
| Modifier and Type | Class and Description |
|---|---|
class |
NumberIdHierarchyObject<T,ID extends Number> |
| Modifier and Type | Method and Description |
|---|---|
static <T extends HierarchyEntity<T,?>> |
HierarchyEntityUtils.addParent(Collection<T> nodes)
addParent.
|
static <T extends HierarchyEntity<T,?>> |
HierarchyEntityUtils.addParent(Collection<T> nodes,
T toRoot)
addParent.
|
static <T extends HierarchyEntity<T,?>> |
HierarchyEntityUtils.getFamily(T root)
得到给定节点的所有家族结点,包括自身
|
static <T extends HierarchyEntity<T,?>> |
HierarchyEntityUtils.getPath(T node)
Get the path from current node to root.
|
static <T extends HierarchyEntity<T,?>> |
HierarchyEntityUtils.getRoots(List<T> nodes)
getRoots.
|
static <T extends HierarchyEntity<T,?>> |
HierarchyEntityUtils.sort(List<T> datas)
按照上下关系排序
|
static <T extends HierarchyEntity<T,?>> |
HierarchyEntityUtils.sort(List<T> datas,
String property)
按照上下关系和指定属性排序
|
static <T extends HierarchyEntity<T,?>> |
HierarchyEntityUtils.tag(List<T> datas,
String property)
tag.
|
Copyright © 2005–2018 The Beangle Software. All rights reserved.