Uses of Class
org.eclipse.persistence.internal.sessions.UnitOfWorkChangeSet
-
-
Uses of UnitOfWorkChangeSet in org.eclipse.persistence.descriptors.changetracking
Methods in org.eclipse.persistence.descriptors.changetracking with parameters of type UnitOfWorkChangeSet Modifier and Type Method Description ObjectChangeSetDeferredChangeDetectionPolicy. calculateChanges(Object clone, Object backUp, boolean isNew, UnitOfWorkChangeSet changeSet, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent)INTERNAL: calculateChanges creates a change set for a particular object.ObjectChangeSetObjectChangePolicy. calculateChanges(Object clone, Object backupClone, boolean isNew, UnitOfWorkChangeSet changes, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent)INTERNAL: CalculateChanges creates a change set for an existing object.ObjectChangeSetAttributeChangeTrackingPolicy. calculateChangesForExistingObject(Object clone, UnitOfWorkChangeSet changeSet, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent)INTERNAL: PERF: Calculate change for the existing object, avoids check for new since already know.ObjectChangeSetDeferredChangeDetectionPolicy. calculateChangesForExistingObject(Object clone, UnitOfWorkChangeSet changeSet, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent)INTERNAL: PERF: Calculate change for the new object, avoids check for new since already know.ObjectChangeSetObjectChangePolicy. calculateChangesForExistingObject(Object clone, UnitOfWorkChangeSet changes, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent)INTERNAL: CalculateChanges creates a change set for an existing object.ObjectChangeSetDeferredChangeDetectionPolicy. calculateChangesForNewObject(Object clone, UnitOfWorkChangeSet changeSet, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent)INTERNAL: PERF: Calculate change for the new object, avoids check for new since already know.ObjectChangeSetObjectChangePolicy. calculateChangesForNewObject(Object clone, UnitOfWorkChangeSet changes, UnitOfWorkImpl unitOfWork, ClassDescriptor descriptor, boolean shouldRaiseEvent)INTERNAL: CalculateChanges creates a change set for a new object.ObjectChangeSetAttributeChangeTrackingPolicy. createObjectChangeSet(Object clone, Object backUp, UnitOfWorkChangeSet changeSet, boolean isNew, AbstractSession session, ClassDescriptor descriptor)INTERNAL: Create ObjectChangeSetObjectChangeSetDeferredChangeDetectionPolicy. createObjectChangeSet(Object clone, Object backUp, UnitOfWorkChangeSet changeSet, boolean isNew, AbstractSession session, ClassDescriptor descriptor)INTERNAL: Create ObjectChangeSetObjectChangeSetDeferredChangeDetectionPolicy. createObjectChangeSetThroughComparison(Object clone, Object backUp, UnitOfWorkChangeSet changeSet, boolean isNew, AbstractSession session, ClassDescriptor descriptor)INTERNAL: Create ObjectChangeSetObjectChangeSetObjectChangePolicy. createObjectChangeSetThroughComparison(Object clone, Object backUp, UnitOfWorkChangeSet changeSet, boolean isNew, AbstractSession session, ClassDescriptor descriptor)INTERNAL: Create ObjectChangeSet through comparison. -
Uses of UnitOfWorkChangeSet in org.eclipse.persistence.internal.descriptors
Methods in org.eclipse.persistence.internal.descriptors with parameters of type UnitOfWorkChangeSet Modifier and Type Method Description ObjectChangeSetObjectBuilder. compareForChange(Object clone, Object backUp, UnitOfWorkChangeSet changeSet, AbstractSession session)INTERNAL: This method creates a records change set for a particular object.ObjectChangeSetObjectBuilder. createObjectChangeSet(Object clone, UnitOfWorkChangeSet uowChangeSet, boolean isNew, boolean assignPrimaryKeyIfExisting, AbstractSession session)INTERNAL: Used by the ObjectBuilder to create an ObjectChangeSet for the specified clone object.ObjectChangeSetObjectBuilder. createObjectChangeSet(Object clone, UnitOfWorkChangeSet uowChangeSet, boolean isNew, AbstractSession session)INTERNAL: Used by the ObjectBuilder to create an ObjectChangeSet for the specified clone object.ObjectChangeSetObjectBuilder. createObjectChangeSet(Object clone, UnitOfWorkChangeSet uowChangeSet, AbstractSession session)INTERNAL: Used by the ObjectBuilder to create an ObjectChangeSet for the specified clone object.voidCascadeLockingPolicy. lockNotifyParent(Object obj, UnitOfWorkChangeSet changeSet, UnitOfWorkImpl uow)INTERNAL: -
Uses of UnitOfWorkChangeSet in org.eclipse.persistence.internal.helper
Methods in org.eclipse.persistence.internal.helper with parameters of type UnitOfWorkChangeSet 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. -
Uses of UnitOfWorkChangeSet in org.eclipse.persistence.internal.queries
Methods in org.eclipse.persistence.internal.queries with parameters of type UnitOfWorkChangeSet Modifier and Type Method Description voidContainerPolicy. buildChangeSetForNewObjectInCollection(Object object, ClassDescriptor referenceDescriptor, UnitOfWorkChangeSet uowChangeSet, AbstractSession session)voidMapContainerPolicy. buildChangeSetForNewObjectInCollection(Object object, ClassDescriptor referenceDescriptor, UnitOfWorkChangeSet uowChangeSet, AbstractSession session)INTERNAL: Ensure the new key is set for the change set for a new map objectvoidContainerPolicy. updateChangeRecordForSelfMerge(ChangeRecord changeRecord, Object source, Object target, ForeignReferenceMapping mapping, UnitOfWorkChangeSet parentUOWChangeSet, UnitOfWorkImpl unitOfWork)INTERNAL: Update a ChangeRecord to replace the ChangeSet for the old entity with the changeSet for the new Entity.voidListContainerPolicy. updateChangeRecordForSelfMerge(ChangeRecord changeRecord, Object source, Object target, ForeignReferenceMapping mapping, UnitOfWorkChangeSet parentUOWChangeSet, UnitOfWorkImpl unitOfWork)INTERNAL: Update a ChangeRecord to replace the ChangeSet for the old entity with the changeSet for the new Entity.voidOrderedListContainerPolicy. updateChangeRecordForSelfMerge(ChangeRecord changeRecord, Object source, Object target, ForeignReferenceMapping mapping, UnitOfWorkChangeSet parentUOWChangeSet, UnitOfWorkImpl unitOfWork)INTERNAL: Update a ChangeRecord to replace the ChangeSet for the old entity with the changeSet for the new Entity. -
Uses of UnitOfWorkChangeSet in org.eclipse.persistence.internal.sessions
Fields in org.eclipse.persistence.internal.sessions declared as UnitOfWorkChangeSet Modifier and Type Field Description protected UnitOfWorkChangeSetRepeatableWriteUnitOfWork. cumulativeUOWChangeSetUsed to store the final UnitOfWorkChangeSet for merge into the shared cacheprotected UnitOfWorkChangeSetObjectChangeSet. unitOfWorkChangeSetThis member variable holds the reference to the parent UnitOfWork Change Setprotected UnitOfWorkChangeSetUnitOfWorkImpl. unitOfWorkChangeSetThis method is used to store the current changeSet for this UnitOfWork.Methods in org.eclipse.persistence.internal.sessions that return UnitOfWorkChangeSet Modifier and Type Method Description UnitOfWorkChangeSetUnitOfWorkChangeSet. buildCacheCoordinationMergeChangeSet(AbstractSession session)INTERNAL: Return a new UnitOfWorkChangeSet that only includes data require for the remote merge, for cache coordination.UnitOfWorkChangeSetUnitOfWorkImpl. calculateChanges(Map registeredObjects, UnitOfWorkChangeSet changeSet, boolean assignSequences, boolean shouldCloneMap)INTERNAL:UnitOfWorkChangeSetRepeatableWriteUnitOfWork. getCumulativeUOWChangeSet()INTERNAL: Get the final UnitOfWorkChangeSet for merge into the shared cache.Methods in org.eclipse.persistence.internal.sessions with parameters of type UnitOfWorkChangeSet Modifier and Type Method Description voidCollectionChangeRecord. addAdditionChange(Map objectChanges, ContainerPolicy cp, UnitOfWorkChangeSet changeSet, AbstractSession session)This method takes a Map of objects, converts these into ObjectChangeSets.voidCollectionChangeRecord. addOrderedAdditionChange(List<Object> orderedObjectsToAdd, Map<Object,Integer> objectChangesIndices, UnitOfWorkChangeSet changeSet, AbstractSession session)This method takes a list of objects and converts them into ObjectChangeSets.voidCollectionChangeRecord. addOrderedRemoveChange(List<Integer> indicesToRemove, Map objectChanges, UnitOfWorkChangeSet changeSet, AbstractSession session)This method takes a map of objects and converts them into ObjectChangeSets.voidCollectionChangeRecord. addRemoveChange(Map objectChanges, ContainerPolicy cp, UnitOfWorkChangeSet changeSet, AbstractSession session)This method takes a Map of objects, converts these into ObjectChangeSets.UnitOfWorkChangeSetUnitOfWorkImpl. calculateChanges(Map registeredObjects, UnitOfWorkChangeSet changeSet, boolean assignSequences, boolean shouldCloneMap)INTERNAL:protected voidCommitManager. commitAllObjectsForClassWithChangeSet(UnitOfWorkChangeSet uowChangeSet, Class<?> theClass)Commit all of the objects of the class type in the change set.voidCommitManager. commitAllObjectsWithChangeSet(UnitOfWorkChangeSet uowChangeSet)Commit all of the objects as a single transaction.voidUnitOfWorkImpl. commitAndResumeWithPreBuiltChangeSet(UnitOfWorkChangeSet uowChangeSet)INTERNAL: This method is used by the MappingWorkbench for their read-only file feature this method must not be exposed to or used by customers until it has been revised and the feature revisited to support OptimisticLocking and Serializationprotected voidCommitManager. commitChangedObjectsForClassWithChangeSet(UnitOfWorkChangeSet uowChangeSet, Class<?> theClass)Commit changed of the objects of the class type in the change set.protected voidCommitManager. commitNewObjectsForClassWithChangeSet(UnitOfWorkChangeSet uowChangeSet, Class<?> theClass)Commit all of the objects of the class type in the change set.voidUnitOfWorkImpl. commitRootUnitOfWorkWithPreBuiltChangeSet(UnitOfWorkChangeSet uowChangeSet)INTERNAL: This method is used by the MappingWorkbench read-only files feature It will commit a pre-built unitofwork change set to the databaseprotected voidUnitOfWorkImpl. commitToDatabaseWithPreBuiltChangeSet(UnitOfWorkChangeSet uowChangeSet, boolean commitTransaction, boolean isChangeSetFromOutsideUOW)INTERNAL: Commit pre-built changeSet to the database changeSet to the database.ObjectChangeSetUnitOfWorkChangeSet. findObjectChangeSet(ObjectChangeSet changeSet, UnitOfWorkChangeSet mergeFromChangeSet)INTERNAL: This method can be used find the equivalent changeset within this UnitOfWorkChangeSet Aggregates, and new objects without primaryKeys from serialized ChangeSets will not be found Which may result in duplicates, in the UnitOfWorkChangeSet.ObjectChangeSetUnitOfWorkChangeSet. findOrIntegrateObjectChangeSet(ObjectChangeSet tofind, UnitOfWorkChangeSet mergeFromChangeSet)INTERNAL: This method will be used during the merge process to either find an equivalent change set within this UnitOfWorkChangeSet or integrate that changeset into this UOW ChangeSetvoidMergeManager. mergeChangesFromChangeSet(UnitOfWorkChangeSet uowChangeSet)INTERNAL: Merge the changes to all objects to session's cache.voidObjectChangeSet. mergeObjectChanges(ObjectChangeSet changeSetToMergeFrom, UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)INTERNAL: This method will be used to merge changes from a supplied ObjectChangeSet into this changeSet.ObjectChangeSetUnitOfWorkChangeSet. mergeObjectChanges(ObjectChangeSet objectChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)INTERNAL: This method will be used to merge a change set into an UnitOfWorkChangeSet This method returns the local instance of the changesetvoidAggregateChangeRecord. mergeRecord(ChangeRecord mergeFromRecord, UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)INTERNAL: This method will be used to merge one record into anothervoidAggregateCollectionChangeRecord. mergeRecord(ChangeRecord mergeFromRecord, UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)INTERNAL: This method will be used to merge one record into anotherabstract voidChangeRecord. mergeRecord(ChangeRecord mergeFromRecord, UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)INTERNAL: This method will be used to merge one record into anothervoidCollectionChangeRecord. mergeRecord(ChangeRecord mergeFromRecord, UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)This method will be used to merge one record into another.voidDirectCollectionChangeRecord. mergeRecord(ChangeRecord mergeFromRecord, UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)This method will be used to merge one record into another.voidDirectMapChangeRecord. mergeRecord(ChangeRecord mergeFromRecord, UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)This method will be used to merge one record into another.voidDirectToFieldChangeRecord. mergeRecord(ChangeRecord mergeFromRecord, UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)INTERNAL: This method will be used to merge one record into another.voidObjectReferenceChangeRecord. mergeRecord(ChangeRecord mergeFromRecord, UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)INTERNAL: This method will be used to merge one record into anothervoidTransformationMappingChangeRecord. mergeRecord(ChangeRecord mergeFromRecord, UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)INTERNAL: This method will be used to merge one record into anothervoidUnitOfWorkChangeSet. mergeUnitOfWorkChangeSet(UnitOfWorkChangeSet mergeFromChangeSet, AbstractSession session, boolean postCommit)INTERNAL: THis method will be used to merge another changeset into this changeset.voidObjectChangeSet. postSerialize(Object clone, UnitOfWorkChangeSet uowChangeSet, AbstractSession session)INTERNAL: Reset the change set's transient variables after serialization.voidRepeatableWriteUnitOfWork. setCumulativeUOWChangeSet(UnitOfWorkChangeSet cumulativeUOWChangeSet)INTERNAL: Set the final UnitOfWorkChangeSet for merge into the shared cache.voidUnitOfWorkImpl. setUnitOfWorkChangeSet(UnitOfWorkChangeSet unitOfWorkChangeSet)INTERNAL: Sets the current UnitOfWork change set to be the one passed in.voidObjectChangeSet. setUOWChangeSet(UnitOfWorkChangeSet newUnitOfWorkChangeSet)INTERNAL: Used to set the parent change Set.voidAggregateChangeRecord. updateReferences(UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)INTERNAL: This method will be used to update the objectsChangeSets references If this is an aggregate change set then there is no need to update the reference as the ChangeSet has no identity outside of this record Check to see if it exists here already to prevent us from creating a little extra garbage.voidAggregateCollectionChangeRecord. updateReferences(UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)INTERNAL: This method will be used to update the objectsChangeSets references If this is an aggregate change set then there is no need to update the reference as the ChangeSet has no identity outside of this record Check to see if it exists here already to prevent us from creating a little extra garbage.abstract voidChangeRecord. updateReferences(UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)INTERNAL: This method will be used to update the objectsChangeSets referencesvoidCollectionChangeRecord. updateReferences(UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)This method will be used to update the objectsChangeSets references.voidDirectCollectionChangeRecord. updateReferences(UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)This method will be used to update the objectsChangeSets referencesvoidDirectMapChangeRecord. updateReferences(UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)This method will be used to update the objectsChangeSets references.voidDirectToFieldChangeRecord. updateReferences(UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)INTERNAL: This method will be used to update the objectsChangeSets referencesvoidObjectChangeSet. updateReferences(UnitOfWorkChangeSet localChangeSet, UnitOfWorkChangeSet mergingChangeSet)INTERNAL: This method will be used when merging changesets into other changesets.voidObjectReferenceChangeRecord. updateReferences(UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)INTERNAL: This method will be used to update the objectsChangeSets referencesvoidTransformationMappingChangeRecord. updateReferences(UnitOfWorkChangeSet mergeToChangeSet, UnitOfWorkChangeSet mergeFromChangeSet)INTERNAL: This method will be used to update the objectsChangeSets references There is nothing to do for this mapping type as there are no object referencesprotected voidAbstractSession. writeAllObjectsWithChangeSet(UnitOfWorkChangeSet uowChangeSet)INTERNAL: Write all of the objects and all of their privately owned parts in the database.Constructors in org.eclipse.persistence.internal.sessions with parameters of type UnitOfWorkChangeSet Constructor Description AggregateObjectChangeSet(Object primaryKey, ClassDescriptor descriptor, Object cloneObject, UnitOfWorkChangeSet parent, boolean isNew)This constructor is used to create an ObjectChangeSet that represents a regular object.ObjectChangeSet(Object primaryKey, ClassDescriptor descriptor, Object cloneObject, UnitOfWorkChangeSet parent, boolean isNew)This constructor is used to create an ObjectChangeSet that represents a regular object. -
Uses of UnitOfWorkChangeSet in org.eclipse.persistence.internal.sessions.remote
Methods in org.eclipse.persistence.internal.sessions.remote that return UnitOfWorkChangeSet Modifier and Type Method Description UnitOfWorkChangeSetRemoteUnitOfWork. calculateChanges(Map registeredObjects, UnitOfWorkChangeSet changeSet, boolean assignSequences, boolean shouldCloneMap)INTERNAL: Changes are calculated on the client, so avoid recalculating them on the server.Methods in org.eclipse.persistence.internal.sessions.remote with parameters of type UnitOfWorkChangeSet Modifier and Type Method Description UnitOfWorkChangeSetRemoteUnitOfWork. calculateChanges(Map registeredObjects, UnitOfWorkChangeSet changeSet, boolean assignSequences, boolean shouldCloneMap)INTERNAL: Changes are calculated on the client, so avoid recalculating them on the server.protected voidRemoteUnitOfWork. fixRemoteChangeSet(UnitOfWorkChangeSet uowChangeSet, Map cloneMap, AbstractSession session)INTERNAL: Fix the transient fields in the serialized change set. -
Uses of UnitOfWorkChangeSet in org.eclipse.persistence.mappings
Methods in org.eclipse.persistence.mappings with parameters of type UnitOfWorkChangeSet Modifier and Type Method Description voidDatabaseMapping. postCalculateChangesOnDeleted(Object deletedObject, UnitOfWorkChangeSet uowChangeSet, UnitOfWorkImpl uow)INTERNAL: Overridden by mappings that require objects to be deleted contribute to change set creation.voidUnidirectionalOneToManyMapping. postCalculateChangesOnDeleted(Object deletedObject, UnitOfWorkChangeSet uowChangeSet, UnitOfWorkImpl uow)INTERNAL: Overridden by mappings that require objects to be deleted contribute to change set creation.voidCollectionMapping. updateChangeRecordForSelfMerge(ChangeRecord changeRecord, Object source, Object target, UnitOfWorkChangeSet parentUOWChangeSet, UnitOfWorkImpl unitOfWork)INTERNAL: Update a ChangeRecord to replace the ChangeSet for the old entity with the changeSet for the new Entity.abstract voidForeignReferenceMapping. updateChangeRecordForSelfMerge(ChangeRecord changeRecord, Object source, Object target, UnitOfWorkChangeSet parentUOWChangeSet, UnitOfWorkImpl unitOfWork)INTERNAL: Update a ChangeRecord to replace the ChangeSet for the old entity with the changeSet for the new Entity.voidObjectReferenceMapping. updateChangeRecordForSelfMerge(ChangeRecord changeRecord, Object source, Object target, UnitOfWorkChangeSet parentUOWChangeSet, UnitOfWorkImpl unitOfWork)INTERNAL: Update a ChangeRecord to replace the ChangeSet for the old entity with the changeSet for the new Entity. -
Uses of UnitOfWorkChangeSet in org.eclipse.persistence.sessions
Methods in org.eclipse.persistence.sessions with parameters of type UnitOfWorkChangeSet Modifier and Type Method Description voidSessionEventManager. postCalculateUnitOfWorkChangeSet(UnitOfWorkChangeSet changeSet)INTERNAL: Post calculate UnitOfWork Change Set.voidSessionEventManager. postDistributedMergeUnitOfWorkChangeSet(UnitOfWorkChangeSet changeSet)INTERNAL: Pre execute query.voidSessionEventManager. postMergeUnitOfWorkChangeSet(UnitOfWorkChangeSet changeSet)INTERNAL: Pre execute query.voidSessionEventManager. preDistributedMergeUnitOfWorkChangeSet(UnitOfWorkChangeSet changeSet)INTERNAL: Pre merge Distributed UnitOfWorkChangeSetvoidSessionEventManager. preMergeUnitOfWorkChangeSet(UnitOfWorkChangeSet changeSet)INTERNAL: Pre merge UnitOfWorkChangeSet -
Uses of UnitOfWorkChangeSet in org.eclipse.persistence.sessions.coordination
Fields in org.eclipse.persistence.sessions.coordination declared as UnitOfWorkChangeSet Modifier and Type Field Description protected UnitOfWorkChangeSetMergeChangeSetCommand. changeSetThe changes to be applied remotelyMethods in org.eclipse.persistence.sessions.coordination that return UnitOfWorkChangeSet Modifier and Type Method Description UnitOfWorkChangeSetMergeChangeSetCommand. getChangeSet(AbstractSession session)INTERNAL: Return the changes to be appliedMethods in org.eclipse.persistence.sessions.coordination with parameters of type UnitOfWorkChangeSet Modifier and Type Method Description voidMergeChangeSetCommand. setChangeSet(UnitOfWorkChangeSet newChangeSet)INTERNAL: Set the changes to be applied
-