Uses of Interface
org.apache.cayenne.ObjectId
Packages that use ObjectId
Package
Description
Contains persistence APIs directly accessible by users.
Contains classes that make up Cayenne ORM stack.
Property API
Contains O/R mapping classes that store relational database
metadata information and map it to Java classes.
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
General utility classes.
-
Uses of ObjectId in org.apache.cayenne
Fields in org.apache.cayenne declared as ObjectIdMethods in org.apache.cayenne that return ObjectIdModifier and TypeMethodDescriptionObjectId.createReplacementId()DataRow.createTargetObjectId(String entityName, DbRelationship relationship) Returns an ObjectId of an object on the other side of the to-one relationship, for this DataRow representing a source of relationship.Persistent.getObjectId()PersistentObject.getObjectId()static ObjectIdCreates a temporary ObjectId for a given entity.static ObjectIdCreates a temporary ObjectId for a given entity, using provided unique id key.static ObjectIdCreates a single key/value permanent ObjectId.static ObjectIdCreates an ObjectId, potentially mapped to multiple columns.static ObjectIdCreates an ObjectId using another id as a template, but for a different entity.Methods in org.apache.cayenne with parameters of type ObjectIdModifier and TypeMethodDescriptionstatic ObjectCayenne.objectForPK(ObjectContext context, ObjectId id) Returns an object matching ObjectId.static ObjectIdCreates an ObjectId using another id as a template, but for a different entity.voidPersistent.setObjectId(ObjectId id) voidPersistentObject.setObjectId(ObjectId objectId) -
Uses of ObjectId in org.apache.cayenne.access
Fields in org.apache.cayenne.access declared as ObjectIdFields in org.apache.cayenne.access with type parameters of type ObjectIdModifier and TypeFieldDescriptionprotected ConcurrentMap<ObjectId, DataRow> DataRowStore.snapshotsObjectStore.trackedFlattenedPathsMap that tracks flattened paths for given object Id that is present in db.Methods in org.apache.cayenne.access that return ObjectIdModifier and TypeMethodDescriptionObjectDiff.getArcSnapshotValue(String propertyName) ObjectDiff.getCurrentArcSnapshotValue(String propertyName) OptimisticLockException.getFailedObjectId()Returns the ObjectId of the object that caused the OptimisticLockException.ObjectStore.getFlattenedId(ObjectId objectId, String path) Methods in org.apache.cayenne.access that return types with arguments of type ObjectIdModifier and TypeMethodDescriptionObjectStore.getFlattenedIds(ObjectId objectId) ObjectStore.getFlattenedPathIdMap(ObjectId objectId) Methods in org.apache.cayenne.access with parameters of type ObjectIdModifier and TypeMethodDescriptionvoidDataRowStore.forgetSnapshot(ObjectId id) Evicts a snapshot from cache without generating any SnapshotEvents.DataRowStore.getCachedSnapshot(ObjectId oid) Returns cached snapshot or null if no snapshot is currently cached for the given ObjectId.ObjectStore.getCachedSnapshot(ObjectId oid) Returns a snapshot for ObjectId from the underlying snapshot cache.ObjectStore.getFlattenedId(ObjectId objectId, String path) ObjectStore.getFlattenedIds(ObjectId objectId) ObjectStore.getFlattenedPathIdMap(ObjectId objectId) ObjectStore.getSnapshot(ObjectId oid) Returns a snapshot for ObjectId from the underlying snapshot cache.voidObjectStore.markFlattenedPath(ObjectId objectId, String path, ObjectId id) Mark that flattened path for object has data row in DB.default voidOperationObserver.nextGeneratedRows(Query query, ResultIterator<?> keys, ObjectId idToUpdate) Deprecated.Method parameters in org.apache.cayenne.access with type arguments of type ObjectIdModifier and TypeMethodDescriptionvoidOperationObserver.nextGeneratedRows(Query query, ResultIterator<?> keys, List<ObjectId> idsToUpdate) Callback method invoked after each batch of generated values is read during an update.voidDataRowStore.processSnapshotChanges(Object postedBy, Map<ObjectId, DataRow> updatedSnapshots, Collection<ObjectId> deletedSnapshotIds, Collection<ObjectId> invalidatedSnapshotIds, Collection<ObjectId> indirectlyModifiedIds) Processes changes made to snapshots.voidDataRowStore.processSnapshotChanges(Object postedBy, Map<ObjectId, DataRow> updatedSnapshots, Collection<ObjectId> deletedSnapshotIds, Collection<ObjectId> invalidatedSnapshotIds, Collection<ObjectId> indirectlyModifiedIds) Processes changes made to snapshots.Constructors in org.apache.cayenne.access with parameters of type ObjectIdModifierConstructorDescriptionOptimisticLockException(ObjectId id, DbEntity rootEntity, String querySQL, Map qualifierSnapshot) -
Uses of ObjectId in org.apache.cayenne.access.event
Fields in org.apache.cayenne.access.event with type parameters of type ObjectIdModifier and TypeFieldDescriptionprotected Collection<ObjectId> SnapshotEvent.deletedIdsprotected Collection<ObjectId> SnapshotEvent.indirectlyModifiedIdsprotected Collection<ObjectId> SnapshotEvent.invalidatedIdsSnapshotEvent.modifiedDiffsMethods in org.apache.cayenne.access.event that return types with arguments of type ObjectIdModifier and TypeMethodDescriptionSnapshotEvent.getDeletedIds()SnapshotEvent.getIndirectlyModifiedIds()SnapshotEvent.getInvalidatedIds()SnapshotEvent.getModifiedDiffs()Constructor parameters in org.apache.cayenne.access.event with type arguments of type ObjectIdModifierConstructorDescriptionSnapshotEvent(Object source, Object postedBy, Map<ObjectId, DataRow> modifiedDiffs, Collection<ObjectId> deletedIds, Collection<ObjectId> invalidatedIds, Collection<ObjectId> indirectlyModifiedIds) SnapshotEvent(Object source, Object postedBy, Map<ObjectId, DataRow> modifiedDiffs, Collection<ObjectId> deletedIds, Collection<ObjectId> invalidatedIds, Collection<ObjectId> indirectlyModifiedIds) -
Uses of ObjectId in org.apache.cayenne.access.flush
Constructors in org.apache.cayenne.access.flush with parameters of type ObjectId -
Uses of ObjectId in org.apache.cayenne.access.flush.operation
Fields in org.apache.cayenne.access.flush.operation declared as ObjectIdFields in org.apache.cayenne.access.flush.operation with type parameters of type ObjectIdMethods in org.apache.cayenne.access.flush.operation that return ObjectIdModifier and TypeMethodDescriptionBaseDbRowOp.getChangeId()DbRowOp.getChangeId()static ObjectIdOpIdFactory.idForOperation(ObjectId originalId) Methods in org.apache.cayenne.access.flush.operation that return types with arguments of type ObjectIdMethods in org.apache.cayenne.access.flush.operation with parameters of type ObjectIdModifier and TypeMethodDescriptionvoidValues.addFlattenedId(String path, ObjectId id) static ObjectIdOpIdFactory.idForOperation(ObjectId originalId) voidDeleteDbRowOp.setChangeId(ObjectId changeId) Constructors in org.apache.cayenne.access.flush.operation with parameters of type ObjectIdModifierConstructorDescriptionprotectedBaseDbRowOp(Persistent object, DbEntity entity, ObjectId id) DeleteDbRowOp(Persistent object, DbEntity entity, ObjectId id) InsertDbRowOp(Persistent object, DbEntity entity, ObjectId id) UpdateDbRowOp(Persistent object, DbEntity entity, ObjectId id) -
Uses of ObjectId in org.apache.cayenne.access.util
Method parameters in org.apache.cayenne.access.util with type arguments of type ObjectIdModifier and TypeMethodDescriptionvoidDefaultOperationObserver.nextGeneratedRows(Query query, ResultIterator<?> keys, List<ObjectId> idsToUpdate) Closes ResultIterator without reading its data.voidDoNothingOperationObserver.nextGeneratedRows(Query query, ResultIterator<?> keys, List<ObjectId> idsToUpdate) -
Uses of ObjectId in org.apache.cayenne.exp.property
Methods in org.apache.cayenne.exp.property with parameters of type ObjectId -
Uses of ObjectId in org.apache.cayenne.map
Methods in org.apache.cayenne.map with parameters of type ObjectIdModifier and TypeMethodDescriptionbooleanDbEntity.isFullReplacementIdAttached(ObjectId id) Returns true if there is full replacement id is attached to an ObjectId. -
Uses of ObjectId in org.apache.cayenne.query
Fields in org.apache.cayenne.query declared as ObjectIdModifier and TypeFieldDescriptionprotected ObjectIdBatchQueryRow.objectIdprotected ObjectIdObjectIdQuery.objectIdprotected ObjectIdRelationshipQuery.objectIdMethods in org.apache.cayenne.query that return ObjectIdModifier and TypeMethodDescriptionBatchQueryRow.getObjectId()ObjectIdQuery.getObjectId()RelationshipQuery.getObjectId()Methods in org.apache.cayenne.query with parameters of type ObjectIdModifier and TypeMethodDescriptionvoidAdds a snapshot to batch.voidUpdateBatchQuery.add(Map<String, Object> qualifierSnapshot, Map<String, Object> updateSnapshot, ObjectId id) Adds a parameter row to the batch.static SelectById<DataRow> SelectById.dataRowQuery(ObjectId id) static SelectById<DataRow> SelectById.dataRowQuery(ObjectId firstId, ObjectId... otherIds) static <T> SelectById<T> static <T> SelectById<T> Constructors in org.apache.cayenne.query with parameters of type ObjectIdModifierConstructorDescriptionBatchQueryRow(ObjectId objectId, Map<String, Object> qualifier) protectedMultiMapIdSpec(ObjectId firstId, ObjectId... otherIds) ObjectIdQuery(ObjectId objectID) Creates a refreshing ObjectIdQuery.ObjectIdQuery(ObjectId objectId, boolean fetchingDataRows, int cachePolicy) Creates a new ObjectIdQuery.RelationshipQuery(ObjectId objectID, String relationshipName) Creates a RelationshipQuery.RelationshipQuery(ObjectId objectID, String relationshipName, boolean refreshing) Creates a RelationshipQuery. -
Uses of ObjectId in org.apache.cayenne.util
Fields in org.apache.cayenne.util with type parameters of type ObjectIdMethods in org.apache.cayenne.util with parameters of type ObjectIdModifier and TypeMethodDescriptionprotected ObjectObjectContextQueryAction.polymorphicObjectFromCache(ObjectId superOid)
OperationObserver.nextGeneratedRows(Query, ResultIterator, List)