Modifier and Type | Method and Description |
---|---|
void |
DescriptorQueryManager.postDelete(WriteObjectQuery query)
INTERNAL:
Execute the post delete operation for the query
|
void |
DescriptorQueryManager.postInsert(WriteObjectQuery query)
INTERNAL:
Execute the post insert operation for the query
|
void |
DescriptorQueryManager.postUpdate(WriteObjectQuery query)
INTERNAL:
Execute the post update operation for the query
|
void |
DescriptorQueryManager.preDelete(WriteObjectQuery query)
INTERNAL:
Execute the pre delete operation for the query
|
void |
DescriptorQueryManager.preInsert(WriteObjectQuery query)
INTERNAL:
Execute the pre insert operation for the query.
|
void |
DescriptorQueryManager.preUpdate(WriteObjectQuery query)
INTERNAL:
Execute the pre update operation for the query
|
void |
VersionLockingPolicy.validateDelete(int rowCount,
Object object,
WriteObjectQuery query)
INTERNAL:
Check the row count for lock failure.
|
void |
VersionLockingPolicy.validateUpdate(int rowCount,
Object object,
WriteObjectQuery owner)
INTERNAL:
Check the row count for lock failure.
|
Modifier and Type | Method and Description |
---|---|
AbstractRecord |
ObjectBuilder.buildRowForUpdate(WriteObjectQuery query)
Build the row representation of the object for update.
|
AbstractRecord |
ObjectBuilder.buildRowForUpdateWithChangeSet(WriteObjectQuery query)
Build the row representation of the object for update.
|
void |
OptimisticLockingPolicy.validateDelete(int rowCount,
Object object,
WriteObjectQuery query) |
void |
OptimisticLockingPolicy.validateUpdate(int rowCount,
Object object,
WriteObjectQuery query) |
Modifier and Type | Method and Description |
---|---|
protected WriteObjectQuery |
DatabaseQueryMechanism.getWriteObjectQuery()
Convenience method
|
Modifier and Type | Method and Description |
---|---|
protected void |
DatabaseQueryMechanism.performUserDefinedWrite(WriteObjectQuery userDefinedWriteQuery)
Write the object using the specified user-defined query.
|
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.
|
protected abstract void |
DatabaseQueryMechanism.updateForeignKeyFieldShallow(WriteObjectQuery writeQuery)
Update the foreign key fields when resolving a bi-directonal reference in a UOW.
|
protected void |
CallQueryMechanism.updateForeignKeyFieldShallow(WriteObjectQuery writeQuery)
Update the foreign key fields when resolving a bi-directonal reference in a UOW.
|
protected void |
DatasourceCallQueryMechanism.updateForeignKeyFieldShallow(WriteObjectQuery writeQuery)
Update the foreign key fields when resolving a bi-directonal reference in a UOW.
|
Modifier and Type | Method and Description |
---|---|
protected WriteObjectQuery |
AggregateMapping.buildAggregateWriteQuery(WriteObjectQuery sourceQuery,
Object sourceAttributeValue)
Make a copy of the sourceQuery for the attribute.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
AggregateObjectMapping.backupAttributeValueIsNull(WriteObjectQuery query)
INTERNAL:
Return whether the query's backup object has an attribute
value of null.
|
protected DeleteObjectQuery |
AggregateMapping.buildAggregateDeleteQuery(WriteObjectQuery sourceQuery,
Object sourceAttributeValue)
Make a copy of the sourceQuery for the attribute.
|
protected WriteObjectQuery |
AggregateMapping.buildAggregateWriteQuery(WriteObjectQuery sourceQuery,
Object sourceAttributeValue)
Make a copy of the sourceQuery for the attribute.
|
protected AbstractRecord |
AggregateObjectMapping.buildRowFromAggregateForUpdate(WriteObjectQuery query,
Object attributeValue)
INTERNAL:
Build and return a database row built with the changed values from
the specified attribute value.
|
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.deleteAll(WriteObjectQuery query)
Delete all the reference objects with a single query.
|
protected void |
AggregateCollectionMapping.deleteAll(WriteObjectQuery query)
To delete all the entries matching the selection criteria from the table stored in the
referenced descriptor
|
protected void |
OneToManyMapping.deleteReferenceObjectsLeftOnDatabase(WriteObjectQuery query)
This method will make sure that all the records privately owned by this mapping are
actually removed.
|
protected Object |
AggregateObjectMapping.getMatchingBackupAttributeValue(WriteObjectQuery query,
Object attributeValue)
INTERNAL:
This is used to match up objects during an update in a UOW.
|
protected void |
ObjectReferenceMapping.insert(WriteObjectQuery query)
INTERNAL:
Insert the referenced objects.
|
void |
ManyToManyMapping.insertIntoRelationTable(WriteObjectQuery query)
INTERNAL:
Insert into relation table.
|
void |
ManyToManyMapping.insertTargetObjects(WriteObjectQuery query)
INTERNAL:
Write the target objects if the cascade policy requires them to be written first.
|
void |
ObjectReferenceMapping.postDelete(WriteObjectQuery query)
INTERNAL:
Delete the referenced objects.
|
void |
AggregateMapping.postDelete(WriteObjectQuery query)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
DatabaseMapping.postDelete(WriteObjectQuery query)
INTERNAL:
A subclass should implement this method if it wants different behaviour.
|
protected void |
AggregateMapping.postDeleteAttributeValue(WriteObjectQuery query,
Object attributeValue)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
DirectMapMapping.postInsert(WriteObjectQuery query)
INTERNAL:
Insert the private owned object.
|
void |
OneToManyMapping.postInsert(WriteObjectQuery query)
INTERNAL:
Insert the referenced objects.
|
void |
ObjectReferenceMapping.postInsert(WriteObjectQuery query)
INTERNAL:
Insert privately owned parts
|
void |
AggregateMapping.postInsert(WriteObjectQuery query)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
DirectCollectionMapping.postInsert(WriteObjectQuery query)
INTERNAL:
Insert the private owned object.
|
void |
DatabaseMapping.postInsert(WriteObjectQuery query)
INTERNAL:
A subclass should implement this method if it wants different behaviour.
|
void |
AggregateCollectionMapping.postInsert(WriteObjectQuery query)
INTERNAL:
Insert privately owned parts
|
void |
ManyToManyMapping.postInsert(WriteObjectQuery query)
INTERNAL:
Insert into relation table.
|
protected void |
AggregateMapping.postInsertAttributeValue(WriteObjectQuery query,
Object attributeValue)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
OneToManyMapping.postUpdate(WriteObjectQuery query)
INTERNAL:
Update the reference objects.
|
void |
ObjectReferenceMapping.postUpdate(WriteObjectQuery query)
INTERNAL:
Update privately owned parts
|
void |
AggregateMapping.postUpdate(WriteObjectQuery query)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
DirectCollectionMapping.postUpdate(WriteObjectQuery writeQuery)
INTERNAL:
Update private owned part.
|
void |
DatabaseMapping.postUpdate(WriteObjectQuery query)
INTERNAL:
A subclass should implement this method if it wants different behaviour.
|
void |
AggregateCollectionMapping.postUpdate(WriteObjectQuery writeQuery)
INTERNAL:
Update the privately owned parts
|
void |
ManyToManyMapping.postUpdate(WriteObjectQuery query)
INTERNAL:
Update the relation table with the entries related to this mapping.
|
protected void |
AggregateMapping.postUpdateAttributeValue(WriteObjectQuery query,
Object attributeValue)
INTERNAL:
The message is passed to its reference class descriptor.
|
protected void |
DirectMapMapping.postUpdateWithChangeSet(WriteObjectQuery writeQuery)
INTERNAL:
Update private owned part.
|
protected void |
DirectCollectionMapping.postUpdateWithChangeSet(WriteObjectQuery writeQuery)
INTERNAL:
Update private owned part.
|
void |
OneToManyMapping.preDelete(WriteObjectQuery query)
INTERNAL:
Delete the referenced objects.
|
void |
ObjectReferenceMapping.preDelete(WriteObjectQuery query)
INTERNAL:
Delete the referenced objects.
|
void |
AggregateMapping.preDelete(WriteObjectQuery query)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
DirectCollectionMapping.preDelete(WriteObjectQuery query)
INTERNAL:
Delete private owned part.
|
void |
DatabaseMapping.preDelete(WriteObjectQuery query)
INTERNAL:
A subclass should implement this method if it wants different behaviour.
|
void |
AggregateCollectionMapping.preDelete(WriteObjectQuery query)
INTERNAL:
Delete privately owned parts
|
void |
ManyToManyMapping.preDelete(WriteObjectQuery query)
INTERNAL:
Delete entries related to this mapping from the relation table.
|
protected void |
AggregateMapping.preDeleteAttributeValue(WriteObjectQuery query,
Object attributeValue)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
ObjectReferenceMapping.preInsert(WriteObjectQuery query)
INTERNAL:
Insert privately owned parts
|
void |
AggregateMapping.preInsert(WriteObjectQuery query)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
DatabaseMapping.preInsert(WriteObjectQuery query)
INTERNAL:
A subclass should implement this method if it wants different behaviour.
|
void |
AggregateCollectionMapping.preInsert(WriteObjectQuery query)
INTERNAL:
The message is passed to its reference class descriptor.
|
protected void |
AggregateMapping.preInsertAttributeValue(WriteObjectQuery query,
Object attributeValue)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
ObjectReferenceMapping.preUpdate(WriteObjectQuery query)
INTERNAL:
Update privately owned parts
|
void |
AggregateMapping.preUpdate(WriteObjectQuery query)
INTERNAL:
The message is passed to its reference class descriptor.
|
void |
DatabaseMapping.preUpdate(WriteObjectQuery query)
INTERNAL:
A subclass should implement this method if it wants different behaviour.
|
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.
|
void |
ObjectReferenceMapping.writeFromObjectIntoRowForUpdate(WriteObjectQuery query,
AbstractRecord databaseRow)
INTERNAL:
Get a value from the object and set that in the respective field of the row.
|
void |
DatabaseMapping.writeFromObjectIntoRowForUpdate(WriteObjectQuery query,
AbstractRecord row)
INTERNAL:
Write the attribute value from the object to the row for update.
|
void |
AggregateObjectMapping.writeFromObjectIntoRowForUpdate(WriteObjectQuery query,
AbstractRecord databaseRow)
INTERNAL:
Get the attribute value from the object and add the changed
values to the specified database row.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractDirectMapping.writeFromObjectIntoRowForUpdate(WriteObjectQuery query,
AbstractRecord aDatabaseRow)
INTERNAL:
Write the attribute value from the object to the row for update.
|
Modifier and Type | Class and Description |
---|---|
class |
DeleteObjectQuery
Purpose: Used for deleting objects.
|
class |
InsertObjectQuery
Purpose:
Used for inserting new objects into the database.
|
class |
UpdateObjectQuery
Purpose:
Used for updating existing objects into the database.
|
Copyright © 2022. All rights reserved.