/** * INTERNAL: * PERF: Calculate change for the new object, avoids check for new since already know. */ public ObjectChangeSet calculateChangesForNewObject(Object clone, UnitOfWorkChangeSet changeSet, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent) { return calculateChanges(clone, null, true, changeSet, unitOfWork, descriptor, shouldRaiseEvent); }
/** * INTERNAL: * PERF: Calculate change for the new object, avoids check for new since already know. */ public ObjectChangeSet calculateChangesForNewObject(Object clone, UnitOfWorkChangeSet changeSet, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent) { return calculateChanges(clone, null, true, changeSet, unitOfWork, descriptor, shouldRaiseEvent); }
/** * INTERNAL: * PERF: Calculate change for the new object, avoids check for new since already know. */ public ObjectChangeSet calculateChangesForNewObject(Object clone, UnitOfWorkChangeSet changeSet, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent) { return calculateChanges(clone, null, true, changeSet, unitOfWork, descriptor, shouldRaiseEvent); }
/** * INTERNAL: * PERF: Calculate change for the new object, avoids check for new since already know. */ public ObjectChangeSet calculateChangesForExistingObject(Object clone, UnitOfWorkChangeSet changeSet, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent) { return calculateChanges(clone, unitOfWork.getBackupClone(clone, descriptor), false, changeSet, unitOfWork, descriptor, shouldRaiseEvent); }
/** * INTERNAL: * PERF: Calculate change for the new object, avoids check for new since already know. */ public ObjectChangeSet calculateChangesForExistingObject(Object clone, UnitOfWorkChangeSet changeSet, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent) { return calculateChanges(clone, unitOfWork.getBackupClone(clone, descriptor), false, changeSet, unitOfWork, descriptor, shouldRaiseEvent); }
/** * INTERNAL: * PERF: Calculate change for the new object, avoids check for new since already know. */ public ObjectChangeSet calculateChangesForExistingObject(Object clone, UnitOfWorkChangeSet changeSet, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent) { return calculateChanges(clone, unitOfWork.getBackupClone(clone, descriptor), false, changeSet, unitOfWork, descriptor, shouldRaiseEvent); }