Package framework.beans

Examples of framework.beans.ModificationInfo


            getBean().removeEvent(data.getDetails().getId());
        }

        @Override
        protected int saveDB(FollowupEventData data) throws Exception {
            ModificationInfo info = getBean().setEvent(data.getDetails());
            auditDetailsList.addAll(info.getAudit());
            fireAuditEvent();
            return info.getId();
        }
View Full Code Here


    public void finishRenderingServices() throws ClipsException {
        if (isDirty()) {
            throw new ClipsException("Список анализов в данном расписании был изменен");
        }
        try {
            ModificationInfo mi = getBean().finishRenderingServices();
            auditDetailsList.addAll(mi.getAudit());
            fireAuditEvent();
        } catch (Exception ex) {
            clearBean();
            throw new ClipsException("Не удалось завершить анализы в данном расписании", ex);
        }
View Full Code Here

        if (isNewlyCreated()) {
            return;
        }
        if (checkupSet.get().isEmpty()){
            try {
                ModificationInfo mi = getBean().remove();
                auditDetailsList.addAll(mi.getAudit());
                fireAuditEvent();
            } catch (Exception ex) {
                clearBean();
                throw new ClipsException("Не удалось удалить расписание анализов");
            }
View Full Code Here

            Iterator<CheckupLocal> it = get().iterator();
            while (it.hasNext()) {
                CheckupLocal checkup = it.next();
                idSet.add(checkup.getID());
            }
            ModificationInfo mi = getBean().setCheckupList(idSet);
            auditDetailsList.addAll(mi.getAudit());
            fireAuditEvent();
        }
View Full Code Here

  }//GEN-LAST:event_btTempMapperEditorActionPerformed

  private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
        try {
            ClientSearchLocal csl = new ClientSearchLocal(getAuditManager());
            ModificationInfo mi = csl.unionPacients();
            getAuditManager().needDSA(new AuditList(mi.getAudit()));
        } catch (ClipsException ex) {
            MessageBox.showException(ex);
        }
  }//GEN-LAST:event_jButton2ActionPerformed
View Full Code Here

                        selectedSCData.getPolisDetails(),
                        packetService == null ? 0 : packetService.getID(),
                        chunkList,
                        forceDiscountMap);
            }
            ModificationInfo info = clientLocal.directNewSerren(newServicesChunk, null);
            List<AuditDetails> auditList = info.getAudit();
            newSerrenList = new ArrayList<SerRenLocal>();
            for (int i = 0; i < auditList.size(); i++) {
                if (!auditList.get(i).entityClass.equals(ServiceRender.class.getSimpleName())) {
                    continue;
                }
                SerRenLocal serRen = new SerRenLocal(auditList.get(i).getEntityId, getAuditManager());
                newSerrenList.add(serRen);
            }
            if (isMedexam) {
                newDiseaseLocal = new DiseaseLocal(info.getId(), getAuditManager());
            }

            if (needDlg) {
                int res = MessageBox.showConfirmYesNo(MessageBox.C_PRINT_DIRECTION_TO_CHECKUP);
                if (res == MessageBox.ANSWER_YES) {
View Full Code Here

        }

        @Override
        protected void deleteDB(DangerExamChunk data) throws Exception {
            System.out.println("delete DANGER CHUNK: job: " + data.getDetails().jobId);
            ModificationInfo info = getBean().removeDanger(data.getDetails());
            auditDetailsList.addAll(info.getAudit());
            fireAuditEvent();
        }
View Full Code Here

        }

        @Override
        protected int saveDB(DangerExamChunk data) throws Exception {
            System.out.println("save DANGER CHUNK: job: " + data.getDetails().jobId);
            ModificationInfo info = getBean().addDanger(data.getDetails());
            auditDetailsList.addAll(info.getAudit());
            fireAuditEvent();
            return info.getId();
        }
View Full Code Here

     * @return
     * @throws generic.ClipsServerException
     */
    public void renderAnalyse() throws ClipsException {
        try {
            ModificationInfo mi = getBean().renderAnalyse();
            auditDetailsList.addAll(mi.getAudit());
            fireAuditEvent();
        } catch (Exception ex) {
            clearBean();
            throw new ClipsException("Не удалось сохранить анализ", ex);
        }
View Full Code Here

            super(contaner);
        }
       
        @Override
        protected void deleteDB(PrescriptionItemData details) throws Exception {
            ModificationInfo mi = getBean().removePrescriptionItem(details.getDetails().getId());
            auditDetailsList.addAll(mi.getAudit());
            fireAuditEvent();
        }
View Full Code Here

TOP

Related Classes of framework.beans.ModificationInfo

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.