Class EntityTreeModelBuilder
java.lang.Object
io.jmix.reportsui.screen.report.wizard.EntityTreeModelBuilder
@Component("report_EntityTreeModelBuilder")
@Scope("prototype")
public class EntityTreeModelBuilder
extends Object
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
protected ExtendedEntities
protected MessageTools
protected Metadata
protected MetadataTools
protected ReportsProperties
protected ReportsWizard
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildEntityTree
(MetaClass metaClass) protected EntityTreeNode
createEntityTreeNode
(MetaProperty metaProperty, EntityTreeNode parent, MetaClass parentMetaClass, MetaClass propertyMetaClass) protected EntityTreeNode
createRootNode
(MetaClass metaClass) protected void
fillChildNodes
(EntityTreeNode parentNode, int depth, Set<String> alreadyAddedMetaProps, EntityTreeStructureInfo treeStructureInfo) int
protected void
init()
protected boolean
isMany
(MetaProperty metaProperty) void
setEntityTreeModelMaxDepth
(int entityTreeModelMaxDepth)
-
Field Details
-
messageTools
-
reportsWizard
-
reportsProperties
-
metadata
-
extendedEntities
-
metadataTools
-
entityTreeModelMaxDepth
protected int entityTreeModelMaxDepth
-
-
Constructor Details
-
EntityTreeModelBuilder
public EntityTreeModelBuilder()
-
-
Method Details
-
init
@PostConstruct protected void init() -
getEntityTreeModelMaxDepth
public int getEntityTreeModelMaxDepth() -
setEntityTreeModelMaxDepth
public void setEntityTreeModelMaxDepth(int entityTreeModelMaxDepth) -
buildEntityTree
-
fillChildNodes
protected void fillChildNodes(EntityTreeNode parentNode, int depth, Set<String> alreadyAddedMetaProps, EntityTreeStructureInfo treeStructureInfo) -
createEntityTreeNode
protected EntityTreeNode createEntityTreeNode(MetaProperty metaProperty, EntityTreeNode parent, MetaClass parentMetaClass, @Nullable MetaClass propertyMetaClass) -
createRootNode
-
isMany
-