Modifier and Type | Method and Description |
---|---|
ObjectChangeSet |
DeferredChangeDetectionPolicy.calculateChanges(Object clone,
Object backUp,
UnitOfWorkChangeSet changeSet,
AbstractSession session,
ClassDescriptor descriptor,
boolean shouldRiseEvent)
INTERNAL:
calculateChanges creates a change set for a particular object.
|
ObjectChangeSet |
ObjectChangePolicy.calculateChanges(Object clone,
Object backUp,
UnitOfWorkChangeSet changes,
AbstractSession session,
ClassDescriptor descriptor,
boolean shouldRiseEvent)
INTERNAL:
calculateChanges creates a change set for a particular object
|
ObjectChangeSet |
DeferredChangeDetectionPolicy.createObjectChangeSet(Object clone,
Object backUp,
UnitOfWorkChangeSet changeSet,
boolean isNew,
AbstractSession session,
ClassDescriptor descriptor)
INTERNAL:
Create ObjectChangeSet
|
ObjectChangeSet |
DeferredChangeDetectionPolicy.createObjectChangeSetThroughComparison(Object clone,
Object backUp,
UnitOfWorkChangeSet changeSet,
boolean isNew,
AbstractSession session,
ClassDescriptor descriptor)
INTERNAL:
Create ObjectChangeSet
|
ObjectChangeSet |
ObjectChangePolicy.createObjectChangeSetThroughComparison(Object clone,
Object backUp,
UnitOfWorkChangeSet changeSet,
boolean isNew,
AbstractSession session,
ClassDescriptor descriptor)
INTERNAL:
Create ObjectChangeSet through comparison.
|
Modifier and Type | Method and Description |
---|---|
ObjectChangeSet |
ObjectBuilder.compareForChange(Object clone,
Object backUp,
UnitOfWorkChangeSet changeSet,
AbstractSession session)
INTERNAL:
This method creates an records changes for a particular object
|
ObjectChangeSet |
ObjectBuilder.createObjectChangeSet(Object clone,
UnitOfWorkChangeSet uowChangeSet,
AbstractSession session)
INTERNAL:
Used by the ObjectBuilder to create an ObjectChangeSet for the specified clone object
|
ObjectChangeSet |
ObjectBuilder.createObjectChangeSet(Object clone,
UnitOfWorkChangeSet uowChangeSet,
boolean isNew,
AbstractSession session)
INTERNAL:
Used by the ObjectBuilder to create an ObjectChangeSet for the specified clone object
|
Modifier and Type | Field and Description |
---|---|
protected UnitOfWorkChangeSet |
RepeatableWriteUnitOfWork.cumulativeUOWChangeSet
Used to store the final UnitOfWorkChangeSet for merge into the shared cache
|
Modifier and Type | Method and Description |
---|---|
void |
WriteLockManager.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.
|
Modifier and Type | Field and Description |
---|---|
protected UnitOfWorkChangeSet |
ObjectChangeSet.unitOfWorkChangeSet
This member variable holds the reference to the parent UnitOfWork Change Set
|
protected UnitOfWorkChangeSet |
UnitOfWorkImpl.unitOfWorkChangeSet
This method is used to store the current changeSet for this UnitOfWork.
|
Modifier and Type | Method and Description |
---|---|
UnitOfWorkChangeSet |
UnitOfWorkImpl.calculateChanges(IdentityHashtable allObjects,
UnitOfWorkChangeSet changeSet)
INTERNAL:
|
Modifier and Type | Method and Description |
---|---|
void |
OrderedCollectionChangeRecord.addAdditionChange(Hashtable additions,
Vector indexes,
UnitOfWorkChangeSet changes,
AbstractSession session)
This method takes a hastable of primitive objects and adds them to the add list.
|
void |
OrderedDirectCollectionChangeRecord.addAdditionChange(Hashtable additions,
Vector indexes,
UnitOfWorkChangeSet changes,
AbstractSession session)
INTERNAL:
This method takes a hastable of primitive objects and adds them to the add list.
|
void |
CollectionChangeRecord.addAdditionChange(IdentityHashMap objectChanges,
UnitOfWorkChangeSet changeSet,
AbstractSession session)
This method takes a IdentityHashtable of objects, converts these into
ObjectChangeSets.
|
void |
CollectionChangeRecord.addOrderedAdditionChange(Vector objectChanges,
IdentityHashtable objectChangesIndices,
UnitOfWorkChangeSet changeSet,
AbstractSession session)
INTERNAL:
This method takes a Vector of objects and converts them into
ObjectChangeSets.
|
void |
CollectionChangeRecord.addOrderedRemoveChange(Vector indicesToRemove,
Hashtable objectChanges,
UnitOfWorkChangeSet changeSet,
AbstractSession session)
INTERNAL:
This method takes a Hashtable of objects and converts them into
ObjectChangeSets.
|
void |
CollectionChangeRecord.addRemoveChange(IdentityHashMap objectChanges,
UnitOfWorkChangeSet changeSet,
AbstractSession session)
This method takes a IdentityHashtable of objects, converts these into ObjectChangeSets.
|
UnitOfWorkChangeSet |
UnitOfWorkImpl.calculateChanges(IdentityHashtable allObjects,
UnitOfWorkChangeSet changeSet)
INTERNAL:
|
protected void |
CommitManager.commitAllObjectsForClassWithChangeSet(UnitOfWorkChangeSet uowChangeSet,
Class theClass)
Commit all of the objects of the class type in the change set.
|
void |
CommitManager.commitAllObjectsWithChangeSet(UnitOfWorkChangeSet uowChangeSet)
Commit all of the objects as a single transaction.
|
void |
UnitOfWorkImpl.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 Serialization
|
protected void |
CommitManager.commitChangedObjectsForClassWithChangeSet(UnitOfWorkChangeSet uowChangeSet,
String className)
Commit changed of the objects of the class type in the change set.
|
protected void |
CommitManager.commitNewObjectsForClassWithChangeSet(UnitOfWorkChangeSet uowChangeSet,
Class theClass)
Commit all of the objects of the class type in the change set.
|
void |
UnitOfWorkImpl.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 database
|
protected void |
UnitOfWorkImpl.commitToDatabaseWithPreBuiltChangeSet(UnitOfWorkChangeSet uowChangeSet,
boolean commitTransaction)
INTERNAL:
Commit pre-built changeSet to the database changest to the database.
|
ObjectChangeSet |
UnitOfWorkChangeSet.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.
|
ObjectChangeSet |
UnitOfWorkChangeSet.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 ChangeSet
|
void |
MergeManager.mergeChangesFromChangeSet(UnitOfWorkChangeSet uowChangeSet)
INTERNAL:
Merge the changes to all objects to session's cache.
|
ObjectChangeSet |
UnitOfWorkChangeSet.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 changeset
|
void |
ObjectChangeSet.mergeObjectChanges(ObjectChangeSet changeSetToMergeFrom,
UnitOfWorkChangeSet mergeToChangeSet,
UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL:
This method will be used to merge changes from a supplied ObjectChangeSet
into this changeSet.
|
void |
DirectToFieldChangeRecord.mergeRecord(ChangeRecord mergeFromRecord,
UnitOfWorkChangeSet mergeToChangeSet,
UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL:
This method will be used to merge one record into another
|
void |
OrderedCollectionChangeRecord.mergeRecord(ChangeRecord mergeFromRecord,
UnitOfWorkChangeSet mergeToChangeSet,
UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL:
This method will be used to merge one record into another
|
void |
CollectionChangeRecord.mergeRecord(ChangeRecord mergeFromRecord,
UnitOfWorkChangeSet mergeToChangeSet,
UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL:
This method will be used to merge one record into another
|
void |
AggregateChangeRecord.mergeRecord(ChangeRecord mergeFromRecord,
UnitOfWorkChangeSet mergeToChangeSet,
UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL:
This method will be used to merge one record into another
|
void |
ObjectReferenceChangeRecord.mergeRecord(ChangeRecord mergeFromRecord,
UnitOfWorkChangeSet mergeToChangeSet,
UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL:
This method will be used to merge one record into another
|
abstract void |
ChangeRecord.mergeRecord(ChangeRecord mergeFromRecord,
UnitOfWorkChangeSet mergeToChangeSet,
UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL:
This method will be used to merge one record into another
|
void |
AggregateCollectionChangeRecord.mergeRecord(ChangeRecord mergeFromRecord,
UnitOfWorkChangeSet mergeToChangeSet,
UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL:
This method will be used to merge one record into another
|
void |
DirectMapChangeRecord.mergeRecord(ChangeRecord mergeFromRecord,
UnitOfWorkChangeSet mergeToChangeSet,
UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL:
This method will be used to merge one record into another
|
void |
DirectCollectionChangeRecord.mergeRecord(ChangeRecord mergeFromRecord,
UnitOfWorkChangeSet mergeToChangeSet,
UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL:
This method will be used to merge one record into another
|
void |
UnitOfWorkChangeSet.mergeUnitOfWorkChangeSet(UnitOfWorkChangeSet mergeFromChangeSet,
AbstractSession session,
boolean postCommit)
INTERNAL:
THis method will be used to merge another changeset into this changeset.
|
void |
UnitOfWorkImpl.setUnitOfWorkChangeSet(UnitOfWorkChangeSet unitOfWorkChangeSet)
INTERNAL:
Sets the current UnitOfWork change set to be the one passed in.
|
void |
ObjectChangeSet.setUOWChangeSet(UnitOfWorkChangeSet newUnitOfWorkChangeSet)
INTERNAL:
Used to set the parent change Set
|
void |
DirectToFieldChangeRecord.updateReferences(UnitOfWorkChangeSet mergeToChangeSet,
UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL:
This method will be used to update the objectsChangeSets references
|
void |
OrderedCollectionChangeRecord.updateReferences(UnitOfWorkChangeSet mergeToChangeSet,
UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL:
This method will be used to update the objectsChangeSets references
|
void |
CollectionChangeRecord.updateReferences(UnitOfWorkChangeSet mergeToChangeSet,
UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL:
This method will be used to update the objectsChangeSets references
|
void |
ObjectChangeSet.updateReferences(UnitOfWorkChangeSet localChangeSet,
UnitOfWorkChangeSet mergingChangeSet)
INTERNAL:
This method will be used when merging changesets into other changesets.
|
void |
AggregateChangeRecord.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.
|
void |
ObjectReferenceChangeRecord.updateReferences(UnitOfWorkChangeSet mergeToChangeSet,
UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL:
This method will be used to update the objectsChangeSets references
|
abstract void |
ChangeRecord.updateReferences(UnitOfWorkChangeSet mergeToChangeSet,
UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL:
This method will be used to update the objectsChangeSets references
|
void |
AggregateCollectionChangeRecord.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.
|
void |
DirectMapChangeRecord.updateReferences(UnitOfWorkChangeSet mergeToChangeSet,
UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL:
This method will be used to update the objectsChangeSets references
|
void |
DirectCollectionChangeRecord.updateReferences(UnitOfWorkChangeSet mergeToChangeSet,
UnitOfWorkChangeSet mergeFromChangeSet)
INTERNAL:
This method will be used to update the objectsChangeSets references
|
protected void |
AbstractSession.writeAllObjectsWithChangeSet(UnitOfWorkChangeSet uowChangeSet)
INTERNAL:
Write all of the objects and all of their privately owned parts in the database.
|
Constructor and Description |
---|
AggregateObjectChangeSet(Object cloneObject,
UnitOfWorkChangeSet parent,
boolean isNew)
This constructor is used to create an ObjectChangeSet that represents an aggregate object.
|
AggregateObjectChangeSet(Vector primaryKey,
Class classType,
Object cloneObject,
UnitOfWorkChangeSet parent,
boolean isNew)
This constructor is used to create an ObjectChangeSet that represents a regular object.
|
ObjectChangeSet(Object cloneObject,
UnitOfWorkChangeSet parent,
boolean isNew)
This constructor is used to create an ObjectChangeSet that represents an aggregate object.
|
ObjectChangeSet(Vector primaryKey,
Class classType,
Object cloneObject,
UnitOfWorkChangeSet parent,
boolean isNew)
This constructor is used to create an ObjectChangeSet that represents a regular object.
|
Modifier and Type | Method and Description |
---|---|
void |
SessionEventManager.postCalculateUnitOfWorkChangeSet(UnitOfWorkChangeSet changeSet)
INTERNAL:
Post calculate UnitOfWork Change Set.
|
void |
SessionEventManager.postDistributedMergeUnitOfWorkChangeSet(UnitOfWorkChangeSet changeSet)
INTERNAL:
Pre execute query.
|
void |
SessionEventManager.postMergeUnitOfWorkChangeSet(UnitOfWorkChangeSet changeSet)
INTERNAL:
Pre execute query.
|
void |
SessionEventManager.preDistributedMergeUnitOfWorkChangeSet(UnitOfWorkChangeSet changeSet)
INTERNAL:
Pre merge Distributed UnitOfWorkChangeSet
|
void |
SessionEventManager.preMergeUnitOfWorkChangeSet(UnitOfWorkChangeSet changeSet)
INTERNAL:
Pre merge UnitOfWorkChangeSet
|
Copyright © 2023. All rights reserved.