Package org.zkoss.zul

Examples of org.zkoss.zul.SimpleTreeNode


        FunAuthDao faDao = new FunAuthDao();

        Iterator selectedFunAuthItr = selectedFunAuths.iterator();
        while (selectedFunAuthItr.hasNext()) {
            Treeitem treeItem = (Treeitem) selectedFunAuthItr.next();
            SimpleTreeNode node = (SimpleTreeNode) treeItem.getValue();

            FunAuthForm faForm = (FunAuthForm) node.getData();

            FunAuth fa = new FunAuth();

            fa.setFunAuthId(faForm.getFunAuthId());
            fa.setOperateAt(faForm.getOperateAt());
View Full Code Here


        while (it.hasNext()) {
            DataAuthForm form = (DataAuthForm) it.next();
            if (form.getParentOrgId() == null) {

                ArrayList subList = getDataAuthSubList(form, data);
                SimpleTreeNode stn = new SimpleTreeNode(form, subList);
                mother.add(stn);
            }
        }


        SimpleTreeNode rootNode = new SimpleTreeNode(root, mother);

        return rootNode;
    }
View Full Code Here

            DataAuthForm var = (DataAuthForm) it.next();
            if ((var.getOrgId() != form.getOrgId())
                    && var.getParentOrgId() != null
                    && form.getOrgId().toString().equals(var.getParentOrgId().toString())) {

                SimpleTreeNode stn = new SimpleTreeNode(var, getDataAuthSubList(
                        var, data));
                subList.add(stn);
            }
        }
View Full Code Here

        while (it.hasNext()) {
            OrgForm form = (OrgForm) it.next();
            if (form.getParentOrgId() == null) {

                ArrayList subList = getOrgSubList(form, data);
                SimpleTreeNode stn = new SimpleTreeNode(form, subList);
                mother.add(stn);
            }
        }


        SimpleTreeNode rootNode = new SimpleTreeNode(root, mother);

        return rootNode;
    }
View Full Code Here

            OrgForm var = (OrgForm) it.next();
            if ((var.getOrgId() != form.getOrgId())
                    && var.getParentOrgId() != null
                    && form.getOrgId().toString().equals(var.getParentOrgId().toString())) {

                SimpleTreeNode stn = new SimpleTreeNode(var, getOrgSubList(
                        var, data));
                subList.add(stn);
            }
        }
View Full Code Here

        while (it.hasNext()) {
            FunForm form = (FunForm) it.next();
            if (form.getParentFunId().equals(form.getFunId())) {

                ArrayList subList = getSubList(form, data);
                SimpleTreeNode stn = new SimpleTreeNode(form, subList);
                mother.add(stn);
            }
        }


        SimpleTreeNode rootNode = new SimpleTreeNode(root, mother);

        return rootNode;
    }
View Full Code Here

            FunForm var = (FunForm) it.next();
            if ((var.getFunId() != form.getFunId())
                    && var.getParentFunId() != null
                    && form.getFunId().toString().equals(var.getParentFunId().toString())) {

                SimpleTreeNode stn = new SimpleTreeNode(var, getSubList(
                        var, data));
                subList.add(stn);
            }
        }
View Full Code Here

        while (it.hasNext()) {
            FunAuthForm form = (FunAuthForm) it.next();
            if (form.getParentFunId().equals(form.getFunId())) {

                ArrayList subList = getFunAuthSubList(form, data);
                SimpleTreeNode stn = new SimpleTreeNode(form, subList);
                mother.add(stn);
            }
        }


        SimpleTreeNode rootNode = new SimpleTreeNode(root, mother);

        return rootNode;
    }
View Full Code Here

            FunAuthForm var = (FunAuthForm) it.next();
            if ((var.getFunId() != form.getFunId())
                    && var.getParentFunId() != null
                    && form.getFunId().toString().equals(var.getParentFunId().toString())) {

                SimpleTreeNode stn = new SimpleTreeNode(var, getFunAuthSubList(
                        var, data));
                subList.add(stn);
            }
        }
View Full Code Here

        while (it.hasNext()) {
            FunForm form = (FunForm) it.next();
            if ("0".equals(form.getLayer().trim())) {

                ArrayList subList = getSubList(form, funData);
                SimpleTreeNode stn = new SimpleTreeNode(form, subList);
                mother.add(stn);
            }
        }

        SimpleTreeNode rootNode = new SimpleTreeNode(root, mother);

        return rootNode;
    }
View Full Code Here

TOP

Related Classes of org.zkoss.zul.SimpleTreeNode

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.