Package clips.delegate.client

Examples of clips.delegate.client.ClientLocal$FatherCache


            MessageBox.showWarning(MessageBox.W_LIST_ELEMENT_NOT_SELECT);
            return;
        }
        try {
            int clientID = followupList.get(tabFollowUps.getSelectedRowSorted()).clientID;
            ClientLocal clientLocal = new ClientLocal(clientID, getAuditManager());
            PanelClientEdit panel = new PanelClientEdit(getContainer(), clientLocal);
            PageGeneric page = getContainer().addNewPage(panel, this);
            getContainer().activatePage(page);
        } catch (PageException ex) {
            MessageBox.showException(ex);
View Full Code Here


        }
    }

    public ClientLocal getClient(AuditListener al) throws ClipsException {
        if(client == null) {
            client = new ClientLocal(getDetails().clientID, al);
        }
        return client;
    }
View Full Code Here

        ArrayList<ProfcheckupItemLocal> items = pl.getItems();
        Set<Integer> usedClients = new HashSet<Integer>();
        DefaultListModel listModel = new DefaultListModel();
        itemMap = new HashMap<Integer, List<ProfcheckupItemLocal>>();
        for (ProfcheckupItemLocal pil : items) {
            ClientLocal client = pil.getPolisData().getClient(getAuditManager());
            int id = client.getID();
            if (itemMap.get(id) == null) {
                itemMap.put(id, new ArrayList<ProfcheckupItemLocal>());
            }
            itemMap.get(id).add(pil);
            if (!usedClients.contains(id)) {
View Full Code Here

    private void jList1ValueChanged(javax.swing.event.ListSelectionEvent evt) {//GEN-FIRST:event_jList1ValueChanged
        try {
            jPanel2.removeAll();
            Object sel = jList1.getSelectedValue();
            if ( sel != null && sel instanceof ClientLocal) {
                ClientLocal clientLocal = (ClientLocal) sel;
                int id = clientLocal.getID();
                List<ProfcheckupItemLocal> items = itemMap.get(id);
                if (items != null && !items.isEmpty()) {
                    panelEMC = new PanelEMC(getContainer(), clientLocal);
                    jPanel2.add(panelEMC, BorderLayout.CENTER);
                    jPanel2.revalidate();
View Full Code Here

        }
    }

    @Override
    public PageGeneric initPanel(DiseaseLocal delegate, PageContainer pageContainer) throws ClipsException {
        ClientLocal client = delegate.getEmcLocal().getClient();
        if (delegate.isMedexam()){
            return new PanelMedexamEdit(pageContainer, client, delegate.getMedexamLocal());
        }
        if (delegate.isProfcheckup()){
            ProfcheckupSearchLocal search = new ProfcheckupSearchLocal(new AuditManager());
View Full Code Here

    }

    @Deprecated
    private void setAutoEncounter() throws ClipsException {
        //Вычисление повторяемости
        ClientLocal client = diagnosisLocal.getSerrenLocal().getPolisData().getClient();
        DirectoryDiagnosisEncounterItem itemEncounter = client.getAutocalculatedEncounter(diagnosisLocal.getMkb(), diagnosisLocal.getSerrenLocal().getDiseaseLocal().getID());
        diagnosisLocal.setEncounter(itemEncounter);
        cbEncounter.setSelectedItem(itemEncounter);
        //сброс кеша заболевания
        //diagnosisLocal.getSerrenLocal().getDiseaseLocal().clearDiagnosisCache();
    }
View Full Code Here

        if (tabMedexam.getSelectedRowCount() == 0) {
            MessageBox.showWarning(MessageBox.W_LIST_ELEMENT_NOT_SELECT);
            return;
        }
        try {
            ClientLocal clientLocal = medexamList.get(tabMedexam.getSelectedRowSorted()).getClientLocal();
            DiseaseLocal disease = medexamList.get(tabMedexam.getSelectedRowSorted()).getDiseaseLocal();
            PanelEMC panel = new PanelEMC(getContainer(), clientLocal);
            getContainer().addNewPage(panel, this);
            panel.selectInEmc(disease);
        } catch (PageException ex) {
View Full Code Here

    private void btSelectActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btSelectActionPerformed
        try {
            int row = tabSerRens.getSelectedRowSorted();
            DiseaseChunk dc = diseaseList.get(row);
            ClientLocal client = new ClientLocal(dc.clientID, getAuditManager());
            DiseaseLocal disease = new DiseaseLocal(dc.details.id, getAuditManager());
            PanelEMC panel = new PanelEMC(getContainer(), client);
            getContainer().addNewPage(panel, this);
            panel.selectInEmc(disease);
        } catch (ClipsException ex) {
View Full Code Here

        try {
            if (evt.getClickCount() == 2) {
                int row = tabSerRens.getSelectedRowSorted();
                if (row >=0 && row < diseaseList.size()) {
                    DiseaseChunk dc = diseaseList.get(row);
                    ClientLocal client = new ClientLocal(dc.clientID, getAuditManager());
                    DiseaseLocal disease = new DiseaseLocal(dc.details.id, getAuditManager());
                    PanelEMC panel = new PanelEMC(getContainer(), client);
                    getContainer().addNewPage(panel, this);
                    panel.selectInEmc(disease);
View Full Code Here

       return getDetails().money;
    }

   
    public ClientLocal getClient() throws ClipsException{
        return new ClientLocal(getDetails().clientID, getAuditListener());
    }
View Full Code Here

TOP

Related Classes of clips.delegate.client.ClientLocal$FatherCache

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.