Inserts the node hierarchy for the given
EntityType
under the given parent node. This method will traverse the project's data structure for the given
EntityType
, and create tree nodes for each folder and entity it encounters. On each level in the hierarchy, the order of the nodes is given by:
- A folder node will appear before an entity node;
- The nodes will be sorted by name.
When a non-folder is encountered, a corresponding tree node is created by calling {@link #createEntityNode(IntegrationEntity,KongaTreeNode) createEntityNode}.
@param parent the
KongaTreeNode
to which the created fragment will be attached.
@param type the
EntityType
to include in the fragment.