Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.cayenne.ObjectId

Packages that use ObjectId
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.trans | Provides translators for Cayenne queries.
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.

Uses of ObjectId in org.apache.cayenne

Fields in org.apache.cayenne declared as ObjectId
`protected ObjectId` | `CayenneDataObject.objectId`
`protected ObjectId` | `PersistentObject.objectId`

Methods in org.apache.cayenne that return ObjectId
`ObjectId` | `DataRow.createObjectId(ObjEntity entity)` Deprecated. since 3.0 - unused
`ObjectId` | `DataRow.createObjectId(String entityName, DbEntity entity)` Deprecated. since 3.0 - unused.
`ObjectId` | `DataRow.createObjectId(String entityName, DbEntity entity, String namePrefix)` Deprecated. since 3.0 - unused.
`ObjectId` | `ObjectId.createReplacementId()` Creates and returns a replacement ObjectId.
`ObjectId` | `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.
`ObjectId` | `CayenneDataObject.getObjectId()`
`ObjectId` | `Persistent.getObjectId()`
`ObjectId` | `PersistentObject.getObjectId()`

Methods in org.apache.cayenne with parameters of type ObjectId
`abstract Persistent` | `BaseContext.localObject(ObjectId id, Object prototype)`
`Persistent` | `CayenneContext.localObject(ObjectId id, Object prototype)` Converts a list of Persistent objects registered in some other ObjectContext to a list of objects local to this ObjectContext.
`Persistent` | `ObjectContext.localObject(ObjectId id, Object prototype)` Returns an object local to this ObjectContext and matching the ObjectId.
`static Object` | `DataObjectUtils.objectForPK(ObjectContext context, ObjectId id)` Returns an object matching ObjectId.
`void` | `CayenneDataObject.setObjectId(ObjectId objectId)`
`void` | `Persistent.setObjectId(ObjectId id)`
`void` | `PersistentObject.setObjectId(ObjectId objectId)`

Uses of ObjectId in org.apache.cayenne.access

Methods in org.apache.cayenne.access with parameters of type ObjectId
`void` | `DataRowStore.forgetSnapshot(ObjectId id)` Evicts a snapshot from cache without generating any SnapshotEvents.
`DataRow` | `DataRowStore.getCachedSnapshot(ObjectId oid)` Returns cached snapshot or null if no snapshot is currently cached for the given ObjectId.
`DataRow` | `ObjectStore.getCachedSnapshot(ObjectId oid)` Returns a snapshot for ObjectId from the underlying snapshot cache.
`DataRow` | `ObjectStore.getSnapshot(ObjectId oid)` Returns a snapshot for ObjectId from the underlying snapshot cache.
`Persistent` | `DataContext.localObject(ObjectId id, Object prototype)` Returns an object local to this DataContext and matching the ObjectId.
`DataObject` | `DataContext.refetchObject(ObjectId oid)` Deprecated. since 3.0 use `ObjectIdQuery` with appropriate refresh settings.

Uses of ObjectId in org.apache.cayenne.access.trans

Methods in org.apache.cayenne.access.trans with parameters of type ObjectId
`void` | `DataObjectMatchTranslator.setObjectId(ObjectId id)`

Uses of ObjectId in org.apache.cayenne.map

Methods in org.apache.cayenne.map with parameters of type ObjectId
`boolean` | `DbEntity.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
`protected ObjectId` | `ObjectIdQuery.objectId`
`protected ObjectId` | `RelationshipQuery.objectId`

Fields in org.apache.cayenne.query with type parameters of type ObjectId
`protected List<ObjectId>` | `InsertBatchQuery.objectIds`
`protected List<ObjectId>` | `UpdateBatchQuery.objectIds`

Methods in org.apache.cayenne.query that return ObjectId
`ObjectId` | `BatchQuery.getObjectId()` Returns an ObjectId associated with the current batch iteration.
`ObjectId` | `InsertBatchQuery.getObjectId()` Returns an ObjectId associated with the current batch iteration.
`ObjectId` | `ObjectIdQuery.getObjectId()`
`ObjectId` | `RelationshipQuery.getObjectId()`
`ObjectId` | `UpdateBatchQuery.getObjectId()` Returns an ObjectId associated with the current batch iteration.

Methods in org.apache.cayenne.query with parameters of type ObjectId
`void` | `UpdateBatchQuery.add(Map qualifierSnapshot, Map updateSnapshot, ObjectId id)` Adds a parameter row to the batch.
`void` | `InsertBatchQuery.add(Map snapshot, ObjectId id)` Adds a snapshot to batch.

Constructors in org.apache.cayenne.query with parameters of type ObjectId
`ObjectIdQuery(ObjectId objectID)` Creates a refreshing SingleObjectQuery.
`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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2001-2008 Apache Cayenne. All Rights Reserved.