Package org.openbravo.erpCommon.modules
Class ModuleReferenceDataClientTree
- java.lang.Object
-
- org.openbravo.erpCommon.utility.GenericTree
-
- org.openbravo.erpCommon.modules.ModuleTree
-
- org.openbravo.erpCommon.modules.ModuleReferenceDataClientTree
-
public class ModuleReferenceDataClientTree extends ModuleTree
Manages the tree of installed modules. It implements GenericTree, detailed description is in that API doc.
-
-
Field Summary
-
Fields inherited from class org.openbravo.erpCommon.utility.GenericTree
conn, data, lang, xmlEngine
-
-
Constructor Summary
Constructors Constructor Description ModuleReferenceDataClientTree()
Default constructor without parameters.ModuleReferenceDataClientTree(HttpBaseServlet base, boolean bSmall)
Constructor to generate a root tree
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHTMLDescription(String node)
Returns a HTML with the description for the given nodeprotected void
setLevel(int level)
Set the deep level for the current set of nodesvoid
setRootTree()
sets to data the root treevoid
setSubTree(String nodeId, String level)
Generates a subtree with nodeId as root node-
Methods inherited from class org.openbravo.erpCommon.modules.ModuleTree
getNodePosition, getParent, isLastLevelNode, setIcons
-
Methods inherited from class org.openbravo.erpCommon.utility.GenericTree
descriptionToHtml, getData, setIsSubTree, setLanguage, setNotifications, setParameters, showNotifications, toHtml
-
-
-
-
Constructor Detail
-
ModuleReferenceDataClientTree
public ModuleReferenceDataClientTree()
Default constructor without parameters. It is needed to be able to create instances by GenericTreeServlet, it must be implemented also by subclases.
-
ModuleReferenceDataClientTree
public ModuleReferenceDataClientTree(HttpBaseServlet base, boolean bSmall)
Constructor to generate a root tree- Parameters:
base
-bSmall
- Normal size or small size (true)
-
-
Method Detail
-
setRootTree
public void setRootTree()
sets to data the root tree- Overrides:
setRootTree
in classModuleTree
-
setLevel
protected void setLevel(int level)
Description copied from class:GenericTree
Set the deep level for the current set of nodes- Overrides:
setLevel
in classGenericTree
-
setSubTree
public void setSubTree(String nodeId, String level)
Generates a subtree with nodeId as root node- Overrides:
setSubTree
in classModuleTree
- Parameters:
nodeId
-
-
getHTMLDescription
public String getHTMLDescription(String node)
Returns a HTML with the description for the given node- Overrides:
getHTMLDescription
in classModuleTree
- Parameters:
node
-- Returns:
- a HTML String with the description for the given node
-
-