Package framework.beans

Examples of framework.beans.ModificationInfo


            fireAuditEvent();
        }

        @Override
        protected int saveDB(PrescriptionItemData details) throws Exception {
            ModificationInfo mi = getBean().setPrescriptionItem(details.getDetails());
            auditDetailsList.addAll(mi.getAudit());
            fireAuditEvent();
            return mi.getId();
        }
View Full Code Here


            }
        }

        @Override
        protected void saveDB() throws Exception {
            ModificationInfo info = getBean().setPolisOMI(polisOMS.get() != null ? polisOMS.get().getDetails() : null);
            auditDetailsList.addAll(info.getAudit());
            fireAuditEvent();
            clearCache();
        }
View Full Code Here

            return new ClientDocumentData(ClientLocal.this, getBean().getClientDocument());
        }

        @Override
        protected void saveDB() throws Exception {
            ModificationInfo mi = getBean().setClientDocument(get().getDetails());
            auditDetailsList.addAll(mi.getAudit());
            fireAuditEvent();
            if (inCache()){
                get().commit();
            }
        }
View Full Code Here

        }


        @Override
        protected void deleteDB(CollaboratorFunctionsChunk data) throws Exception {
            ModificationInfo mi = getBean().removeFunctions(data.getDetails());
            auditDetailsList.addAll(mi.getAudit());
            fireAuditEvent();
        }
View Full Code Here

            fireAuditEvent();
        }

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

            fireAuditEvent();
        }

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

     * @throws cli_fmw.main.ClipsException
     * Пётр: поржал, поплакал. Сделайте что нибудь с этим методом, пожалуйста...
     */
    public void removeAndBreakPacket() throws ClipsException {
       try {
            ModificationInfo info = getBean().removeAndBreakPacket();
            auditDetailsList.addAll(info.getAudit());
        } catch (Exception ex) {
            try {
                clearBean();
                ModificationInfo info = getBean().removeAndBreakPacket();
                auditDetailsList.addAll(info.getAudit());
            } catch (Exception ex1) {
                clearBean();
                throw new ClipsException("Не удалось удалить объект 'Назначенная услуга'", ex1);
            }
        }finally{
View Full Code Here

     * @return
     * @throws cli_fmw.main.ClipsException
     */
    public ModificationInfo directNewSerren(NewServicesChunk chunk, SerRenLocal parentSerRen) throws ClipsException {
        try {
            ModificationInfo mi;
            if (parentSerRen == null) {
                mi = createServiceBean.get().createNewServices(chunk);
            } else {
                mi = createServiceBean.get().createNewServices(chunk, parentSerRen.getID());
            }
View Full Code Here

            getBean().removeExpenditure(data.getDetailsCopy().getId());
        }

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

            super(contaner);
        }
       
        @Override
        protected void deleteDB(CommitteeMemberData data) throws Exception {
            ModificationInfo mi = getBean().removeCommitteeMember(data.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.