Package clips.delegate.doctor.profchekup

Examples of clips.delegate.doctor.profchekup.ProfcheckupSearchLocal


        this.itemList = itemList;//создаём кусок профчекапа

        if (result != null){
            this.result = result;
        }else{
            ProfcheckupSearchLocal searchLocal = new ProfcheckupSearchLocal(getAuditManager());
            this.result = searchLocal.search(contractLocal.getEnterprise());
        }

        initDangerList();
    resizeColumn();
    StateSaver.attachTo(this);
View Full Code Here


        selectBtn.setEnabled(false);
        cpEnterprise.setData(dirEnterprise, null, "Предприятие");
        cpEnterprise.addChoosePanelListener(this);

        searchLocal = new ProfcheckupSearchLocal(getAuditManager());
        lblNotCorrect.setVisible(false);
    StateSaver.attachTo(this);
    }
View Full Code Here

     * Клик на кнопке btFind - "�?скать"
     * @param evt
     */
    private void btFindActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btFindActionPerformed
        try {
            ProfcheckupSearchLocal profcheckupSearch = new ProfcheckupSearchLocal(getAuditManager());
            profcheckupLocals = new ArrayList<ProfcheckupLocal>();
            Selector<ProfcheckupLocal> selector;
            Date begin = dchFromDate.getDate();
            Date end = dchTillDate.getDate();

            switch (search_mode) {
                case search_all:
                    profcheckupLocals = profcheckupSearch.getFullProfcheckupList();
                    break;
                case search_after_date:
                    selector = profcheckupSearch.getProfcheckupsAfterDate(begin);
                    for (int i = 0; i < selector.size(); i++) {
                        profcheckupLocals.add(selector.get(i));
                    }
                    break;
                case search_before_date:
                    selector = profcheckupSearch.getProfcheckupsBeforeDate(end);
                    for (int i = 0; i < selector.size(); i++) {
                        profcheckupLocals.add(selector.get(i));
                    }
                    break;
                case search_between_dates:
                    selector = profcheckupSearch.getProfcheckupsByDate(begin, end);
                    for (int i = 0; i < selector.size(); i++) {
                        profcheckupLocals.add(selector.get(i));
                    }
                    break;
                default:
View Full Code Here

        ClientLocal client = delegate.getEmcLocal().getClient();
        if (delegate.isMedexam()){
            return new PanelMedexamEdit(pageContainer, client, delegate.getMedexamLocal());
        }
        if (delegate.isProfcheckup()){
            ProfcheckupSearchLocal search = new ProfcheckupSearchLocal(new AuditManager());
            List<ProfcheckupItemLocal> items = search.getItemsBy(delegate);
            return new PanelProfcheckupItemsList(pageContainer, items);
        }
        return new PanelDisease(pageContainer, client, delegate);
    }
View Full Code Here

TOP

Related Classes of clips.delegate.doctor.profchekup.ProfcheckupSearchLocal

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.