Package clips.delegate.doctor.prescriptiondlo

Examples of clips.delegate.doctor.prescriptiondlo.PrescriptionDloLocal


    }

    @Override
    public Object getValueAt(int row, int col) {
        try {
            PrescriptionDloLocal prescription = ii.get(row);
            switch (col) {
                case COL_DATE: {
                    return prescription.getDate();
                }
                case COL_COLL: {
                    return prescription.getSerrenLocal().getSerRenDirector();
                }
            }
        } catch (ClipsException ex) {
            return new ErrorValue(ex);
        }
View Full Code Here


private void jTableMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jTableMouseClicked
    if (evt.getClickCount() == 2) {
        int row = jTable.getSelectedRowSorted();
            if (row >=0 ) {
            PrescriptionDloLocal p = prescriptions.get(row);
            if (getContainer() instanceof PanelEMC) {
                try {
                    ((PanelEMC) getContainer()).selectInEmc(p);
                } catch (ClipsException ex) {
                    ex.printStackTrace();
View Full Code Here

                } else if (aClass.equals(RecommendationLocal.class)) {
                    leaf = new RecommendationLocal(selectedService);
                } else if (aClass.equals(DiagnosisLocal.class)) {
                    leaf = new DiagnosisLocal(selectedService);
                } else if (aClass.equals(PrescriptionDloLocal.class)) {
                    leaf = new PrescriptionDloLocal(selectedService);
                } else {
                    throw new ClipsException("Попытка создать объект не учтённого типа");
                }
                if (leaf != null) {
                    System.out.println("PANEL EMC, LEAF " + leaf + " ADD TO SERVICE " + selectedService);
View Full Code Here

        List<PrescriptionDloLocal> prescriptions = new ArrayList<PrescriptionDloLocal>();
        try {
            List<PrescriptionDloDetails> list = getBean().getPrescriptionDloList();
            for(PrescriptionDloDetails d : list) {
                SerRenLocal serRen = new SerRenLocal(d.serviceRenderID, getAuditListener());
                PrescriptionDloLocal prescription = new PrescriptionDloLocal(d, serRen, getAuditListener());
                prescriptions.add(prescription);
            }
        } catch (Exception ex) {
            clearBean();
            throw new ClipsException("Не удалось загрузить список выписанных льготных рецептов",ex);
View Full Code Here

            super(contaner);
        }

        @Override
        protected PrescriptionDloLocal createDelegate(PrescriptionDloDetails d) throws Exception {
            return new PrescriptionDloLocal(d, SerRenLocal.this, getAuditListener());
        }
View Full Code Here

TOP

Related Classes of clips.delegate.doctor.prescriptiondlo.PrescriptionDloLocal

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.