Uses of Class
org.eclipse.persistence.queries.ObjectLevelModifyQuery
Packages that use ObjectLevelModifyQuery
Package
Description
-
Uses of ObjectLevelModifyQuery in org.eclipse.persistence.descriptors
Methods in org.eclipse.persistence.descriptors with parameters of type ObjectLevelModifyQueryModifier and TypeMethodDescriptionvoidAllFieldsLockingPolicy.addLockValuesToTranslationRow(ObjectLevelModifyQuery query) INTERNAL: Values to be included in the locking mechanism are added to the translation row.voidChangedFieldsLockingPolicy.addLockValuesToTranslationRow(ObjectLevelModifyQuery query) INTERNAL: Values to be included in the locking mechanism are added to the translation row.abstract voidFieldsLockingPolicy.addLockValuesToTranslationRow(ObjectLevelModifyQuery query) INTERNAL: Values to be included in the locking mechanism are added to the translation row.voidSelectedFieldsLockingPolicy.addLockValuesToTranslationRow(ObjectLevelModifyQuery query) INTERNAL: Values to be included in the locking mechanism are added to the translation row.voidVersionLockingPolicy.addLockValuesToTranslationRow(ObjectLevelModifyQuery query) INTERNAL: This method adds the lock value to the translation row of the passed in query.voidFieldsLockingPolicy.setupWriteFieldsForInsert(ObjectLevelModifyQuery query) INTERNAL: Put the initial writelock value into the modifyRow.voidVersionLockingPolicy.setupWriteFieldsForInsert(ObjectLevelModifyQuery query) INTERNAL: This method must be included in any locking policy.voidVersionLockingPolicy.updateObjectWithWriteValue(ObjectLevelModifyQuery query, Object lockValue) voidFieldsLockingPolicy.updateRowAndObjectForUpdate(ObjectLevelModifyQuery query, Object domainObject) INTERNAL: Nothing to do because all updates are handled by the applicationvoidVersionLockingPolicy.updateRowAndObjectForUpdate(ObjectLevelModifyQuery query, Object domainObject) INTERNAL: This method updates the modify row, and the domain object with the new lock value.protected voidVersionLockingPolicy.updateWriteLockValueForWrite(ObjectLevelModifyQuery query, Object lockValue) INTERNAL: Update the row, object and change set with the version value.voidVersionLockingPolicy.writeLockValueIntoRow(ObjectLevelModifyQuery query, Object domainObject) INTERNAL: This method updates the modify row with the old lock value.Constructors in org.eclipse.persistence.descriptors with parameters of type ObjectLevelModifyQueryModifierConstructorDescriptionDescriptorEvent(int eventCode, ObjectLevelModifyQuery query) PUBLIC: Most events are trigger from queries, so this is a helper method. -
Uses of ObjectLevelModifyQuery in org.eclipse.persistence.eis.mappings
Methods in org.eclipse.persistence.eis.mappings with parameters of type ObjectLevelModifyQueryModifier and TypeMethodDescriptionprotected ObjectEISOneToOneMapping.readPrivateOwnedForObject(ObjectLevelModifyQuery modifyQuery) INTERNAL: Reads the private owned object.protected booleanEISOneToManyMapping.shouldObjectModifyCascadeToParts(ObjectLevelModifyQuery query) Return whether any process leading to object modification should also affect its parts. -
Uses of ObjectLevelModifyQuery in org.eclipse.persistence.exceptions
Fields in org.eclipse.persistence.exceptions declared as ObjectLevelModifyQueryModifier and TypeFieldDescriptionprotected ObjectLevelModifyQueryOptimisticLockException.queryStore the query that raised the optimistic violation.Methods in org.eclipse.persistence.exceptions that return ObjectLevelModifyQueryModifier and TypeMethodDescriptionOptimisticLockException.getQuery()PUBLIC: Return the query in which the problem was detected.Methods in org.eclipse.persistence.exceptions with parameters of type ObjectLevelModifyQueryModifier and TypeMethodDescriptionstatic OptimisticLockExceptionOptimisticLockException.noVersionNumberWhenDeleting(Object object, ObjectLevelModifyQuery query) static OptimisticLockExceptionOptimisticLockException.noVersionNumberWhenUpdating(Object object, ObjectLevelModifyQuery query) static OptimisticLockExceptionOptimisticLockException.objectChangedSinceLastReadWhenDeleting(Object object, ObjectLevelModifyQuery query) static OptimisticLockExceptionOptimisticLockException.objectChangedSinceLastReadWhenUpdating(Object object, ObjectLevelModifyQuery query) voidOptimisticLockException.setQuery(ObjectLevelModifyQuery query) INTERNAL: Set the query in which the problem was detected.Constructors in org.eclipse.persistence.exceptions with parameters of type ObjectLevelModifyQueryModifierConstructorDescriptionprotectedOptimisticLockException(String theMessage, ObjectLevelModifyQuery query) INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink. -
Uses of ObjectLevelModifyQuery in org.eclipse.persistence.history
Methods in org.eclipse.persistence.history with parameters of type ObjectLevelModifyQueryModifier and TypeMethodDescriptionvoidHistoryPolicy.logicalInsert(ObjectLevelModifyQuery writeQuery, boolean isUpdate) INTERNAL: Perform a logical insert into the historical schema, creating a new version of an object.voidHistoryPolicy.postInsert(ObjectLevelModifyQuery writeQuery) INTERNAL:voidHistoryPolicy.postUpdate(ObjectLevelModifyQuery writeQuery) INTERNAL:voidHistoryPolicy.postUpdate(ObjectLevelModifyQuery writeQuery, boolean isShallow) INTERNAL: -
Uses of ObjectLevelModifyQuery in org.eclipse.persistence.internal.descriptors
Methods in org.eclipse.persistence.internal.descriptors with parameters of type ObjectLevelModifyQueryModifier and TypeMethodDescriptionvoidOptimisticLockingPolicy.addLockValuesToTranslationRow(ObjectLevelModifyQuery query) INTERNAL: The method should update the translation row with the correct write lock values.ObjectBuilder.buildRowForWhereClause(ObjectLevelModifyQuery query) Build the row representation of an object.voidOptimisticLockingPolicy.setupWriteFieldsForInsert(ObjectLevelModifyQuery query) INTERNAL: Add the initial right lock values to the modify row in the query.voidOptimisticLockingPolicy.updateRowAndObjectForUpdate(ObjectLevelModifyQuery query, Object object) INTERNAL: This method should update the translation row, the modify row and the domain object with th lock value. -
Uses of ObjectLevelModifyQuery in org.eclipse.persistence.mappings
Methods in org.eclipse.persistence.mappings with parameters of type ObjectLevelModifyQueryModifier and TypeMethodDescriptionprotected voidAggregateMapping.buildAggregateModifyQuery(ObjectLevelModifyQuery sourceQuery, ObjectLevelModifyQuery aggregateQuery, Object sourceAttributeValue) Initialize the aggregate query with the settings from the source query.protected AbstractRecordOneToManyMapping.buildKeyRowForTargetUpdate(ObjectLevelModifyQuery query) protected AbstractRecordUnidirectionalOneToManyMapping.buildKeyRowForTargetUpdate(ObjectLevelModifyQuery query) INTERNAL: Build a row containing the keys for use in the query that updates the row for the target object during an insert or updateprotected voidAggregateCollectionMapping.executeEvent(int eventCode, ObjectLevelModifyQuery query) INTERNAL: Execute a descriptor event for the specified event code.protected voidAggregateMapping.executeEvent(int eventCode, ObjectLevelModifyQuery query) INTERNAL: Execute a descriptor event for the specified event code.AggregateCollectionMapping.getAggregateRow(ObjectLevelModifyQuery query, Object object) INTERNAL: return the aggregate Record with the primary keys from the source table and target tableAggregateCollectionMapping.getAndPrepareModifyQueryForInsert(ObjectLevelModifyQuery originalQuery, Object object) INTERNAL: setup the modifyQuery for post insert/update and pre deleteAggregateCollectionMapping.getReferenceObjectKeys(ObjectLevelModifyQuery query) INTERNAL: get reference object keysprotected voidManyToManyMapping.insertAddedObjectEntry(ObjectLevelModifyQuery query, Object objectAdded, Map extraData) INTERNAL: An object was added to the collection during an update, insert it.protected voidAggregateCollectionMapping.objectAddedDuringUpdate(ObjectLevelModifyQuery query, Object objectAdded, ObjectChangeSet changeSet, Map extraData) INTERNAL: An object was added to the collection during an update, insert it if private.protected voidCollectionMapping.objectAddedDuringUpdate(ObjectLevelModifyQuery query, Object objectAdded, ObjectChangeSet changeSet, Map extraData) INTERNAL: An object was added to the collection during an update, insert it if private.protected voidManyToManyMapping.objectAddedDuringUpdate(ObjectLevelModifyQuery query, Object objectAdded, ObjectChangeSet changeSet, Map extraData) INTERNAL: An object was added to the collection during an update, insert it if private.protected voidOneToManyMapping.objectAddedDuringUpdate(ObjectLevelModifyQuery query, Object objectAdded, ObjectChangeSet changeSet, Map extraData) INTERNAL: An object was added to the collection during an update, insert it if private.protected voidAggregateCollectionMapping.objectRemovedDuringUpdate(ObjectLevelModifyQuery query, Object objectDeleted, Map extraData) INTERNAL: An object was removed to the collection during an update, delete it if private.protected voidCollectionMapping.objectRemovedDuringUpdate(ObjectLevelModifyQuery query, Object objectDeleted, Map extraData) INTERNAL: An object was removed to the collection during an update, delete it if private.protected voidManyToManyMapping.objectRemovedDuringUpdate(ObjectLevelModifyQuery query, Object objectDeleted, Map extraData) INTERNAL: An object was removed to the collection during an update, delete it if private.protected voidOneToManyMapping.objectRemovedDuringUpdate(ObjectLevelModifyQuery query, Object objectDeleted, Map extraData) INTERNAL: An object was removed to the collection during an update, delete it if private.protected voidAggregateCollectionMapping.objectUnchangedDuringUpdate(ObjectLevelModifyQuery query, Object object, Object backupClone) protected voidAggregateCollectionMapping.objectUnchangedDuringUpdate(ObjectLevelModifyQuery query, Object object, Map backupCloneKeyedCache, Object cachedKey) INTERNAL: An object is still in the collection, update it as it may have changed.protected voidCollectionMapping.objectUnchangedDuringUpdate(ObjectLevelModifyQuery query, Object object) INTERNAL: An object is still in the collection, update it as it may have changed.protected voidCollectionMapping.objectUnchangedDuringUpdate(ObjectLevelModifyQuery query, Object object, Map backupclones, Object key) INTERNAL: An object is still in the collection, update it as it may have changed.voidAggregateCollectionMapping.prepareModifyQueryForDelete(ObjectLevelModifyQuery originalQuery, ObjectLevelModifyQuery modifyQuery, Object wrappedObject, Map extraData) INTERNAL: setup the modifyQuery for pre deletevoidAggregateCollectionMapping.prepareModifyQueryForUpdate(ObjectLevelModifyQuery originalQuery, ObjectLevelModifyQuery modifyQuery, Object object) INTERNAL: setup the modifyQuery for update,protected ObjectCollectionMapping.readPrivateOwnedForObject(ObjectLevelModifyQuery modifyQuery) INTERNAL: All the privately owned parts are readprotected ObjectObjectReferenceMapping.readPrivateOwnedForObject(ObjectLevelModifyQuery modifyQuery) INTERNAL: Reads the private owned object.protected ObjectOneToOneMapping.readPrivateOwnedForObject(ObjectLevelModifyQuery modifyQuery) INTERNAL: Reads the private owned object.protected booleanAggregateCollectionMapping.shouldObjectModifyCascadeToParts(ObjectLevelModifyQuery query) Returns true as any process leading to object modification should also affect its privately owned parts Usually used by write, insert, update and delete.protected booleanForeignReferenceMapping.shouldObjectModifyCascadeToParts(ObjectLevelModifyQuery query) Returns true if any process leading to object modification should also affect its parts Usually used by write, insert, update and delete.protected booleanOneToManyMapping.shouldObjectModifyCascadeToParts(ObjectLevelModifyQuery query) Return whether any process leading to object modification should also affect its parts.voidOneToManyMapping.updateTargetForeignKeyPostUpdateSource_ObjectAdded(ObjectLevelModifyQuery query, Object objectAdded, Map extraData) INTERNAL: Update target foreign key after a target object was added to the source.voidOneToManyMapping.updateTargetForeignKeyPostUpdateSource_ObjectRemoved(ObjectLevelModifyQuery query, Object objectRemoved) INTERNAL: Update target foreign key after a target object was removed from the source.voidOneToManyMapping.updateTargetRowPreDeleteSource(ObjectLevelModifyQuery query) INTERNAL: Update target foreign key after a target object was removed from the source.voidDatabaseMapping.writeFromObjectIntoRowForWhereClause(ObjectLevelModifyQuery query, AbstractRecord row) INTERNAL: A subclass should implement this method if it wants different behavior.voidObjectReferenceMapping.writeFromObjectIntoRowForWhereClause(ObjectLevelModifyQuery query, AbstractRecord databaseRow) INTERNAL: Get a value from the object and set that in the respective field of the row.voidVariableOneToOneMapping.writeFromObjectIntoRowForWhereClause(ObjectLevelModifyQuery query, AbstractRecord record) INTERNAL: Get a value from the object and set that in the respective field of the row. -
Uses of ObjectLevelModifyQuery in org.eclipse.persistence.queries
Subclasses of ObjectLevelModifyQuery in org.eclipse.persistence.queriesModifier and TypeClassDescriptionclassPurpose: Used for deleting objects.classPurpose: Used for inserting new objects into the database.classPurpose: Used for updating existing objects into the database.classPurpose: Used for inserting or updating objects WriteObjectQuery determines whether to perform a insert or an update on the database.