Examples of DirectoryServicesGroupItem


Examples of clips.delegate.directory.complex.DirectoryServicesGroupItem

       try {
            if(parent instanceof DefaultMutableTreeNode) {
                return items.length;
               
            } else if(parent instanceof DirectoryServicesGroupItem) {
                DirectoryServicesGroupItem item = (DirectoryServicesGroupItem) parent;
                Selector<DirectoryServiceItem> ss = getServices((DirectoryServicesGroupItem) parent);
                int count = item.getItems().size() + ss.size();
                return count;
               
            } else {
                return 0;
            }
View Full Code Here

Examples of clips.delegate.directory.complex.DirectoryServicesGroupItem

            getDetails().code = code;
        }
    }

    public String getFullCode() throws ClipsException{
        DirectoryServicesGroupItem gr = getGroup();
        if (gr != null && gr.getID() != 0) {
            return gr.getFullCode() + "." + getCode();
        }
        return getCode();
    }
View Full Code Here

Examples of clips.delegate.directory.complex.DirectoryServicesGroupItem

        try {
            if (readyForPrint()) {
                String title = "Расход материалов для услуги: ";

                String group = "";
                DirectoryServicesGroupItem parent = service.getGroup();
                ArrayList<String> titles = new ArrayList<String>();
                while (parent != null) {
                    titles.add(parent.getTitle()+ "\n");               
                    parent = parent.getParent();
                }
                int k = titles.size() - 1;
                String iS;
                for (int i = k; i > -1; i--) {
                    iS = titles.get(i);
View Full Code Here

Examples of clips.delegate.directory.complex.DirectoryServicesGroupItem

        if (statAll > 0 && statNo > 0) {
            return SEL_STATUS_SOME;
        }

        for (int i = 0; i < group.getItems().size(); i++) {
            DirectoryServicesGroupItem child = group.getItems().get(i);
            int status = getSelectedStatus(child);
            switch (status) {
                case SEL_STATUS_ALL:
                    statAll++;
                    break;
View Full Code Here

Examples of clips.delegate.directory.complex.DirectoryServicesGroupItem

            }
        }

        //пробегаем по группам, входящим в данную группу
        for (int i = 0; i < group.getItems().size(); i++) {
            DirectoryServicesGroupItem child = group.getItems().get(i);
            setSelectedStatus(child, status);
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.