Package cli_fmw.delegate.directory

Examples of cli_fmw.delegate.directory.DirectoryItem


        initComponents();
        this.checkupLocal = checkUp;
        jScrollPane1.getVerticalScrollBar().setUnitIncrement(10);

        //формирование данных для чузпанели (только осмотры)
        DirectoryItem currentType = checkupLocal.getType();
        ChoosePanelData currentData = null;
        dir = DirectoryLocator.getDirectory(DirectoryCheckupType.class, false);
        Set<DirectoryCheckupTypeItem> items = new HashSet<DirectoryCheckupTypeItem>();
        if (!UserInfo.get().isSuperUser()) {
            DirectoryCollaboratorFunctions dcf = DirectoryLocator.getDirectory(DirectoryCollaboratorFunctions.class);
View Full Code Here


        }
        if(item instanceof DirectoryTextTemplateTreeItem) {
            DirectoryTextTemplateTreeItem parent = (DirectoryTextTemplateTreeItem)item;
            Selector ii = parent.getItems();
            for(int i=0; i<ii.size(); i++) {
                DirectoryItem child = (DirectoryItem) ii.get(i);
                List path = findMatch(child, pattern);
                if(path != null) {
                    path.add(parent);
                    return path;
                }
View Full Code Here

        }
    }

    public String getRegionTitle() throws ClipsException {
        try {
            DirectoryItem item = getRegion();
            return item != null ? item.getTitle() : "";
        } catch (DirectoryItemNotFoundException ex) {
            return "";
        }
    }
View Full Code Here

        }
    }

    public String getMunicipalityTitle() throws ClipsException {
        try {
            DirectoryItem item = getMunicipality();
            return item != null ? item.getTitle() : "";
        } catch (DirectoryItemNotFoundException ex) {
            return "";
        }
    }
View Full Code Here

        }
    }

    public String getCityTitle() throws ClipsException {
        try {
            DirectoryItem item = getCity();
            return item != null ? item.getTitle() : "";
        } catch (DirectoryItemNotFoundException ex) {
            return "";
        }
    }
View Full Code Here

        }
    }

    public String getStreetTitle() throws ClipsException {
        try {
            DirectoryItem item = getStreet();
            return item != null ? item.getTitle() : "";
        } catch (DirectoryItemNotFoundException ex) {
            return "";
        }
    }
View Full Code Here

    }

    public CertTagPacientCategory(CertificateLocal certificateLocal, ReportParam reportParam, DiseaseLocal diseaseLocal) throws ClipsException {
        super(certificateLocal, reportParam, diseaseLocal);
        if (certificateLocal.isNewlyCreated()) {
            DirectoryItem clientRegion = certificateLocal.getClientLocal().getAddress().getRegion();
            DirectoryItem hospitalRegion = UserInfo.get().getCollaborator().getLpu().getAddress().getRegion();
            if (clientRegion != null) {
                if (clientRegion.equals(hospitalRegion)){
                    setItem(THIS_SUBJECT);
                } else {
                    setItem(OTHER_SUBJECT);
View Full Code Here

        }           
        value = value.toLowerCase();
       
        Selector sel = directoryMKB10.getItems();
        for(int i=0; i<sel.size(); i++) {
            DirectoryItem item = (DirectoryItem)sel.get(i);
            List found = findMatch(item, value);
            if(found != null) {                   
                found.add(treeMkb10.getModel().getRoot());
                ArrayList reordered = new ArrayList();
                for(int j=found.size()-1; j>=0; j--) {
View Full Code Here

        }
        if (item instanceof DirectoryMKB10Item) {
            DirectoryMKB10Item parent = (DirectoryMKB10Item) item;
            Selector ii = parent.getItems();
            for (int i = 0; i < ii.size(); i++) {
                DirectoryItem child = (DirectoryItem) ii.get(i);
                List path = findMatch(child, pattern);
                if (path != null) {
                    path.add(parent);
                    return path;
                }
View Full Code Here

        if(value.isEmpty()) {
            return;
        }           
        Selector sel = directoryVidalAtc.getItems();
        for(int i=0; i<sel.size(); i++) {
            DirectoryItem item = (DirectoryItem)sel.get(i);
            List found = findMatch(item, value);
            if(found != null) {                   
                found.add(treeVidalAtc.getModel().getRoot());
                ArrayList reordered = new ArrayList();
                for(int j=found.size()-1; j>=0; j--) {
View Full Code Here

TOP

Related Classes of cli_fmw.delegate.directory.DirectoryItem

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.