HierarchyTreeTable::hasOnlyRoot Method
Whether the given hierarchy only contains the root.
Syntax
client server public static boolean hasOnlyRoot(HierarchyIdBase _hierarchyId)
Run On
Called
Parameters
- _hierarchyId
Type: HierarchyIdBase Extended Data Type
Hierarchy id of the hierarchy to check.
Return Value
Type: boolean
Whether the given hierarchy only contains the root.
Remarks
Pre-condition: to have a well-formed tree (i.e. one in which the root is the first element to be created and the last one to be deleted.