use of io.jmix.reports.app.EntityTreeStructureInfo in project jmix by jmix-framework.
the class EntityTreeModelBuilder method buildEntityTree.
public EntityTree buildEntityTree(MetaClass metaClass) {
EntityTreeStructureInfo entityTreeStructureInfo = new EntityTreeStructureInfo();
EntityTreeNode root = createRootNode(metaClass);
fillChildNodes(root, 1, new HashSet<>(), entityTreeStructureInfo);
return new EntityTree(root, entityTreeStructureInfo);
}
Aggregations