Modifier and Type | Method and Description |
---|---|
void |
RepeatableWriteUnitOfWork.commitRootUnitOfWork()
INTERNAL:
Commit the changes to any objects to the parent.
|
Modifier and Type | Method and Description |
---|---|
Object |
DatabaseQueryMechanism.executeWrite()
Check whether the object already exists on the database; then
perform an insert, update or delete, as appropriate.
|
Object |
DatabaseQueryMechanism.executeWriteWithChangeSet()
Check whether the object already exists on the database; then
perform an insert or update, as appropriate.
|
void |
DatabaseQueryMechanism.shallowDeleteObjectForWrite(Object object,
WriteObjectQuery writeQuery,
CommitManager commitManager)
INTERNAL:
Shallow delete the specified object.
|
void |
DatabaseQueryMechanism.shallowInsertObjectForWrite(Object object,
WriteObjectQuery writeQuery,
CommitManager commitManager)
INTERNAL:
Shallow insert the specified object.
|
Modifier and Type | Method and Description |
---|---|
void |
UnitOfWorkImpl.commit()
PUBLIC:
Commit the unit of work to its parent.
|
void |
CommitManager.commitAllObjects(IdentityHashtable domainObjects)
Commit all of the objects as a single transaction.
|
void |
CommitManager.commitAllObjectsWithChangeSet(UnitOfWorkChangeSet uowChangeSet)
Commit all of the objects as a single transaction.
|
void |
UnitOfWorkImpl.commitAndResume()
PUBLIC:
Commit the unit of work to its parent.
|
void |
UnitOfWorkImpl.commitAndResumeOnFailure()
PUBLIC:
Commit the unit of work to its parent.
|
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
|
void |
UnitOfWorkImpl.commitRootUnitOfWork()
INTERNAL:
Commit the changes to any objects to the parent.
|
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.commitToDatabaseWithChangeSet(boolean commitTransaction)
INTERNAL:
Commit the changes to any objects to the parent.
|
protected void |
UnitOfWorkImpl.commitToDatabaseWithPreBuiltChangeSet(UnitOfWorkChangeSet uowChangeSet,
boolean commitTransaction)
INTERNAL:
Commit pre-built changeSet to the database changest to the database.
|
void |
AbstractSession.deleteAllObjects(Collection domainObjects)
PUBLIC:
delete all of the objects and all of their privately owned parts in the database.
|
void |
CommitManager.deleteAllObjects(Vector objectsForDeletion)
delete all of the objects as a single transaction.
|
void |
AbstractSession.deleteAllObjects(Vector domainObjects)
PUBLIC:
delete all of the objects and all of their privately owned parts in the database.
|
Object |
AbstractSession.deleteObject(Object domainObject)
PUBLIC:
Delete the object and all of its privately owned parts from the database.
|
Vector |
UnitOfWorkImpl.registerAllObjects(Vector domainObjects)
PUBLIC:
Register the objects with the unit of work.
|
Object |
AbstractSession.updateObject(Object domainObject)
PUBLIC:
Update the object and all of its privately owned parts in the database.
|
void |
DatabaseSessionImpl.writeAllObjects(Collection domainObjects)
PUBLIC:
Write all of the objects and all of their privately owned parts in the database.
|
protected void |
AbstractSession.writeAllObjects(IdentityHashtable domainObjects)
INTERNAL:
Write all of the objects and all of their privately owned parts in the database.
|
void |
DatabaseSessionImpl.writeAllObjects(Vector domainObjects)
PUBLIC:
Write all of the objects and all of their privately owned parts in the database.
|
protected void |
AbstractSession.writeAllObjectsWithChangeSet(UnitOfWorkChangeSet uowChangeSet)
INTERNAL:
Write all of the objects and all of their privately owned parts in the database.
|
Object |
AbstractSession.writeObject(Object domainObject)
PUBLIC:
Write the object and all of its privately owned parts in the database.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CollectionMapping.compareObjectsAndWrite(Object previousObjects,
Object currentObjects,
WriteObjectQuery query)
INTERNAL:
The memory objects are compared and only the changes are written to the database
|
protected void |
OneToManyMapping.deleteReferenceObjectsLeftOnDatabase(WriteObjectQuery query)
This method will make sure that all the records privately owned by this mapping are
actually removed.
|
Vector |
AggregateCollectionMapping.getReferenceObjectKeys(ObjectLevelModifyQuery query)
INTERNAL:
get reference object keys
|
protected void |
ObjectReferenceMapping.insert(WriteObjectQuery query)
INTERNAL:
Insert the referenced objects.
|
protected void |
ManyToManyMapping.insertAddedObjectEntry(ObjectLevelModifyQuery query,
Object objectAdded)
INTERNAL:
An object was added to the collection during an update, insert it.
|
void |
ManyToManyMapping.insertTargetObjects(WriteObjectQuery query)
INTERNAL:
Write the target objects if the cascade policy requires them to be written first.
|
protected void |
CollectionMapping.objectAddedDuringUpdate(ObjectLevelModifyQuery query,
Object objectAdded,
ObjectChangeSet changeSet)
INTERNAL:
An object was added to the collection during an update, insert it if private.
|
protected void |
ManyToManyMapping.objectAddedDuringUpdate(ObjectLevelModifyQuery query,
Object objectAdded,
ObjectChangeSet changeSet)
INTERNAL:
An object was added to the collection during an update, insert it if private.
|
protected void |
AggregateCollectionMapping.objectAddedDuringUpdate(ObjectLevelModifyQuery query,
Object objectAdded,
ObjectChangeSet changeSet)
INTERNAL:
An object was added to the collection during an update, insert it if private.
|
protected void |
CollectionMapping.objectRemovedDuringUpdate(ObjectLevelModifyQuery query,
Object objectDeleted)
INTERNAL:
An object was removed to the collection during an update, delete it if private.
|
protected void |
ManyToManyMapping.objectRemovedDuringUpdate(ObjectLevelModifyQuery query,
Object objectDeleted)
INTERNAL:
An object was removed to the collection during an update, delete it if private.
|
protected void |
AggregateCollectionMapping.objectRemovedDuringUpdate(ObjectLevelModifyQuery query,
Object objectDeleted)
INTERNAL:
An object was removed to the collection during an update, delete it if private.
|
protected void |
CollectionMapping.objectUnchangedDuringUpdate(ObjectLevelModifyQuery query,
Object object)
INTERNAL:
An object is still in the collection, update it as it may have changed.
|
protected void |
CollectionMapping.objectUnchangedDuringUpdate(ObjectLevelModifyQuery query,
Object object,
Hashtable backupclones,
CacheKey keys)
INTERNAL:
An object is still in the collection, update it as it may have changed.
|
protected void |
AggregateCollectionMapping.objectUnchangedDuringUpdate(ObjectLevelModifyQuery query,
Object object,
Hashtable backupCloneKeyedCache,
CacheKey cachedKey)
INTERNAL:
An object is still in the collection, update it as it may have changed.
|
void |
AggregateMapping.postDelete(WriteObjectQuery query)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
ObjectReferenceMapping.postDelete(WriteObjectQuery query)
INTERNAL:
Delete the referenced objects.
|
protected void |
AggregateMapping.postDeleteAttributeValue(WriteObjectQuery query,
Object attributeValue)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
AggregateMapping.postInsert(WriteObjectQuery query)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
OneToManyMapping.postInsert(WriteObjectQuery query)
INTERNAL:
Insert the referenced objects.
|
void |
AggregateCollectionMapping.postInsert(WriteObjectQuery query)
INTERNAL:
Insert privately owned parts
|
void |
ObjectReferenceMapping.postInsert(WriteObjectQuery query)
INTERNAL:
Insert privately owned parts
|
protected void |
AggregateMapping.postInsertAttributeValue(WriteObjectQuery query,
Object attributeValue)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
AggregateMapping.postUpdate(WriteObjectQuery query)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
OneToManyMapping.postUpdate(WriteObjectQuery query)
INTERNAL:
Update the reference objects.
|
void |
AggregateCollectionMapping.postUpdate(WriteObjectQuery writeQuery)
INTERNAL:
Update the privately owned parts
|
void |
ObjectReferenceMapping.postUpdate(WriteObjectQuery query)
INTERNAL:
Update privately owned parts
|
protected void |
AggregateMapping.postUpdateAttributeValue(WriteObjectQuery query,
Object attributeValue)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
AggregateMapping.preDelete(WriteObjectQuery query)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
OneToManyMapping.preDelete(WriteObjectQuery query)
INTERNAL:
Delete the referenced objects.
|
void |
AggregateCollectionMapping.preDelete(WriteObjectQuery query)
INTERNAL:
Delete privately owned parts
|
void |
ObjectReferenceMapping.preDelete(WriteObjectQuery query)
INTERNAL:
Delete the referenced objects.
|
protected void |
AggregateMapping.preDeleteAttributeValue(WriteObjectQuery query,
Object attributeValue)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
AggregateMapping.preInsert(WriteObjectQuery query)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
AggregateCollectionMapping.preInsert(WriteObjectQuery query)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
ObjectReferenceMapping.preInsert(WriteObjectQuery query)
INTERNAL:
Insert privately owned parts
|
protected void |
AggregateMapping.preInsertAttributeValue(WriteObjectQuery query,
Object attributeValue)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
AggregateMapping.preUpdate(WriteObjectQuery query)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
ObjectReferenceMapping.preUpdate(WriteObjectQuery query)
INTERNAL:
Update privately owned parts
|
protected void |
AggregateMapping.preUpdateAttributeValue(WriteObjectQuery query,
Object attributeValue)
INTERNAL:
The message is passed to its reference class descriptor.
|
protected void |
ObjectReferenceMapping.update(WriteObjectQuery query)
INTERNAL:
Update the private owned part.
|
protected void |
AggregateCollectionMapping.verifyDeleteForUpdate(WriteObjectQuery query)
Verifying deletes make sure that all the records privately owned by this mapping are
actually removed.
|
Modifier and Type | Method and Description |
---|---|
Object |
ObjectLevelReadQuery.execute(AbstractSession session,
AbstractRecord translationRow)
INTERNAL:
Execute the query.
|
Object |
DatabaseQuery.execute(AbstractSession session,
AbstractRecord translationRow)
INTERNAL:
Execute the query.
|
void |
UpdateObjectQuery.executeCommit()
INTERNAL:
Perform an update.
|
void |
WriteObjectQuery.executeCommit()
INTERNAL:
Decide whether to perform an insert, update or delete and
delegate the work to the mechanism.
|
void |
UpdateObjectQuery.executeCommitWithChangeSet()
INTERNAL:
Perform an update.
|
void |
WriteObjectQuery.executeCommitWithChangeSet()
INTERNAL:
Perform a does exist check to decide whether to perform an insert or update and
delegate the work to the mechanism.
|
Object |
WriteObjectQuery.executeDatabaseQuery()
INTERNAL:
Perform a does exist check to decide whether to perform an insert or update and
delegate the work to the mechanism.
|
Object |
EJBQLPlaceHolderQuery.executeDatabaseQuery()
INTERNAL:
This should never be called and is only here because it is needed as an extension
to DatabaseQuery.
|
abstract Object |
DatabaseQuery.executeDatabaseQuery()
INTERNAL:
Execute the query
|
Object |
ObjectLevelReadQuery.executeInUnitOfWork(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
At this point only the code has been copied over from UnitOfWork
internalExecuteQuery.
|
Object |
DeleteAllQuery.executeInUnitOfWork(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
This method has to be broken.
|
Object |
ModifyAllQuery.executeInUnitOfWork(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
Override query execution where Session is a UnitOfWork.
|
Object |
DatabaseQuery.executeInUnitOfWork(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
Override query execution where Session is a UnitOfWork.
|
protected Object |
ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
This code was moved from UnitOfWork.internalExecuteQuery
|
protected Object |
DeleteObjectQuery.executeInUnitOfWorkObjectLevelModifyQuery(UnitOfWorkImpl unitOfWork,
AbstractRecord translationRow)
INTERNAL:
Code was moved from UnitOfWork.internalExecuteQuery
|
Modifier and Type | Method and Description |
---|---|
void |
UnitOfWork.commit()
PUBLIC:
Commit the unit of work to its parent.
|
void |
UnitOfWork.commitAndResume()
PUBLIC:
Commit the unit of work to its parent.
|
void |
UnitOfWork.commitAndResumeOnFailure()
PUBLIC:
Commit the unit of work to its parent.
|
Object |
DatabaseSession.deleteObject(Object domainObject)
PUBLIC:
Delete the object and all of its privately owned parts from the database.
|
Object |
DatabaseSession.updateObject(Object domainObject)
PUBLIC:
Update the object and all of its privately owned parts in the database.
|
Object |
DatabaseSession.writeObject(Object domainObject)
PUBLIC:
Write the object and all of its privately owned parts in the database.
|
Copyright © 2022. All rights reserved.