Class TreeBuilder
- java.lang.Object
-
- org.silverpeas.core.web.treemenu.process.TreeBuilder
-
public class TreeBuilder extends Object
Allows the level menu building- Author:
- david derigent
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MenuItem
buildLevelMenu(TreeFilter filter, MenuItem father, String userId, String language)
Build one level of menu according to the parameters
-
-
-
Method Detail
-
buildLevelMenu
public static MenuItem buildLevelMenu(TreeFilter filter, MenuItem father, String userId, String language)
Build one level of menu according to the parameters- Parameters:
filter
- determines what type of node and/or component must be display in the menufather
- the father of menu level to builduserId
- the user identifier to display only the authorized item menulanguage
- the user language to display the label menu in the correct language
-
-