Package clips.delegate.service

Examples of clips.delegate.service.SerRenLocal$DiagnosisCacheList


    public List<DiagnosisLocal> getDiagnosisList() throws ClipsException {
        List<DiagnosisLocal> diagnosisLocals = new ArrayList<DiagnosisLocal>();
        try {
            List<DiagnosisDetails> list = getBean().getDiagnosisList();
            for(DiagnosisDetails d : list) {
                SerRenLocal serRen = new SerRenLocal(d.serviceRenderID, getAuditListener());
                DiagnosisLocal diagnosisLocal = new DiagnosisLocal(d, serRen, getAuditListener());
                diagnosisLocals.add(diagnosisLocal);
            }
        } catch (Exception ex) {          
            clearBean();
View Full Code Here


        List<DiagnosisLocal> res = new ArrayList<DiagnosisLocal>();
        try {
            List<DiagnosisDetails> list = getBean().getFullDiagnosisList(diseaseID);
            for (int i = 0; i < list.size(); i++) {
                DiagnosisDetails dd = list.get(i);
                SerRenLocal serren = new SerRenLocal(dd.serviceRenderID, getAuditListener());
                DiagnosisLocal diagnosisLocal = new DiagnosisLocal(dd, serren, getAuditListener());
                res.add(diagnosisLocal);
            }
        } catch (ClipsServerException ex) {
            clearBean();
View Full Code Here

    public List<PrescriptionLocal> getPrescriptionList() throws ClipsException {
        List<PrescriptionLocal> prescriptionLocals = new ArrayList<PrescriptionLocal>();
        try {
            List<PrescriptionDetails> list = getBean().getPrescriptionList();
            for(PrescriptionDetails d : list) {
                SerRenLocal serRen = new SerRenLocal(d.serviceRenderID, getAuditListener());
                PrescriptionLocal prescriptionLocal = new PrescriptionLocal(d, serRen, getAuditListener());
                prescriptionLocals.add(prescriptionLocal);
            }
        } catch (Exception ex) {          
            clearBean();
View Full Code Here

    public List<PrescriptionDloLocal> getPrescriptionDloList() throws ClipsException {
        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();
View Full Code Here

    public List<RecommendationLocal> getRecommedationList() throws ClipsException {
        List<RecommendationLocal> recommendationLocals = new ArrayList<RecommendationLocal>();
        try {
            List<RecommendationDetails> list = getBean().getRecommedationList();
            for(RecommendationDetails d : list) {
                SerRenLocal serRen = new SerRenLocal(d.serviceRenderID, getAuditListener());
                RecommendationLocal recommendationLocal = new RecommendationLocal(d, serRen, getAuditListener());
                recommendationLocals.add(recommendationLocal);
            }
        } catch (Exception ex) {          
            clearBean();
View Full Code Here

        try {
            int contractID = contract == null ? 0 : contract.getID();
            List<ServiceRenderDetails> renderDetailsList = getBean().getServiceRenders(begin, end, contractID);
            List<SerRenLocal> items = new ArrayList<SerRenLocal>();
            for (int i = 0; i < renderDetailsList.size(); i++) {
                SerRenLocal serRen = new SerRenLocal(renderDetailsList.get(i), getAuditListener());
                items.add(serRen);
            }
            return items;
        } catch (Exception ex) {
            clearBean();
View Full Code Here

    public List<SerRenLocal> getSerRenListToRender() throws ClipsException {
        List<SerRenLocal> items = new ArrayList<SerRenLocal>();
        try {
            List<ServiceRenderDetails> renderDetailsList = getBean().getServiceRendersToRender();
            for (int i = 0; i < renderDetailsList.size(); i++) {
                SerRenLocal serRen = new SerRenLocal(renderDetailsList.get(i), getAuditListener());
                items.add(serRen);
            }
        } catch (Exception ex) {
            clearBean();
            throw new ClipsException("Не удалось загрузить список услуг",ex);
View Full Code Here

    public ArrayList<DiagnosisLocal> getLastDiagnosis() throws ClipsException {
        try {
            ArrayList<DiagnosisDetails> dList = getBean().getLastDiagnosis();
            ArrayList<DiagnosisLocal> target = new ArrayList<DiagnosisLocal>(dList.size());
            for (DiagnosisDetails dd : dList) {
                target.add(new DiagnosisLocal(dd, new SerRenLocal(dd.getServiceRenderID(), getAuditListener()), getAuditListener()));
            }
            return target;
        } catch (Exception ex) {
            clearBean();
            throw new ClipsException("Не удалось получить список диагнозов", ex);
View Full Code Here

        }
       
        for (int i = 0; i < detailsList.size(); i++) {
            int serrenID = detailsList.get(i).serviceRenderID;
            if (!serrenMap.containsKey(serrenID)) {
                SerRenLocal serren = new SerRenLocal(serrenID, am);
                serrenMap.put(serrenID, serren);
            }
        }
        //создаем список чекапов
        ArrayList<CheckupLocal> checkupList = new ArrayList<CheckupLocal>();
View Full Code Here

        }
       
        for (int i = 0; i < detailsList.size(); i++) {
            CheckupDetails d = detailsList.get(i);
            int serrenID = d.serviceRenderID;
            CheckupLocal checkup = new CheckupLocal(d, new SerRenLocal(serrenID, am), am);
            checkupList.add(checkup);
        }
        return checkupList;
    }
View Full Code Here

TOP

Related Classes of clips.delegate.service.SerRenLocal$DiagnosisCacheList

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.