Package framework.beans

Examples of framework.beans.ModificationInfo


            fireAuditEvent();
        }

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


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

            fireAuditEvent();
        }

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

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

            fireAuditEvent();
        }

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

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

            fireAuditEvent();
        }

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

        }
    }

    public void savePolisData(PolisData polis) throws ClipsException {
        try {
            ModificationInfo mi = getBean().setPolis(polis.getDetails());
            auditDetailsList.addAll(mi.getAudit());
            fireAuditEvent();
            int id = mi.getId();
            polis.setId(id);
        } catch (Exception ex) {
            clearBean();
            throw new ClipsException("Ошибка при записи полиса в договор", ex);
        }
View Full Code Here

        }
    }

    public void removePolisData(PolisData polis) throws ClipsException {
        try {
            ModificationInfo mi = getBean().removePolis(polis.getId());
            auditDetailsList.addAll(mi.getAudit());
            fireAuditEvent();
        } catch (Exception ex) {
            clearBean();
            throw new ClipsException("Ошибка при удалении полиса из договора", ex);
        }
View Full Code Here

        }
    }
   
    public ContractLocal copy() throws ClipsException {
        try {
            ModificationInfo mi = getBean().copy();
            auditDetailsList.addAll(mi.getAudit());
            fireAuditEvent();
            return new ContractLocal(mi.getId(), getAuditListener());
        } catch (Exception ex) {
            clearBean();
            throw new ClipsException("Ошибка при копировании договора", ex);
        }
    }
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.