Modifier and Type | Method and Description |
---|---|
IdentityHashtable |
CollectionChangeRecord.getAddObjectList()
ADVANCED:
This method returns the IdentityHashtable that contains the added values to the collection
and their corresponding ChangeSets.
|
IdentityHashtable |
UnitOfWorkChangeSet.getAllChangeSets()
ADVANCED:
This method returns a reference to the collection.
|
IdentityHashtable |
UnitOfWorkChangeSet.getDeletedObjects()
ADVANCED:
This method returns the reference to the deleted objects from the changeSet
|
IdentityHashtable |
CollectionChangeRecord.getRemoveObjectList()
ADVANCED:
This method returns the IdentityHashtable that contains the removed values from the collection
and their corresponding ChangeSets.
|
Modifier and Type | Method and Description |
---|---|
void |
DeferredChangeDetectionPolicy.revertChanges(Object clone,
ClassDescriptor descriptor,
UnitOfWorkImpl uow,
IdentityHashtable cloneMapping)
INTERNAL:
This method is used to revert an object within the unit of work
|
void |
ObjectChangePolicy.revertChanges(Object clone,
ClassDescriptor descriptor,
UnitOfWorkImpl uow,
IdentityHashtable cloneMapping)
INTERNAL:
This method is used to revert an object within the unit of work
|
Modifier and Type | Field and Description |
---|---|
protected IdentityHashtable |
DescriptorIterator.visitedObjects |
Modifier and Type | Method and Description |
---|---|
IdentityHashtable |
DescriptorIterator.getVisitedObjects() |
Modifier and Type | Method and Description |
---|---|
void |
ObjectBuilder.cascadePerformRemove(Object object,
UnitOfWorkImpl uow,
IdentityHashtable visitedObjects)
INTERNAL:
THis method is used by the UnitOfWork to cascade registration of new objects.
|
void |
ObjectBuilder.cascadeRegisterNewForCreate(Object object,
UnitOfWorkImpl uow,
IdentityHashtable visitedObjects)
INTERNAL:
THis method is used by the UnitOfWork to cascade registration of new objects.
|
void |
DescriptorIterator.setVisitedObjects(IdentityHashtable visitedObjects) |
Modifier and Type | Field and Description |
---|---|
protected IdentityHashtable |
RepeatableWriteUnitOfWork.unregisteredDeletedObjectsCloneToBackupAndOriginal
Used to store objects already deleted from the db and unregistered
|
Modifier and Type | Method and Description |
---|---|
void |
RepeatableWriteUnitOfWork.discoverUnregisteredNewObjects(Object clone,
IdentityHashtable knownNewObjects,
IdentityHashtable unregisteredExistingObjects,
IdentityHashtable visitedObjects)
INTERNAL:
Traverse the object to find references to objects not registered in this unit of work.
|
Modifier and Type | Method and Description |
---|---|
static Vector |
Helper.buildVectorFromHashtableElements(IdentityHashtable hashtable)
Create a new Vector containing all of the hashtable elements
|
static boolean |
ConcurrencyManager.isBuildObjectOnThreadComplete(Thread thread,
IdentityHashtable recursiveSet)
Check if the deferred locks of a thread are all released
|
Modifier and Type | Method and Description |
---|---|
void |
ExpressionQueryMechanism.extractStatementFromItem(ReportItem item,
IdentityHashtable clonedExpressions,
SQLSelectStatement selectStatement,
Vector fieldExpressions) |
Modifier and Type | Field and Description |
---|---|
protected IdentityHashtable |
CollectionChangeRecord.addObjectList
Contains the added values to the collection and their corresponding ChangeSets.
|
protected IdentityHashtable |
UnitOfWorkChangeSet.aggregateList |
protected IdentityHashtable |
UnitOfWorkChangeSet.allChangeSets |
protected IdentityHashtable |
UnitOfWorkImpl.allClones
This member variable contains a copy of all of the clones for this particular UOW
|
protected IdentityHashtable |
UnitOfWorkImpl.cloneMapping
Hashtable of all the clones.
|
protected IdentityHashtable |
UnitOfWorkChangeSet.cloneToObjectChangeSet |
protected IdentityHashtable |
UnitOfWorkImpl.cloneToOriginals
As well as used as lookup in merge algorithm for aggregates and others
|
protected IdentityHashtable |
CommitManager.completedCommits |
protected IdentityHashtable |
UnitOfWorkChangeSet.deletedObjects |
protected IdentityHashtable |
UnitOfWorkImpl.deletedObjects |
protected IdentityHashtable |
MergeManager.mergedNewObjects
Used to keep track of merged new objects.
|
protected IdentityHashtable |
UnitOfWorkImpl.newAggregates |
protected IdentityHashtable |
UnitOfWorkImpl.newObjectsCloneToOriginal |
protected IdentityHashtable |
UnitOfWorkImpl.newObjectsOriginalToClone |
protected IdentityHashtable |
UnitOfWorkChangeSet.objectChangeSetToUOWClone |
protected IdentityHashtable |
MergeManager.objectDescriptors
Used only while refreshing objects on remote session
|
protected IdentityHashtable |
MergeManager.objectsAlreadyMerged
Used to unravel recursion.
|
protected IdentityHashtable |
UnitOfWorkImpl.objectsDeletedDuringCommit |
protected IdentityHashtable |
CollectionChangeRecord.orderedAddObjectIndices
Contains the added values index to the collection.
|
protected IdentityHashtable |
CommitManager.pendingCommits |
protected IdentityHashtable |
UnitOfWorkImpl.pessimisticLockedObjects
use to track pessimistic locked objects
|
protected IdentityHashtable |
CommitManager.postModifyCommits |
protected IdentityHashtable |
CommitManager.preModifyCommits |
protected IdentityHashtable |
CommitManager.processedCommits
Changed the folowing line to work like mergemanager.
|
protected IdentityHashtable |
UnitOfWorkImpl.removedObjects |
protected IdentityHashtable |
CollectionChangeRecord.removeObjectList
Contains the removed values from the collection and their corresponding ChangeSets.
|
protected IdentityHashtable |
CommitManager.shallowCommits |
protected IdentityHashtable |
UnitOfWorkImpl.unregisteredExistingObjects |
protected IdentityHashtable |
UnitOfWorkImpl.unregisteredNewObjects |
Modifier and Type | Method and Description |
---|---|
protected IdentityHashtable |
MergeManager.buildIdentitySet(Object container,
ContainerPolicy containerPolicy,
boolean keyByTarget)
Build and return an identity set for the specified container.
|
IdentityHashtable |
UnitOfWorkImpl.collectAndPrepareObjectsForCommit()
INTERNAL:
Prepare for commit.
|
IdentityHashtable |
UnitOfWorkImpl.collectAndPrepareObjectsForNestedMerge()
INTERNAL:
Prepare for merge in nested uow.
|
IdentityHashtable |
CollectionChangeRecord.getAddObjectList()
ADVANCED:
This method returns the collection of ChangeSets that were added to the collection.
|
protected IdentityHashtable |
UnitOfWorkChangeSet.getAggregateList()
INTERNAL:
Get the Aggregate list.
|
IdentityHashtable |
UnitOfWorkChangeSet.getAllChangeSets()
INTERNAL:
This method returns a reference to the collection
|
protected IdentityHashtable |
UnitOfWorkImpl.getAllClones()
INTERNAL:
This method is used to get a copy of the collection of all clones in the UnitOfWork
|
IdentityHashtable |
UnitOfWorkImpl.getCloneMapping()
INTERNAL:
Return the clone mapping.
|
IdentityHashtable |
UnitOfWorkChangeSet.getCloneToObjectChangeSet()
INTERNAL:
Get the clone to object change hash table.
|
IdentityHashtable |
UnitOfWorkImpl.getCloneToOriginals()
INTERNAL:
Hashtable used to avoid garbage collection in weak caches.
|
protected IdentityHashtable |
CommitManager.getCompletedCommits()
Return any objects that have been written during this commit process.
|
IdentityHashtable |
UnitOfWorkChangeSet.getDeletedObjects()
INTERNAL:
This method returns the reference to the deleted objects from the changeSet
|
IdentityHashtable |
UnitOfWorkImpl.getDeletedObjects()
INTERNAL:
The deleted objects stores any objects removed during the unit of work.
|
IdentityHashtable |
UnitOfWorkImpl.getNewAggregates()
INTERNAL:
The hashtable stores any new aggregates that have been cloned.
|
IdentityHashtable |
UnitOfWorkImpl.getNewObjectsCloneToOriginal()
INTERNAL:
The new objects stores any objects newly created during the unit of work.
|
IdentityHashtable |
UnitOfWorkImpl.getNewObjectsOriginalToClone()
INTERNAL:
The new objects stores any objects newly created during the unit of work.
|
protected IdentityHashtable |
UnitOfWorkChangeSet.getObjectChangeSetToUOWClone()
INTERNAL:
This method returns a reference to the collection
|
IdentityHashtable |
MergeManager.getObjectDescriptors() |
IdentityHashtable |
MergeManager.getObjectsAlreadyMerged() |
IdentityHashtable |
UnitOfWorkImpl.getObjectsDeletedDuringCommit()
INTERNAL:
Returns all the objects which are deleted during root commit of unit of work.
|
IdentityHashtable |
CollectionChangeRecord.getOrderedAddObjectIndices()
ADVANCED:
This method returns the collection of ChangeSets that they were
added to the collection.
|
protected IdentityHashtable |
CommitManager.getPendingCommits()
Return any objects that should be written during this commit process.
|
IdentityHashtable |
UnitOfWorkImpl.getPessimisticLockedObjects()
INTERNAL:
|
protected IdentityHashtable |
CommitManager.getPostModifyCommits()
Return any objects that should be written during post modify commit process.
|
protected IdentityHashtable |
CommitManager.getPreModifyCommits()
Return any objects that should be written during pre modify commit process.
|
protected IdentityHashtable |
CommitManager.getProcessedCommits()
Return any objects that should be written during this commit process.
|
protected IdentityHashtable |
UnitOfWorkImpl.getRemovedObjects()
INTERNAL:
The removed objects stores any newly registered objects removed during the nested unit of work.
|
IdentityHashtable |
CollectionChangeRecord.getRemoveObjectList()
ADVANCED:
This method returns the IdentityHashtable that contains the removed values from the collection
and their corresponding ChangeSets.
|
protected IdentityHashtable |
CommitManager.getShallowCommits()
Return any objects that have been shallow comitted during this commit process.
|
IdentityHashtable |
UnitOfWorkImpl.getUnregisteredExistingObjects()
INTERNAL:
Used to lazy Initialize the unregistered existing Objects collection.
|
protected IdentityHashtable |
UnitOfWorkImpl.getUnregisteredNewObjects()
INTERNAL:
This is used to store unregistred objects discovered in the parent so that the child
unit of work knows not to register them on commit.
|
IdentityHashtable |
UnitOfWorkImpl.scanForConformingInstances(Expression selectionCriteria,
Class referenceClass,
AbstractRecord arguments,
ObjectLevelReadQuery query)
INTERNAL:
Scans the UnitOfWork identity map for conforming instances.
|
Modifier and Type | Method and Description |
---|---|
void |
UnitOfWorkChangeSet.addDeletedObjects(IdentityHashtable deletedObjects,
AbstractSession session)
INTERNAL:
Add the Deleted objects to the changeSet
|
void |
CollectionChangeRecord.addOrderedAdditionChange(Vector objectChanges,
IdentityHashtable objectChangesIndices,
UnitOfWorkChangeSet changeSet,
AbstractSession session)
INTERNAL:
This method takes a Vector of objects and converts them into
ObjectChangeSets.
|
UnitOfWorkChangeSet |
UnitOfWorkImpl.calculateChanges(IdentityHashtable allObjects,
UnitOfWorkChangeSet changeSet)
INTERNAL:
|
void |
CommitManager.commitAllObjects(IdentityHashtable domainObjects)
Commit all of the objects as a single transaction.
|
void |
UnitOfWorkImpl.discoverUnregisteredNewObjects(Object clone,
IdentityHashtable knownNewObjects,
IdentityHashtable unregisteredExistingObjects,
IdentityHashtable visitedObjects)
INTERNAL:
Traverse the object to find references to objects not registered in this unit of work.
|
void |
UnitOfWorkImpl.performRemove(Object toBeDeleted,
IdentityHashtable visitedObjects)
INTERNAL:
This method will perform a delete operation on the provided objects pre-determing
the objects that will be deleted by a commit of the UnitOfWork including privately
owned objects.
|
void |
UnitOfWorkImpl.registerNewObjectForPersist(Object newObject,
IdentityHashtable visitedObjects)
INTERNAL:
Register the new object with the unit of work.
|
void |
CollectionChangeRecord.setAddObjectList(IdentityHashtable objectChangesList)
Sets the Added objects list
|
protected void |
UnitOfWorkImpl.setAllClonesCollection(IdentityHashtable objects)
INTERNAL:
Used to set the collections of all objects in the UnitOfWork.
|
protected void |
UnitOfWorkImpl.setCloneMapping(IdentityHashtable cloneMapping)
INTERNAL:
Set the clone mapping.
|
protected void |
UnitOfWorkChangeSet.setCloneToObjectChangeSet(IdentityHashtable newCloneToObjectChangeSet)
INTERNAL:
This method is used to set the hashtable for cloneToObject reference
|
protected void |
CommitManager.setCompletedCommits(IdentityHashtable completedCommits)
Set the objects that have been written during this commit process.
|
protected void |
UnitOfWorkImpl.setDeletedObjects(IdentityHashtable deletedObjects)
INTERNAL:
The deleted objects stores any objects removed during the unit of work.
|
protected void |
UnitOfWorkImpl.setNewObjectsCloneToOriginal(IdentityHashtable newObjects)
INTERNAL:
The new objects stores any objects newly created during the unit of work.
|
protected void |
UnitOfWorkImpl.setNewObjectsOriginalToClone(IdentityHashtable newObjects)
INTERNAL:
The new objects stores any objects newly created during the unit of work.
|
protected void |
UnitOfWorkChangeSet.setObjectChangeSetToUOWClone(IdentityHashtable newObjectChangeSetToUOWClone)
INTERNAL:
This method is used to insert a new collection into the UOWChangeSet.
|
void |
MergeManager.setObjectDescriptors(IdentityHashtable objectDescriptors) |
protected void |
MergeManager.setObjectsAlreadyMerged(IdentityHashtable objectsAlreadyMerged) |
void |
UnitOfWorkImpl.setObjectsDeletedDuringCommit(IdentityHashtable deletedObjects)
INTERNAL:
Set the objects that have been deleted.
|
void |
CollectionChangeRecord.setOrderedAddObjectIndices(IdentityHashtable orderedAddObjectIndices)
ADVANCED:
Sets collection of ChangeSets (and their respective index) that they
were added to the collection.
|
protected void |
CommitManager.setPendingCommits(IdentityHashtable pendingCommits)
Set the objects that should be written during this commit process.
|
protected void |
CommitManager.setPostModifyCommits(IdentityHashtable postModifyCommits)
Set any objects that should be written during post modify commit process.
|
protected void |
CommitManager.setPreModifyCommits(IdentityHashtable preModifyCommits)
Set any objects that should be written during pre modify commit process.
|
protected void |
CommitManager.setProcessedCommits(IdentityHashtable processedCommits)
Set the objects that should be written during this commit process.
|
protected void |
UnitOfWorkImpl.setRemovedObjects(IdentityHashtable removedObjects)
INTERNAL:
The removed objects stores any newly registered objects removed during the nested unit of work.
|
void |
CollectionChangeRecord.setRemoveObjectList(IdentityHashtable objectChangesList)
Sets the removed objects list
|
protected void |
CommitManager.setShallowCommits(IdentityHashtable shallowCommits)
Set any objects that have been shallow comitted during this commit process.
|
protected void |
UnitOfWorkImpl.setUnregisteredExistingObjects(IdentityHashtable newUnregisteredExistingObjects)
INTERNAL:
Used to set the unregistered existing objects vector used when validation has been turned off.
|
protected void |
UnitOfWorkImpl.setUnregisteredNewObjects(IdentityHashtable newObjects)
INTERNAL:
|
protected void |
AbstractSession.writeAllObjects(IdentityHashtable domainObjects)
INTERNAL:
Write all of the objects and all of their privately owned parts in the database.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectReferenceMapping.cascadePerformRemoveIfRequired(Object object,
UnitOfWorkImpl uow,
IdentityHashtable visitedObjects)
INTERNAL:
Cascade registerNew for Create through mappings that require the cascade
|
void |
DirectCollectionMapping.cascadePerformRemoveIfRequired(Object object,
UnitOfWorkImpl uow,
IdentityHashtable visitedObjects)
INTERNAL:
Cascade perform delete through mappings that require the cascade
|
void |
AggregateObjectMapping.cascadePerformRemoveIfRequired(Object object,
UnitOfWorkImpl uow,
IdentityHashtable visitedObjects)
INTERNAL:
Cascade perform delete through mappings that require the cascade
|
abstract void |
DatabaseMapping.cascadePerformRemoveIfRequired(Object object,
UnitOfWorkImpl uow,
IdentityHashtable visitedObjects)
INTERNAL:
Cascade registerNew for Create through mappings that require the cascade
|
void |
AggregateCollectionMapping.cascadePerformRemoveIfRequired(Object object,
UnitOfWorkImpl uow,
IdentityHashtable visitedObjects)
INTERNAL:
Cascade registerNew for Create through mappings that require the cascade
|
void |
CollectionMapping.cascadePerformRemoveIfRequired(Object object,
UnitOfWorkImpl uow,
IdentityHashtable visitedObjects)
INTERNAL:
Cascade perform delete through mappings that require the cascade
|
void |
ObjectReferenceMapping.cascadeRegisterNewIfRequired(Object object,
UnitOfWorkImpl uow,
IdentityHashtable visitedObjects)
INTERNAL:
Cascade registerNew for Create through mappings that require the cascade
|
void |
DirectCollectionMapping.cascadeRegisterNewIfRequired(Object object,
UnitOfWorkImpl uow,
IdentityHashtable visitedObjects)
INTERNAL:
Cascade registerNew for Create through mappings that require the cascade
|
void |
AggregateObjectMapping.cascadeRegisterNewIfRequired(Object object,
UnitOfWorkImpl uow,
IdentityHashtable visitedObjects)
INTERNAL:
Cascade registerNew for Create through mappings that require the cascade
|
abstract void |
DatabaseMapping.cascadeRegisterNewIfRequired(Object object,
UnitOfWorkImpl uow,
IdentityHashtable visitedObjects)
INTERNAL:
Cascade registerNew for Create through mappings that require the cascade
|
void |
AggregateCollectionMapping.cascadeRegisterNewIfRequired(Object object,
UnitOfWorkImpl uow,
IdentityHashtable visitedObjects)
INTERNAL:
Cascade registerNew for Create through mappings that require the cascade
|
void |
CollectionMapping.cascadeRegisterNewIfRequired(Object object,
UnitOfWorkImpl uow,
IdentityHashtable visitedObjects)
INTERNAL:
Cascade registerNew for Create through mappings that require the cascade
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractDirectMapping.cascadePerformRemoveIfRequired(Object object,
UnitOfWorkImpl uow,
IdentityHashtable visitedObjects)
INTERNAL:
Cascade perform delete through mappings that require the cascade
|
void |
AbstractDirectMapping.cascadeRegisterNewIfRequired(Object object,
UnitOfWorkImpl uow,
IdentityHashtable visitedObjects)
INTERNAL:
Cascade registerNew for Create through mappings that require the cascade
|
Modifier and Type | Method and Description |
---|---|
protected Object |
ObjectLevelReadQuery.conformIndividualResult(Object result,
UnitOfWorkImpl unitOfWork,
AbstractRecord arguments,
Expression selectionCriteriaClone,
IdentityHashtable alreadyReturned,
boolean buildDirectlyFromRows)
INTERNAL:
Conforms and registers an individual result.
|
Modifier and Type | Field and Description |
---|---|
protected IdentityHashtable |
ObjectCopyingPolicy.copies |
Modifier and Type | Method and Description |
---|---|
IdentityHashtable |
ObjectCopyingPolicy.getCopies()
INTERNAL: Get the session.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectCopyingPolicy.setCopies(IdentityHashtable newCopies)
INTERNAL: Set the copies.
|
Copyright © 2023. All rights reserved.