Package framework.beans

Examples of framework.beans.ModificationInfo


                auditDetailsList.addAll(unionPolis(dst, src, false));
                auditDetailsList.addAll(unionPolis(dst, src, true));
                auditDetailsList.addAll(fillClientDetails(dst, src));
            }
        }
        return new ModificationInfo(pacientsMap.size(), auditDetailsList);
    }
View Full Code Here


        }
       
        manager.flush();
        AuditDoc<CollaboratorFunctions> auditDoc = new AuditDoc<CollaboratorFunctions>(null, getCollaborator());
        auditDoc.check(functions);
        return new ModificationInfo(functions.getId(), persistAudit(auditDoc));
    }
View Full Code Here

        AuditDoc<CollaboratorFunctions> auditDoc = new AuditDoc<CollaboratorFunctions>(functions, getCollaborator());
        functions.setTrash(true);
        manager.merge(functions);
        manager.flush();
        auditDoc.check(functions);
        return new ModificationInfo(persistAudit(auditDoc));
    }
View Full Code Here

                new Field("id.collId", eid),
                new Field("id.rightId", oldRights, Field.OPERATOR_IN)
            };
            deleteEntityList2(CollaboratorRight.class, f, auditDocList);
        }
        return new ModificationInfo(0, persistAudit(auditDocList));
    }
View Full Code Here

        event.setDate(details.date);
        event.setCancelled(details.cancelled);
        event.setCalled(details.called);
        int id = saveEntity(event);
        auditFEvent.check(event);
        return new ModificationInfo(id, persistAudit(auditFEvent));
    }
View Full Code Here

        FollowupEvent event = findEntity(FollowupEvent.class, id);
        checkTheSame(event.getFollup());
        AuditDoc<FollowupEvent> auditFevent = new AuditDoc<FollowupEvent>(event, getCollaborator());
        manager.remove(event);
        auditFevent.check(null);
        return new ModificationInfo(0, persistAudit(auditFevent));
    }
View Full Code Here

        AuditDoc<Checkup> auditCheckup = new AuditDoc<Checkup>(entity, getCollaborator());
        entity.setCheckupShedule(null);
        saveEntity(entity);
        auditCheckup.check(entity);
        target.add(persistAudit(auditCheckup));
        return new ModificationInfo(entity.getId(), target);
    }
View Full Code Here

        }
        servicePrice.setMoney(details.money);
        servicePrice.setPrice(details.price);
        int id = saveEntity(servicePrice);
        auditDoc.check(servicePrice);
        return new ModificationInfo(id, persistAudit(auditDoc));
    }
View Full Code Here

        }

        AuditDoc<ServicePrice> auditDoc = new AuditDoc<ServicePrice>(servicePrice, getCollaborator());
        manager.remove(servicePrice);
        auditDoc.check(null);
        return new ModificationInfo(anID, persistAudit(auditDoc));
    }
View Full Code Here

                new Field("key.contract", eid),
                new Field("key.packetTemplate", old, Field.OPERATOR_IN)
            };
            deleteEntityList2(ContractPacket.class, f, auditDocList);
        }
        return new ModificationInfo(0, persistAudit(auditDocList));
    }
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.