Uses of Class
org.apache.cayenne.ObjectId
| Package | Description |
|---|---|
| org.apache.cayenne |
Contains persistence APIs directly accessible by users.
|
| org.apache.cayenne.access |
Contains classes that make up Cayenne ORM stack.
|
| org.apache.cayenne.access.event | |
| org.apache.cayenne.access.translator.select | |
| org.apache.cayenne.access.util | |
| org.apache.cayenne.map |
Contains O/R mapping classes that store relational database
metadata information and map it to Java classes.
|
| org.apache.cayenne.query |
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
|
| org.apache.cayenne.util |
General utility classes.
|
-
Uses of ObjectId in org.apache.cayenne
Fields in org.apache.cayenne declared as ObjectId Modifier and Type Field Description protected ObjectIdPersistentObject. objectIdMethods in org.apache.cayenne that return ObjectId Modifier and Type Method Description ObjectIdObjectId. createReplacementId()Creates and returns a replacement ObjectId.ObjectIdDataRow. 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.ObjectIdPersistent. getObjectId()ObjectIdPersistentObject. getObjectId()Methods in org.apache.cayenne with parameters of type ObjectId Modifier and Type Method Description static ObjectCayenne. objectForPK(ObjectContext context, ObjectId id)Returns an object matching ObjectId.voidPersistent. setObjectId(ObjectId id)voidPersistentObject. setObjectId(ObjectId objectId) -
Uses of ObjectId in org.apache.cayenne.access
Fields in org.apache.cayenne.access declared as ObjectId Modifier and Type Field Description protected ObjectIdOptimisticLockException. failedObjectIdFields in org.apache.cayenne.access with type parameters of type ObjectId Modifier and Type Field Description protected ConcurrentMap<ObjectId,DataRow>DataRowStore. snapshotsMethods in org.apache.cayenne.access that return ObjectId Modifier and Type Method Description ObjectIdOptimisticLockException. getFailedObjectId()Returns the ObjectId of the object that caused the OptimisticLockException.Methods in org.apache.cayenne.access with parameters of type ObjectId Modifier and Type Method Description voidDataRowStore. forgetSnapshot(ObjectId id)Evicts a snapshot from cache without generating any SnapshotEvents.DataRowDataRowStore. getCachedSnapshot(ObjectId oid)Returns cached snapshot or null if no snapshot is currently cached for the given ObjectId.DataRowObjectStore. getCachedSnapshot(ObjectId oid)Returns a snapshot for ObjectId from the underlying snapshot cache.DataRowObjectStore. getSnapshot(ObjectId oid)Returns a snapshot for ObjectId from the underlying snapshot cache.voidOperationObserver. nextGeneratedRows(Query query, ResultIterator<?> keys, ObjectId idToUpdate)Callback method invoked after each batch of generated values is read during an update.Method parameters in org.apache.cayenne.access with type arguments of type ObjectId Modifier and Type Method Description 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 ObjectId Constructor Description OptimisticLockException(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 ObjectId Modifier and Type Field Description protected Collection<ObjectId>SnapshotEvent. deletedIdsprotected Collection<ObjectId>SnapshotEvent. indirectlyModifiedIdsprotected Collection<ObjectId>SnapshotEvent. invalidatedIdsprotected Map<ObjectId,DataRow>SnapshotEvent. modifiedDiffsMethods in org.apache.cayenne.access.event that return types with arguments of type ObjectId Modifier and Type Method Description Collection<ObjectId>SnapshotEvent. getDeletedIds()Collection<ObjectId>SnapshotEvent. getIndirectlyModifiedIds()Collection<ObjectId>SnapshotEvent. getInvalidatedIds()Map<ObjectId,DataRow>SnapshotEvent. getModifiedDiffs()Constructor parameters in org.apache.cayenne.access.event with type arguments of type ObjectId Constructor Description SnapshotEvent(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.translator.select
Methods in org.apache.cayenne.access.translator.select with parameters of type ObjectId Modifier and Type Method Description voidDataObjectMatchTranslator. setObjectId(ObjectId id) -
Uses of ObjectId in org.apache.cayenne.access.util
Methods in org.apache.cayenne.access.util with parameters of type ObjectId Modifier and Type Method Description voidDefaultOperationObserver. nextGeneratedRows(Query query, ResultIterator keys, ObjectId idToUpdate)Closes ResultIterator without reading its data.voidDoNothingOperationObserver. nextGeneratedRows(Query query, ResultIterator<?> keys, ObjectId idToUpdate) -
Uses of ObjectId in org.apache.cayenne.map
Methods in org.apache.cayenne.map with parameters of type ObjectId Modifier and Type Method Description booleanDbEntity. 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 ObjectId Modifier and Type Field Description protected ObjectIdBatchQueryRow. objectIdprotected ObjectIdObjectIdQuery. objectIdprotected ObjectIdRelationshipQuery. objectIdMethods in org.apache.cayenne.query that return ObjectId Modifier and Type Method Description ObjectIdBatchQueryRow. getObjectId()ObjectIdObjectIdQuery. getObjectId()ObjectIdRelationshipQuery. getObjectId()Methods in org.apache.cayenne.query with parameters of type ObjectId Modifier and Type Method Description voidInsertBatchQuery. add(Map<String,Object> snapshot, ObjectId id)Adds 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 <T> SelectById<T>SelectById. query(Class<T> entityType, ObjectId id)Constructors in org.apache.cayenne.query with parameters of type ObjectId Constructor Description BatchQueryRow(ObjectId objectId, Map<String,Object> qualifier)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 ObjectId Modifier and Type Field Description protected Map<ObjectId,Persistent>ObjectDetachOperation. seenMethods in org.apache.cayenne.util with parameters of type ObjectId Modifier and Type Method Description protected ObjectObjectContextQueryAction. polymorphicObjectFromCache(ObjectId superOid)