public TreeNode getModuleTree ( final String moduleId ) { final ModuleHandler moduleHandler = new ModuleHandler ( repoHandler ) ; final DbModule module = moduleHandler . getModule ( moduleId ) ; final TreeNode tree = new TreeNode ( ) ; tree . setName ( module . getName ( ) ) ; // Add submodules for ( final DbModule submodule : module . getSubmodules ( ) ) { addModuleToTree ( submodule , tree ) ; } return tree ; }
Generate a groupId tree regarding the filters