com.silverpeas.treeMenu.process
Class TreeBuilder
java.lang.Object
com.silverpeas.treeMenu.process.TreeBuilder
public class TreeBuilder
- extends Object
Allows the level menu building
- Author:
- david derigent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buildLevelMenu
public static MenuItem buildLevelMenu(TreeFilter filter,
MenuItem father,
String userId,
String language,
OrganisationController controller)
- 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 languagecontroller
- OrganizatioCnontroller object used to get the data from the database
- Returns:
- a level of the menu
- Throws:
RemoteException
- throws if a error occurred during a ejb call
Copyright © 2016 Silverpeas. All Rights Reserved.