Package org.gatein.management.gadget.mop.exportimport.client

Examples of org.gatein.management.gadget.mop.exportimport.client.TreeNode


            }

            ReadResourceModel result = (ReadResourceModel) response.getResult();
            List<TreeNode> children = new ArrayList<TreeNode>(result.getChildren().size());
            for (String siteName : result.getChildren()) {
                TreeNode siteNode = new TreeNode(siteName);
                siteNode.setExportable(true);
                siteNode.setType(siteType);
                siteNode.setSiteName(siteName);
                children.add(siteNode);
            }

            return new TreeNode(siteType, children);
        } catch (Exception e) {
            log.error("Exception getting site type " + siteType + " node.", e);
            throw e;
        }
    }
View Full Code Here

TOP

Related Classes of org.gatein.management.gadget.mop.exportimport.client.TreeNode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.