Hierarchicals
org.beangle.data.model.util.Hierarchicals$
object Hierarchicals
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Hierarchicals.type
Members list
Value members
Concrete methods
addParent
addParent
Attributes
addParent
addParent
Attributes
得到给定节点的所有家族结点,包括自身
得到给定节点的所有家族结点,包括自身
Value parameters
- root
-
指定根节点
Attributes
- Returns
-
包含自身的家族节点集合
Get the path from current node to root. First element is current and last is root.
Get the path from current node to root. First element is current and last is root.
Value parameters
- node
-
current node
Attributes
getRoots.
getRoots.
Attributes
将节点移动到给定位置
将节点移动到给定位置
implementation: 由于级联保存的原因,不要更改原有上级节点和目标上级节点的children属性
Attributes
按照上下关系排序
按照上下关系排序
Value parameters
- datas
-
a { @link java.util.List} object.
Attributes
- Returns
-
a { @link java.util.Map} object.
按照上下关系和指定属性排序
按照上下关系和指定属性排序
Value parameters
- datas
-
a { @link java.util.List} object.
- property
-
a String object.
Attributes
- Returns
-
a { @link java.util.Map} object.
Tag
Tag
Value parameters
- datas
-
a { @link java.util.List} object.
- property
-
a String object.
Attributes
- Returns
-
a { @link java.util.Map} object.
In this article