Uses of Class
org.eclipse.persistence.internal.sessions.MergeManager
-
-
Uses of MergeManager in org.eclipse.persistence.eis.mappings
Methods in org.eclipse.persistence.eis.mappings with parameters of type MergeManager Modifier and Type Method Description ObjectEISOneToManyMapping. buildAddedElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Build and return a new element based on the change set.protected ObjectEISOneToManyMapping. buildElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession)Build and return a new element based on the change set.ObjectEISOneToManyMapping. buildElementFromElement(Object element, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Build and return a new element based on the specified element.ObjectEISOneToManyMapping. buildRemovedElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Build and return a new element based on the change set.voidEISOneToManyMapping. mergeChangesIntoObject(Object target, ChangeRecord chgRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: If the mapping has a foreign key, it is order, so must use a different merge.voidEISOneToManyMappingHelper. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidEISOneToManyMapping. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: If the mapping has a foreign key, it is order, so must use a different merge.voidEISOneToManyMappingHelper. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object. -
Uses of MergeManager in org.eclipse.persistence.internal.descriptors
Methods in org.eclipse.persistence.internal.descriptors with parameters of type MergeManager Modifier and Type Method Description voidObjectBuilder. mergeChangesIntoObject(Object target, ObjectChangeSet changeSet, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes between the objects, this merge algorithm is dependent on the merge manager.voidObjectBuilder. mergeChangesIntoObject(Object target, ObjectChangeSet changeSet, Object source, MergeManager mergeManager, AbstractSession targetSession, boolean isTargetCloneOfOriginal, boolean shouldMergeFetchGroup)INTERNAL: Merge changes between the objects, this merge algorithm is dependent on the merge manager.voidObjectBuilder. mergeIntoObject(Object target, boolean isUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge the contents of one object into another, this merge algorithm is dependent on the merge manager.voidObjectBuilder. mergeIntoObject(Object target, ObjectChangeSet changeSet, boolean isUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession, boolean cascadeOnly, boolean isTargetCloneOfOriginal, boolean shouldMergeFetchGroup)INTERNAL: Merge the contents of one object into another, this merge algorithm is dependent on the merge manager. -
Uses of MergeManager in org.eclipse.persistence.internal.helper
Methods in org.eclipse.persistence.internal.helper with parameters of type MergeManager Modifier and Type Method Description voidWriteLockManager. acquireRequiredLocks(MergeManager mergeManager, UnitOfWorkChangeSet changeSet)INTERNAL: This method will be the entry point for threads attempting to acquire locks for all objects that have a changeset.CacheKeyWriteLockManager. appendLock(Object primaryKey, Object objectToLock, ClassDescriptor descriptor, MergeManager mergeManager, AbstractSession session)INTERNAL: This method will be called by a merging thread that is attempting to lock a new object that was not locked previously.voidWriteLockManager. releaseAllAcquiredLocks(MergeManager mergeManager)INTERNAL: This method will release all acquired locksvoidWriteLockManager. transitionToDeferredLocks(MergeManager mergeManager)INTERNAL: This method will transition the previously acquired active locks to deferred locks in the case a readlock could not be acquired for a related object. -
Uses of MergeManager in org.eclipse.persistence.internal.indirection
Methods in org.eclipse.persistence.internal.indirection with parameters of type MergeManager Modifier and Type Method Description protected ReadObjectQueryIndirectionPolicy. buildCascadeQuery(MergeManager mergeManager)INTERNAL Return true if the refresh should refresh on this mapping or not.protected voidIndirectionPolicy. mergeClientIntoServerValueHolder(RemoteValueHolder<?> serverValueHolder, MergeManager mergeManager)INTERNAL Replace the client value holder with the server value holder, after copying some of the settings from the client value holder.voidBasicIndirectionPolicy. mergeRemoteValueHolder(Object clientSideDomainObject, Object serverSideDomainObject, MergeManager mergeManager)INTERNAL Replace the client value holder with the server value holder, after copying some of the settings from the client value holder.abstract voidIndirectionPolicy. mergeRemoteValueHolder(Object clientSideDomainObject, Object serverSideDomainObject, MergeManager mergeManager)INTERNAL Replace the client value holder with the server value holder, after copying some of the settings from the client value holder.voidNoIndirectionPolicy. mergeRemoteValueHolder(Object clientSideDomainObject, Object serverSideDomainObject, MergeManager mergeManager)INTERNAL Replace the client value holder with the server value holder, after copying some of the settings from the client value holder.voidProxyIndirectionPolicy. mergeRemoteValueHolder(Object clientSideDomainObject, Object serverSideDomainObject, MergeManager mergeManager)INTERNAL: Replace the client value holder with the server value holder after copying some of the settings from the client value holder.voidTransparentIndirectionPolicy. mergeRemoteValueHolder(Object clientSideDomainObject, Object serverSideDomainObject, MergeManager mergeManager)INTERNAL Replace the client value holder with the server value holder, after copying some of the settings from the client value holder. -
Uses of MergeManager in org.eclipse.persistence.internal.queries
Methods in org.eclipse.persistence.internal.queries with parameters of type MergeManager Modifier and Type Method Description ObjectContainerPolicy. createWrappedObjectFromExistingWrappedObject(Object wrappedObject, Object parent, ClassDescriptor referenceDescriptor, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: This method will actually potentially wrap an object in two ways.ObjectMapContainerPolicy. createWrappedObjectFromExistingWrappedObject(Object wrappedObject, Object parent, ClassDescriptor referenceDescriptor, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: This method will actually potentially wrap an object in two ways.ObjectMappedKeyMapContainerPolicy. createWrappedObjectFromExistingWrappedObject(Object wrappedObject, Object parent, ClassDescriptor referenceDescriptor, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: This method will actually potentially wrap an object in two ways.ObjectContainerPolicy. mergeCascadeParts(ObjectChangeSet objectChanges, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.protected voidContainerPolicy. mergeChanges(CollectionChangeRecord changeRecord, Object valueOfTarget, boolean shouldMergeCascadeParts, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidContainerPolicy. mergeChanges(CollectionChangeRecord changeRecord, Object valueOfTarget, boolean shouldMergeCascadeParts, MergeManager mergeManager, AbstractSession targetSession, boolean isSynchronizeOnMerge)INTERNAL: Merge changes from the source to the target object.protected voidOrderedListContainerPolicy. mergeChanges(CollectionChangeRecord changeRecord, Object valueOfTarget, boolean shouldMergeCascadeParts, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidOrderedListContainerPolicy. mergeChanges(CollectionChangeRecord changeRecord, Object valueOfTarget, boolean shouldMergeCascadeParts, MergeManager mergeManager, AbstractSession targetSession, boolean isSynchronizeOnMerge)INTERNAL: Merge changes from the source to the target object.protected voidOrderedListContainerPolicy. registerRemoveNewObjectIfRequired(ObjectChangeSet objectChanges, MergeManager mergeManager)INTERNAL: -
Uses of MergeManager in org.eclipse.persistence.internal.sessions
Fields in org.eclipse.persistence.internal.sessions declared as MergeManager Modifier and Type Field Description protected MergeManagerUnitOfWorkImpl. lastUsedMergeManagerUsed to store the list of locks that this UnitOfWork has acquired for this mergeprotected MergeManagerUnitOfWorkImpl. mergeManagerForActiveMergetemporarily holds a reference to a merge manager that is calling this UnitOfWork during mergeMethods in org.eclipse.persistence.internal.sessions that return MergeManager Modifier and Type Method Description MergeManagerUnitOfWorkImpl. getMergeManager()A reference to the last used merge manager.Methods in org.eclipse.persistence.internal.sessions with parameters of type MergeManager Modifier and Type Method Description protected CacheKeyAbstractSession. getCacheKeyFromTargetSessionForMerge(Object implementation, ObjectBuilder builder, ClassDescriptor descriptor, MergeManager mergeManager)INTERNAL: For use within the merge process this method will get an object from the shared cache using a readlock.protected CacheKeyIsolatedClientSession. getCacheKeyFromTargetSessionForMerge(Object implementation, ObjectBuilder builder, ClassDescriptor descriptor, MergeManager mergeManager)INTERNAL: For use within the merge process this method will get an object from the shared cache using a readlock.protected ObjectObjectChangeSet. getObjectForMerge(MergeManager mergeManager, AbstractSession session, Object primaryKey, ClassDescriptor descriptor)INTERNAL: For use within the distributed merge process, this method will get an object from the shared cache using a readlock.ObjectObjectChangeSet. getTargetVersionOfSourceObject(MergeManager mergeManager, AbstractSession session)INTERNAL: This method is used to return the complex object specified within the change record.ObjectObjectChangeSet. getTargetVersionOfSourceObject(MergeManager mergeManager, AbstractSession targetSession, boolean shouldRead)INTERNAL: This method is used to return the complex object specified within the change record.ObjectRepeatableWriteUnitOfWork. mergeCloneWithReferences(Object rmiClone, MergeManager manager)INTERNAL: Merge the attributes of the clone into the unit of work copy.ObjectUnitOfWorkImpl. mergeCloneWithReferences(Object rmiClone, MergeManager manager)INTERNAL: Merge the attributes of the clone into the unit of work copy.voidUnitOfWorkImpl. setMergeManager(MergeManager mergeManager)INTERNAL: A reference to the last used merge manager. -
Uses of MergeManager in org.eclipse.persistence.mappings
Methods in org.eclipse.persistence.mappings with parameters of type MergeManager Modifier and Type Method Description protected booleanForeignReferenceMapping. dontDoMerge(Object target, Object source, MergeManager mergeManager)INTERNAL: Return true if the merge should be bypassed.ObjectAggregateObjectMapping. getTargetVersionOfSourceObject(Object object, Object parent, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: If required, get the targetVersion of the source object from the merge manager.ObjectOneToOneMapping. getTargetVersionOfSourceObject(Object object, Object parent, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: If required, get the targetVersion of the source object from the merge manager Used with MapKeyContainerPolicy to abstract getting the target version of a source keyprotected voidDirectCollectionMapping. mergeAddRemoveChanges(Object valueOfTarget, Object delegateTarget, DirectCollectionChangeRecord changeRecord, MergeManager mergeManager, AbstractSession session)INTERNAL: Merge changes by adding and removing from the change record to the target object, and its delegate object if instance of IndirectCollection.protected voidAggregateMapping. mergeAttributeValue(Object targetAttributeValue, boolean isTargetUnInitialized, Object sourceAttributeValue, MergeManager mergeManager, AbstractSession targetSession)Merge the attribute values.voidAggregateCollectionMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidAggregateMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidCollectionMapping. mergeChangesIntoObject(Object target, ChangeRecord chgRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.abstract voidDatabaseMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidDirectCollectionMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidDirectMapMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidMultitenantPrimaryKeyMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidObjectReferenceMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidAggregateCollectionMapping. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidAggregateMapping. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidCollectionMapping. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.abstract voidDatabaseMapping. mergeIntoObject(Object target, boolean isTargetUninitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidDirectCollectionMapping. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidDirectMapMapping. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidMultitenantPrimaryKeyMapping. mergeIntoObject(Object target, boolean isTargetUninitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidObjectReferenceMapping. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidForeignReferenceMapping. mergeRemoteValueHolder(Object clientSideDomainObject, Object serverSideDomainObject, MergeManager mergeManager)INTERNAL: Replace the client value holder with the server value holder, after copying some of the settings from the client value holder.booleanForeignReferenceMapping. shouldMergeCascadeParts(MergeManager mergeManager)INTERNAL: Returns true if the merge should cascade to the mappings reference's parts.protected booleanForeignReferenceMapping. shouldMergeCascadeReference(MergeManager mergeManager)Returns true if the merge should cascade to the mappings reference.booleanForeignReferenceMapping. shouldRefreshCascadeParts(MergeManager mergeManager)INTERNAL: Returns true if the merge should cascade to the mappings reference's parts. -
Uses of MergeManager in org.eclipse.persistence.mappings.foundation
Methods in org.eclipse.persistence.mappings.foundation with parameters of type MergeManager Modifier and Type Method Description ObjectAbstractCompositeCollectionMapping. buildAddedElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Build and return a new element based on the change set.ObjectAbstractCompositeDirectCollectionMapping. buildAddedElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Build and return a new element based on the change set.protected ObjectAbstractCompositeCollectionMapping. buildElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession)Build and return a new element based on the change set.protected ObjectAbstractCompositeDirectCollectionMapping. buildElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession)Build and return a new element based on the change set.ObjectAbstractCompositeCollectionMapping. buildElementFromElement(Object element, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Build and return a new element based on the specified element.ObjectAbstractCompositeDirectCollectionMapping. buildElementFromElement(Object object, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Build and return a new element based on the specified element.ObjectAbstractCompositeCollectionMapping. buildRemovedElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Build and return a new element based on the change set.ObjectAbstractCompositeDirectCollectionMapping. buildRemovedElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Build and return a new element based on the change set.ObjectAbstractDirectMapping. getTargetVersionOfSourceObject(Object object, Object parent, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: If required, get the targetVersion of the source object from the merge manager.ObjectMapKeyMapping. getTargetVersionOfSourceObject(Object object, Object parent, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: If required, get the targetVersion of the source object from the merge managervoidAbstractCompositeCollectionMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidAbstractCompositeDirectCollectionMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidAbstractDirectMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidAbstractTransformationMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidAbstractCompositeCollectionMapping. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidAbstractCompositeDirectCollectionMapping. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidAbstractDirectMapping. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidAbstractTransformationMapping. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object. -
Uses of MergeManager in org.eclipse.persistence.mappings.structures
Methods in org.eclipse.persistence.mappings.structures with parameters of type MergeManager Modifier and Type Method Description ObjectArrayCollectionMapping. buildAddedElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession)Build and return a newly-added element based on the change set.ObjectArrayCollectionMapping. buildElementFromElement(Object element, MergeManager mergeManager, AbstractSession targetSession)Build and return a new element based on the specified element.ObjectArrayCollectionMapping. buildRemovedElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession)Build and return a recently-removed element based on the change set.voidArrayCollectionMappingHelper. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidArrayCollectionMappingHelper. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object. -
Uses of MergeManager in org.eclipse.persistence.oxm.mappings
Methods in org.eclipse.persistence.oxm.mappings with parameters of type MergeManager Modifier and Type Method Description voidXMLAnyAttributeMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidXMLAnyCollectionMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidXMLAnyObjectMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidXMLChoiceCollectionMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidXMLChoiceObjectMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidXMLInverseReferenceMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)voidXMLAnyAttributeMapping. mergeIntoObject(Object target, boolean isTargetUninitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidXMLAnyCollectionMapping. mergeIntoObject(Object target, boolean isTargetUninitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidXMLAnyObjectMapping. mergeIntoObject(Object target, boolean isTargetUninitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidXMLChoiceCollectionMapping. mergeIntoObject(Object target, boolean isTargetUninitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidXMLChoiceObjectMapping. mergeIntoObject(Object target, boolean isTargetUninitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidXMLInverseReferenceMapping. mergeIntoObject(Object target, boolean isTargetUninitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)
-