Class ModuleReferenceDataOrgTree


  • public class ModuleReferenceDataOrgTree
    extends ModuleTree
    Manages the tree of installed modules. It implements GenericTree, detailed description is in that API doc.
    • Constructor Detail

      • ModuleReferenceDataOrgTree

        public ModuleReferenceDataOrgTree​(HttpBaseServlet base,
                                          String strClient,
                                          boolean bAddLinks,
                                          boolean bSmall)
        Constructor to generate a root tree
        Parameters:
        base -
        bSmall - Normal size or small size (true)
        strClient - Client ID
      • ModuleReferenceDataOrgTree

        public ModuleReferenceDataOrgTree​(HttpBaseServlet base,
                                          String strClient,
                                          String strOrg,
                                          boolean bAddLinks,
                                          boolean bSmall)
        Constructor to generate a root tree
        Parameters:
        base -
        strClient - Client ID
        strOrg - Org ID
        bAddLinks - if true then adds links to the current sets of nodes, these links can be Update or Apply
        bSmall - Normal size or small size (true)
      • ModuleReferenceDataOrgTree

        public ModuleReferenceDataOrgTree()
        Default constructor without parameters. It is needed to be able to create instances by GenericTreeServlet, it must be implemented also by subclases.
      • ModuleReferenceDataOrgTree

        public ModuleReferenceDataOrgTree​(HttpBaseServlet base,
                                          String strClient,
                                          String strOrg,
                                          boolean bAddLinks)
        Constructor to generate a root tree
        Parameters:
        base -
        strClient - Client ID
        strOrg - Org ID
        bAddLinks - if true then adds links to the current sets of nodes, these links can be Update or Apply
    • Method Detail

      • setRootTree

        public void setRootTree​(String strClient,
                                boolean bAddLinks)
        sets to data the root tree
      • setLevel

        protected void setLevel​(int level)
        Description copied from class: GenericTree
        Set the deep level for the current set of nodes
        Overrides:
        setLevel in class GenericTree
      • setRootTree

        public void setRootTree​(String strClient,
                                String strOrg,
                                boolean bAddLinks)
        Sets to data the root tree.
      • getHTMLDescription

        public String getHTMLDescription​(String node)
        Returns a HTML with the description for the given node
        Overrides:
        getHTMLDescription in class ModuleTree
        Parameters:
        node -
        Returns:
        a HTML String with the description for the given node
      • setSubTree

        public void setSubTree​(String nodeId,
                               String level)
        Generates a subtree with nodeId as root node
        Overrides:
        setSubTree in class ModuleTree
        Parameters:
        nodeId -