Package beans.contract.entity

Examples of beans.contract.entity.ContractPacketPK


                throw new EDataIntegrity("В договоре отсутствуют необходимые услуги : \n" + serviceTitles);
            }
            AuditDoc<ContractPacket> auditCP = new AuditDoc<ContractPacket>(null, getCollaborator());
            auditDocList.add(auditCP);
            ContractPacket cp = new ContractPacket();
            cp.setKey(new ContractPacketPK(eid, packetTemplateID));
            cp.setContract(entity);
            cp.setPacketServiceTemplate(findEntity(PacketTemplate.class, packetTemplateID));
            manager.persist(cp);
            auditCP.check(cp);
        }
View Full Code Here


        CollaboratorAbstract collab = getCollaborator();
        for (ContractPacket b : cps) {
            AuditDoc<ContractPacket> auditDoc = new AuditDoc<ContractPacket>(null, collab);
            auditDocList.add(auditDoc);
            ContractPacket cp = ((ContractPacket) (b).clone());
            cp.setKey(new ContractPacketPK(dst.getId(), cp.getKey().getPacketTemplate()));
            manager.persist(cp);
            manager.flush();
            manager.refresh(cp);
            auditDoc.check(cp);
        }
View Full Code Here

TOP

Related Classes of beans.contract.entity.ContractPacketPK

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.