Modifier and Type | Method and Description |
---|---|
boolean |
TimestampLockingPolicy.isChildWriteLockValueGreater(UnitOfWorkImpl uow,
Vector primaryKey,
Class original)
INTERNAL:
Update the parent write lock value if the unit of works has been incremented.
|
boolean |
VersionLockingPolicy.isChildWriteLockValueGreater(UnitOfWorkImpl uow,
Vector primaryKey,
Class original)
INTERNAL:
Update the parent write lock value if the unit of works has been incremented.
|
void |
VersionLockingPolicy.mergeIntoParentCache(UnitOfWorkImpl uow,
Vector primaryKey,
Object object)
INTERNAL:
Only applicable when the value is stored in the cache.
|
void |
FetchGroupManager.writePartialIntoClones(Object partialObject,
Object workingClone,
UnitOfWorkImpl uow)
INTERNAL:
Write data of the partially fetched object into the working and backup clones
|
Modifier and Type | Method and Description |
---|---|
Object |
ObjectChangePolicy.buildBackupClone(Object clone,
ObjectBuilder builder,
UnitOfWorkImpl uow)
INTERNAL:
Build back up clone.
|
Object |
DeferredChangeDetectionPolicy.buildBackupClone(Object clone,
ObjectBuilder builder,
UnitOfWorkImpl uow)
INTERNAL:
Build back up clone.
|
void |
ObjectChangePolicy.clearChanges(Object object,
UnitOfWorkImpl uow,
ClassDescriptor descriptor)
INTERNAL:
This is a place holder for reseting the listener on one of the subclasses
|
void |
DeferredChangeDetectionPolicy.clearChanges(Object object,
UnitOfWorkImpl uow,
ClassDescriptor descriptor)
INTERNAL:
This is a place holder for reseting the listener on one of the subclasses
|
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
|
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.setAggregateChangeListener(Object parent,
Object aggregate,
UnitOfWorkImpl uow,
ClassDescriptor descriptor,
String mappingAttribute)
INTERNAL:
Assign Changelistner to an aggregate object
|
void |
DeferredChangeDetectionPolicy.setAggregateChangeListener(Object parent,
Object aggregate,
UnitOfWorkImpl uow,
ClassDescriptor descriptor,
String mappingAttribute)
INTERNAL:
Assign Changelistner to an aggregate object
|
void |
ObjectChangePolicy.setChangeListener(Object clone,
UnitOfWorkImpl uow,
ClassDescriptor descriptor)
INTERNAL:
Assign appropriate ChangeListener to PropertyChangeListener based on the policy.
|
void |
DeferredChangeDetectionPolicy.setChangeListener(Object clone,
UnitOfWorkImpl uow,
ClassDescriptor descriptor)
INTERNAL:
Set ChangeListener for the clone
|
boolean |
ObjectChangePolicy.shouldCompareForChange(Object object,
UnitOfWorkImpl unitOfWork,
ClassDescriptor descriptor)
INTERNAL:
Return true if the Object should be compared, false otherwise.
|
boolean |
DeferredChangeDetectionPolicy.shouldCompareForChange(Object object,
UnitOfWorkImpl unitOfWork,
ClassDescriptor descriptor)
INTERNAL:
Return true if the Object should be compared, false otherwise.
|
void |
ObjectChangePolicy.updateWithChanges(Object clone,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow,
ClassDescriptor descriptor)
INTERNAL:
This method is used internally to rest the policies back to original state
This is used when the clones are to be reused.
|
void |
DeferredChangeDetectionPolicy.updateWithChanges(Object clone,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow,
ClassDescriptor descriptor)
INTERNAL:
Clear changes in the ChangeListener of the clone
|
Modifier and Type | Method and Description |
---|---|
static ValidationException |
ValidationException.cannotCommitAndResumeSynchronizedUOW(UnitOfWorkImpl uow) |
static TransactionException |
TransactionException.inactiveUnitOfWork(UnitOfWorkImpl unitOfWork) |
Modifier and Type | Method and Description |
---|---|
void |
ObjectBuilder.buildAttributesIntoWorkingCopyClone(Object clone,
ObjectBuildingQuery query,
JoinedAttributeManager joinManager,
AbstractRecord databaseRow,
UnitOfWorkImpl unitOfWork,
boolean forRefresh)
INTERNAL:
For reading through the write connection when in transaction,
populate the clone directly from the database row.
|
Object |
ObjectBuilder.buildBackupClone(Object clone,
UnitOfWorkImpl unitOfWork)
Returns the clone of the specified object.
|
protected Object |
ObjectBuilder.buildObjectInUnitOfWork(ObjectBuildingQuery query,
JoinedAttributeManager joinManager,
AbstractRecord databaseRow,
UnitOfWorkImpl unitOfWork,
Vector primaryKey,
ClassDescriptor concreteDescriptor)
For executing all reads on the UnitOfWork, the session when building
objects from rows will now be the UnitOfWork.
|
protected Object |
ObjectBuilder.buildWorkingCopyCloneFromRow(ObjectBuildingQuery query,
JoinedAttributeManager joinManager,
AbstractRecord databaseRow,
UnitOfWorkImpl unitOfWork,
Vector primaryKey)
INTERNAL:
Builds a working copy clone directly from the database row.
|
protected Object |
ObjectBuilder.buildWorkingCopyCloneNormally(ObjectBuildingQuery query,
AbstractRecord databaseRow,
UnitOfWorkImpl unitOfWork,
Vector primaryKey,
ClassDescriptor concreteDescriptor,
JoinedAttributeManager joinManager)
buildWorkingCopyCloneFromRow is an alternative to this which is the
normal behavior.
|
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.
|
boolean |
OptimisticLockingPolicy.isChildWriteLockValueGreater(UnitOfWorkImpl uow,
Vector primaryKey,
Class original)
INTERNAL:
Update the parent write lock value if the unit of works has been incremented
|
void |
OptimisticLockingPolicy.mergeIntoParentCache(UnitOfWorkImpl uow,
Vector primaryKey,
Object object)
INTERNAL:
This method should merge changes from the parent into the child.
|
void |
ObjectBuilder.populateAttributesForClone(Object original,
Object clone,
UnitOfWorkImpl unitOfWork,
JoinedAttributeManager joinedAttributeManager)
Clones the attributes of the specified object.
|
Modifier and Type | Class and Description |
---|---|
class |
RepeatableWriteUnitOfWork |
Modifier and Type | Method and Description |
---|---|
void |
RepeatableWriteUnitOfWork.updateChangeTrackersIfRequired(Object objectToWrite,
ObjectChangeSet changeSetToWrite,
UnitOfWorkImpl uow,
ClassDescriptor descriptor)
INTERNAL:
This method is used internally to update the tracked objects if required
|
Modifier and Type | Method and Description |
---|---|
UnitOfWorkImpl |
TransactionWrapperImpl.getLocalUnitOfWork() |
Modifier and Type | Method and Description |
---|---|
void |
EntityTransactionWrapper.registerUnitOfWorkWithTxn(UnitOfWorkImpl uow) |
abstract void |
TransactionWrapperImpl.registerUnitOfWorkWithTxn(UnitOfWorkImpl uow) |
void |
JTATransactionWrapper.registerUnitOfWorkWithTxn(UnitOfWorkImpl uow) |
boolean |
EntityTransactionWrapper.shouldFlushBeforeQuery(UnitOfWorkImpl uow) |
abstract boolean |
TransactionWrapperImpl.shouldFlushBeforeQuery(UnitOfWorkImpl uow)
This method will be called when a query is executed.
|
boolean |
JTATransactionWrapper.shouldFlushBeforeQuery(UnitOfWorkImpl uow)
We should only flush the entity manager before the query if the query is
joined to a transaction
|
Modifier and Type | Field and Description |
---|---|
protected UnitOfWorkImpl |
UnitOfWorkValueHolder.remoteUnitOfWork
These cannot be transient because they are required for a remote unit of work.
|
Modifier and Type | Method and Description |
---|---|
protected UnitOfWorkImpl |
UnitOfWorkValueHolder.getRemoteUnitOfWork() |
protected UnitOfWorkImpl |
UnitOfWorkValueHolder.getUnitOfWork() |
Modifier and Type | Method and Description |
---|---|
Object |
IndirectionPolicy.backupCloneAttribute(Object attributeValue,
Object clone,
Object backup,
UnitOfWorkImpl unitOfWork)
INTERNAL:
Return a backup clone of the attribute.
|
Object |
TransparentIndirectionPolicy.backupCloneAttribute(Object attributeValue,
Object clone,
Object backup,
UnitOfWorkImpl unitOfWork)
INTERNAL:
Return a backup clone of the attribute.
|
Object |
BasicIndirectionPolicy.backupCloneAttribute(Object attributeValue,
Object clone,
Object backup,
UnitOfWorkImpl unitOfWork)
INTERNAL:
Return a backup clone of the attribute.
|
abstract Object |
IndirectionPolicy.cloneAttribute(Object attributeValue,
Object original,
Object clone,
UnitOfWorkImpl unitOfWork,
boolean buildDirectlyFromRow)
INTERNAL:
Return a clone of the attribute.
|
Object |
TransparentIndirectionPolicy.cloneAttribute(Object attributeValue,
Object original,
Object clone,
UnitOfWorkImpl unitOfWork,
boolean buildDirectlyFromRow)
Return a clone of the attribute.
|
Object |
NoIndirectionPolicy.cloneAttribute(Object attributeValue,
Object original,
Object clone,
UnitOfWorkImpl unitOfWork,
boolean buildDirectlyFromRow)
INTERNAL:
Return a clone of the attribute.
|
Object |
BasicIndirectionPolicy.cloneAttribute(Object attributeValue,
Object original,
Object clone,
UnitOfWorkImpl unitOfWork,
boolean buildDirectlyFromRow)
INTERNAL:
Return a clone of the attribute.
|
protected void |
UnitOfWorkValueHolder.setRemoteUnitOfWork(UnitOfWorkImpl remoteUnitOfWork) |
Constructor and Description |
---|
UnitOfWorkQueryValueHolder(ValueHolderInterface attributeValue,
Object clone,
DatabaseMapping mapping,
UnitOfWorkImpl unitOfWork) |
UnitOfWorkQueryValueHolder(ValueHolderInterface attributeValue,
Object clone,
ForeignReferenceMapping mapping,
AbstractRecord row,
UnitOfWorkImpl unitOfWork) |
UnitOfWorkValueHolder(ValueHolderInterface attributeValue,
Object clone,
DatabaseMapping mapping,
UnitOfWorkImpl unitOfWork) |
Modifier and Type | Method and Description |
---|---|
UnitOfWorkImpl |
AbstractSession.acquireNonSynchronizedUnitOfWork()
INTERNAL:
Return a unit of work for this session not registered with the JTS transaction.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractSession.releaseUnitOfWork(UnitOfWorkImpl unitOfWork)
INTERNAL:
Release the unit of work, if lazy release the connection.
|
void |
UnitOfWorkImpl.updateChangeTrackersIfRequired(Object objectToWrite,
ObjectChangeSet changeSetToWrite,
UnitOfWorkImpl uow,
ClassDescriptor descriptor)
INTERNAL:
This method is used internally to update the tracked objects if required
|
Modifier and Type | Method and Description |
---|---|
void |
DirectCollectionMapping.addToCollectionChangeRecord(Object newKey,
Object newValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Add a new value and its change set to the collection change record.
|
void |
DirectMapMapping.addToCollectionChangeRecord(Object newKey,
Object newValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Add a new value and its change set to the collection change record.
|
void |
AggregateCollectionMapping.addToCollectionChangeRecord(Object newKey,
Object newValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Add a new value and its change set to the collection change record.
|
void |
DatabaseMapping.addToCollectionChangeRecord(Object newKey,
Object newValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Add a new value and its change set to the collection change record.
|
void |
CollectionMapping.addToCollectionChangeRecord(Object newKey,
Object newValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Add a new value and its change set to the collection change record.
|
void |
ForeignReferenceMapping.buildBackupClone(Object clone,
Object backup,
UnitOfWorkImpl unitOfWork)
INTERNAL:
Clone the attribute from the clone and assign it to the backup.
|
abstract void |
DatabaseMapping.buildBackupClone(Object clone,
Object backup,
UnitOfWorkImpl unitOfWork)
INTERNAL:
Clone the attribute from the clone and assign it to the backup.
|
void |
AggregateMapping.buildBackupClone(Object clone,
Object backup,
UnitOfWorkImpl unitOfWork)
INTERNAL:
Clone the attribute from the clone and assign it to the backup.
|
Object |
AggregateCollectionMapping.buildBackupCloneForPartObject(Object attributeValue,
Object clone,
Object backup,
UnitOfWorkImpl unitOfWork)
INTERNAL:
Used during building the backup shallow copy to copy the vector without re-registering the target objects.
|
abstract Object |
ForeignReferenceMapping.buildBackupCloneForPartObject(Object attributeValue,
Object clone,
Object backup,
UnitOfWorkImpl unitOfWork)
INTERNAL:
Used during building the backup shallow copy to copy the
target object without re-registering it.
|
Object |
DatabaseMapping.buildBackupCloneForPartObject(Object attributeValue,
Object clone,
Object backup,
UnitOfWorkImpl unitOfWork)
INTERNAL:
Require for cloning, the part must be cloned.
|
Object |
ObjectReferenceMapping.buildBackupCloneForPartObject(Object attributeValue,
Object clone,
Object backup,
UnitOfWorkImpl unitOfWork)
INTERNAL:
Used during building the backup shallow copy to copy the vector without re-registering the target objects.
|
Object |
CollectionMapping.buildBackupCloneForPartObject(Object attributeValue,
Object clone,
Object backup,
UnitOfWorkImpl unitOfWork)
INTERNAL:
Used during building the backup shallow copy to copy
the vector without re-registering the target objects.
|
protected Object |
AggregateMapping.buildBackupClonePart(Object attributeValue,
UnitOfWorkImpl unitOfWork)
INTERNAL:
Build and return a backup clone of the attribute.
|
void |
ForeignReferenceMapping.buildClone(Object original,
Object clone,
UnitOfWorkImpl unitOfWork,
JoinedAttributeManager joinedAttributeManager)
INTERNAL:
Clone the attribute from the original and assign it to the clone.
|
abstract void |
DatabaseMapping.buildClone(Object original,
Object clone,
UnitOfWorkImpl unitOfWork,
JoinedAttributeManager joinedAttributeManager)
INTERNAL:
Clone the attribute from the original and assign it to the clone.
|
void |
AggregateObjectMapping.buildClone(Object original,
Object clone,
UnitOfWorkImpl unitOfWork,
JoinedAttributeManager joinedAttributeManager)
INTERNAL:
Clone the attribute from the original and assign it to the clone.
|
void |
AggregateMapping.buildClone(Object original,
Object clone,
UnitOfWorkImpl unitOfWork,
JoinedAttributeManager joinedAttributeManager)
INTERNAL:
Clone the attribute from the original and assign it to the clone.
|
Object |
DirectMapMapping.buildCloneForPartObject(Object attributeValue,
Object original,
Object clone,
UnitOfWorkImpl unitOfWork,
boolean isExisting)
INTERNAL:
Require for cloning, the part must be cloned.
|
Object |
AggregateCollectionMapping.buildCloneForPartObject(Object attributeValue,
Object original,
Object clone,
UnitOfWorkImpl unitOfWork,
boolean isExisting)
INTERNAL:
Require for cloning, the part must be cloned.
|
abstract Object |
ForeignReferenceMapping.buildCloneForPartObject(Object attributeValue,
Object original,
Object clone,
UnitOfWorkImpl unitOfWork,
boolean isExisting)
INTERNAL:
Require for cloning, the part must be cloned.
|
Object |
DatabaseMapping.buildCloneForPartObject(Object attributeValue,
Object original,
Object clone,
UnitOfWorkImpl unitOfWork,
boolean isExisting)
INTERNAL:
Require for cloning, the part must be cloned.
|
Object |
ObjectReferenceMapping.buildCloneForPartObject(Object attributeValue,
Object original,
Object clone,
UnitOfWorkImpl unitOfWork,
boolean isExisting)
INTERNAL:
Require for cloning, the part must be cloned.
|
Object |
CollectionMapping.buildCloneForPartObject(Object attributeValue,
Object original,
Object clone,
UnitOfWorkImpl unitOfWork,
boolean isExisting)
INTERNAL:
Require for cloning, the part must be cloned.
|
void |
ForeignReferenceMapping.buildCloneFromRow(AbstractRecord databaseRow,
JoinedAttributeManager joinManager,
Object clone,
ObjectBuildingQuery sourceQuery,
UnitOfWorkImpl unitOfWork,
AbstractSession executionSession)
INTERNAL:
A combination of readFromRowIntoObject and buildClone.
|
abstract void |
DatabaseMapping.buildCloneFromRow(AbstractRecord databaseRow,
JoinedAttributeManager joinManager,
Object clone,
ObjectBuildingQuery sourceQuery,
UnitOfWorkImpl unitOfWork,
AbstractSession executionSession)
INTERNAL:
A combination of readFromRowIntoObject and buildClone.
|
void |
AggregateObjectMapping.buildCloneFromRow(AbstractRecord databaseRow,
JoinedAttributeManager joinManager,
Object clone,
ObjectBuildingQuery sourceQuery,
UnitOfWorkImpl unitOfWork,
AbstractSession executionSession)
INTERNAL:
A combination of readFromRowIntoObject and buildClone.
|
void |
AggregateMapping.buildCloneFromRow(AbstractRecord databaseRow,
JoinedAttributeManager joinManager,
Object clone,
ObjectBuildingQuery sourceQuery,
UnitOfWorkImpl unitOfWork,
AbstractSession executionSession)
INTERNAL:
A combination of readFromRowIntoObject and buildClone.
|
protected Object |
AggregateMapping.buildClonePart(Object original,
Object attributeValue,
UnitOfWorkImpl unitOfWork)
INTERNAL:
Build and return a clone of the attribute.
|
protected Object |
AggregateCollectionMapping.buildElementBackupClone(Object element,
UnitOfWorkImpl unitOfWork)
INTERNAL:
Clone the aggregate collection, if necessary.
|
protected Object |
DirectCollectionMapping.buildElementClone(Object element,
UnitOfWorkImpl unitOfWork,
boolean isExisting)
INTERNAL:
Clone the element, if necessary.
|
protected Object |
AggregateCollectionMapping.buildElementClone(Object element,
UnitOfWorkImpl unitOfWork,
boolean isExisting)
INTERNAL:
Clone the aggregate collection, if necessary.
|
protected Object |
CollectionMapping.buildElementClone(Object element,
UnitOfWorkImpl unitOfWork,
boolean isExisting)
INTERNAL:
Clone the element, if necessary.
|
protected Object |
DirectMapMapping.buildKeyClone(Object element,
UnitOfWorkImpl unitOfWork,
boolean isExisting)
INTERNAL:
Clone the key, if necessary.
|
void |
DirectCollectionMapping.cascadePerformRemoveIfRequired(Object object,
UnitOfWorkImpl uow,
IdentityHashtable visitedObjects)
INTERNAL:
Cascade perform delete 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
|
abstract void |
DatabaseMapping.cascadePerformRemoveIfRequired(Object object,
UnitOfWorkImpl uow,
IdentityHashtable visitedObjects)
INTERNAL:
Cascade registerNew for Create 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
|
void |
ObjectReferenceMapping.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 |
DirectCollectionMapping.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
|
abstract void |
DatabaseMapping.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
|
void |
ObjectReferenceMapping.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
|
UnitOfWorkValueHolder |
ForeignReferenceMapping.createUnitOfWorkValueHolder(ValueHolderInterface attributeValue,
Object original,
Object clone,
AbstractRecord row,
UnitOfWorkImpl unitOfWork,
boolean buildDirectlyFromRow)
INTERNAL:
Builder the unit of work value holder.
|
UnitOfWorkValueHolder |
DatabaseMapping.createUnitOfWorkValueHolder(ValueHolderInterface attributeValue,
Object original,
Object clone,
AbstractRecord row,
UnitOfWorkImpl unitOfWork,
boolean buildDirectlyFromRow)
INTERNAL:
Builder the unit of work value holder.
|
UnitOfWorkValueHolder |
ObjectReferenceMapping.createUnitOfWorkValueHolder(ValueHolderInterface attributeValue,
Object original,
Object clone,
AbstractRecord row,
UnitOfWorkImpl unitOfWork,
boolean buildDirectlyFromRow)
INTERNAL:
Builder the unit of work value holder.
|
void |
DirectCollectionMapping.removeFromCollectionChangeRecord(Object newKey,
Object newValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Remove a value and its change set from the collection change record.
|
void |
DirectMapMapping.removeFromCollectionChangeRecord(Object newKey,
Object newValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Remove a value and its change set from the collection change record.
|
void |
AggregateCollectionMapping.removeFromCollectionChangeRecord(Object newKey,
Object newValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Remove a value and its change set from the collection change record.
|
void |
DatabaseMapping.removeFromCollectionChangeRecord(Object newKey,
Object newValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Remove a value and its change set from the collection change record.
|
void |
CollectionMapping.removeFromCollectionChangeRecord(Object newKey,
Object newValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Remove a value and its change set from the collection change record.
|
void |
DirectCollectionMapping.updateChangeRecord(Object clone,
Object newValue,
Object oldValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Either create a new change record or update with the new value.
|
void |
DirectMapMapping.updateChangeRecord(Object clone,
Object newValue,
Object oldValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Either create a new change record or update the change record with the new value.
|
void |
DatabaseMapping.updateChangeRecord(Object clone,
Object newValue,
Object oldValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Either create a new change record or update the change record with the new value.
|
void |
AggregateMapping.updateChangeRecord(Object sourceClone,
Object newValue,
Object oldValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Either create a new change record or update the change record with the new value.
|
void |
ObjectReferenceMapping.updateChangeRecord(Object clone,
Object newValue,
Object oldValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Either create a new change record or update the change record with the new value.
|
void |
CollectionMapping.updateChangeRecord(Object clone,
Object newValue,
Object oldValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Either create a new change record or update with the new value.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractDirectMapping.buildBackupClone(Object clone,
Object backup,
UnitOfWorkImpl unitOfWork)
INTERNAL:
Clone the attribute from the clone and assign it to the backup.
|
void |
AbstractDirectMapping.buildClone(Object original,
Object clone,
UnitOfWorkImpl unitOfWork,
JoinedAttributeManager joinedAttributeManager)
INTERNAL:
Clone the attribute from the original and assign it to the clone.
|
void |
AbstractDirectMapping.buildCloneFromRow(AbstractRecord databaseRow,
JoinedAttributeManager joinManager,
Object clone,
ObjectBuildingQuery sourceQuery,
UnitOfWorkImpl unitOfWork,
AbstractSession executionSession)
INTERNAL:
Extract value from the row and set the attribute to this value in the
working copy clone.
|
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
|
void |
AbstractDirectMapping.updateChangeRecord(Object clone,
Object newValue,
Object oldValue,
ObjectChangeSet objectChangeSet,
UnitOfWorkImpl uow)
INTERNAL:
Either create a new change record or update with the new value.
|
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.
|
protected Object |
ReadAllQuery.conformResult(Object result,
UnitOfWorkImpl unitOfWork,
AbstractRecord arguments,
boolean buildDirectlyFromRows)
INTERNAL:
Conform the result if specified.
|
protected Object |
ReadObjectQuery.conformResult(Object result,
UnitOfWorkImpl unitOfWork,
AbstractRecord databaseRow,
boolean buildDirectlyFromRows)
INTERNAL:
Conform the result in the UnitOfWork.
|
Object |
ObjectLevelReadQuery.executeInUnitOfWork(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
At this point only the code has been copied over from UnitOfWork
internalExecuteQuery.
|
Object |
DatabaseQuery.executeInUnitOfWork(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
Override query execution where Session is a UnitOfWork.
|
Object |
ObjectLevelModifyQuery.executeInUnitOfWork(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
All have done is move code from UnitOfWork.internalExecuteQuery
|
Object |
ModifyAllQuery.executeInUnitOfWork(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
Override query execution where Session is a UnitOfWork.
|
Object |
DeleteAllQuery.executeInUnitOfWork(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
This method has to be broken.
|
protected Object |
DeleteObjectQuery.executeInUnitOfWorkObjectLevelModifyQuery(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
Code was moved from UnitOfWork.internalExecuteQuery
|
protected Object |
ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
This code was moved from UnitOfWork.internalExecuteQuery
|
boolean |
ObjectLevelReadQuery.isClonePessimisticLocked(Object clone,
UnitOfWorkImpl uow)
INTERNAL:
Helper method that checks if clone has been locked with uow.
|
boolean |
ObjectBuildingQuery.isClonePessimisticLocked(Object clone,
UnitOfWorkImpl uow)
INTERNAL:
Helper method that checks if clone has been locked with uow.
|
void |
ObjectLevelReadQuery.recordCloneForPessimisticLocking(Object clone,
UnitOfWorkImpl uow)
INTERNAL:
Helper method that records clone with uow if query is pessimistic locking.
|
void |
ObjectBuildingQuery.recordCloneForPessimisticLocking(Object clone,
UnitOfWorkImpl uow)
INTERNAL:
Helper method that records clone with uow if query is pessimistic locking.
|
Object |
ObjectBuildingQuery.registerIndividualResult(Object result,
UnitOfWorkImpl unitOfWork,
boolean buildDirectlyFromRows,
JoinedAttributeManager joinManager)
INTERNAL:
Constructs the final (registered) object for every individual object
queried via a UnitOfWork.
|
abstract Object |
ObjectLevelReadQuery.registerResultInUnitOfWork(Object result,
UnitOfWorkImpl unitOfWork,
AbstractRecord arguments,
boolean buildDirectlyFromRows)
INTERNAL:
All objects queried via a UnitOfWork get registered here.
|
Object |
ReadAllQuery.registerResultInUnitOfWork(Object result,
UnitOfWorkImpl unitOfWork,
AbstractRecord arguments,
boolean buildDirectlyFromRows)
INTERNAL:
All objects queried via a UnitOfWork get registered here.
|
Object |
ReadObjectQuery.registerResultInUnitOfWork(Object result,
UnitOfWorkImpl unitOfWork,
AbstractRecord arguments,
boolean buildDirectlyFromRows)
INTERNAL:
All objects queried via a UnitOfWork get registered here.
|
Modifier and Type | Method and Description |
---|---|
UnitOfWorkImpl |
ExternalTransactionController.getActiveUnitOfWork()
INTERNAL:
Return the active unit of work for the current active external transaction.
|
Modifier and Type | Method and Description |
---|---|
void |
ExternalTransactionController.registerSynchronizationListener(UnitOfWorkImpl uow,
AbstractSession session)
INTERNAL:
Register a listener on the unit of work.
|
Modifier and Type | Field and Description |
---|---|
protected UnitOfWorkImpl |
AbstractSynchronizationListener.unitOfWork
The unit of work associated with the global txn that this listener is
bound to.
|
Modifier and Type | Method and Description |
---|---|
UnitOfWorkImpl |
AbstractTransactionController.getActiveUnitOfWork()
INTERNAL:
Return the active unit of work for the current external transaction.
|
protected UnitOfWorkImpl |
AbstractSynchronizationListener.getUnitOfWork() |
UnitOfWorkImpl |
AbstractTransactionController.lookupActiveUnitOfWork()
INTERNAL:
Return the unit of work associated with the active external transaction.
|
UnitOfWorkImpl |
AbstractTransactionController.lookupActiveUnitOfWork(Object transaction)
INTERNAL:
Return the unit of work associated with the active external transaction.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractTransactionController.addUnitOfWork(Object transaction,
UnitOfWorkImpl activeUnitOfWork)
INTERNAL:
Add a UnitOfWork object to the Hashtable keyed on the external transaction object.
|
void |
AbstractTransactionController.bindToCurrentTransaction(UnitOfWorkImpl unitOfWork,
AbstractSession session)
INTERNAL:
Associate the given unit of work and TopLink session with the active external
transaction.
|
AbstractSynchronizationListener |
JTASynchronizationListener.newSynchronizationListener(UnitOfWorkImpl unitOfWork,
AbstractSession session,
Object transaction,
AbstractTransactionController controller)
INTERNAL:
Create and return the Synchronization listener object that can be registered
to receive JTA transaction notification callbacks.
|
AbstractSynchronizationListener |
SynchronizationListenerFactory.newSynchronizationListener(UnitOfWorkImpl unitOfWork,
AbstractSession session,
Object transaction,
AbstractTransactionController controller)
INTERNAL:
Create and return the synchronization listener object that can be registered
to receive transaction notification callbacks.
|
void |
AbstractTransactionController.registerSynchronizationListener(UnitOfWorkImpl uow,
AbstractSession session)
INTERNAL:
Associate the given unit of work and TopLink session with the current external
transaction.
|
protected void |
AbstractSynchronizationListener.setUnitOfWork(UnitOfWorkImpl unitOfWork) |
Constructor and Description |
---|
AbstractSynchronizationListener(UnitOfWorkImpl unitOfWork,
AbstractSession session,
Object transaction,
AbstractTransactionController controller)
INTERNAL:
|
JTASynchronizationListener(UnitOfWorkImpl unitOfWork,
AbstractSession session,
Object transaction,
AbstractTransactionController controller)
INTERNAL:
Constructor for creating listener instances (expects all required state info)
|
Copyright © 2024. All rights reserved.