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

## Uses of Interface
org.apache.cayenne.ObjectContext

Packages that use ObjectContext
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.jpa |
org.apache.cayenne.remote | Contains classes an interfaces related to Cayenne remote object persistence features.
org.apache.cayenne.util | General utility classes.

Uses of ObjectContext in org.apache.cayenne

Classes in org.apache.cayenne that implement ObjectContext
`class` | `BaseContext` A common base superclass for Cayenne ObjectContext implementors.
`class` | `CayenneContext` A default generic implementation of ObjectContext suitable for accessing Cayenne from either an ORM or a client tiers.

Fields in org.apache.cayenne declared as ObjectContext
`protected ObjectContext` | `CayenneDataObject.objectContext`
`protected ObjectContext` | `PersistentObject.objectContext`

Methods in org.apache.cayenne that return ObjectContext
`ObjectContext` | `ObjectContextFactory.createObjectContext(DataChannel parent, Map properties)` Creates an instance of ObjectContext accessing the database via the provided DataChannel.
`ObjectContext` | `ObjectContextFactory.createObjectContext(Map properties)` Creates an instance of ObjectContext accessing the database via the default DataChannel.
`ObjectContext` | `CayenneDataObject.getObjectContext()` Returns this object's DataContext.
`ObjectContext` | `Persistent.getObjectContext()`
`ObjectContext` | `PersistentObject.getObjectContext()`

Methods in org.apache.cayenne with parameters of type ObjectContext
`static Object` | `DataObjectUtils.objectForPK(ObjectContext context, Class dataObjectClass, int pk)` Returns an object matching an int primary key.
`static Object` | `DataObjectUtils.objectForPK(ObjectContext context, Class dataObjectClass, Map pk)` Returns an object matching a primary key.
`static Object` | `DataObjectUtils.objectForPK(ObjectContext context, Class dataObjectClass, Object pk)` Returns an object matching an Object primary key.
`static Object` | `DataObjectUtils.objectForPK(ObjectContext context, ObjectId id)` Returns an object matching ObjectId.
`static Object` | `DataObjectUtils.objectForPK(ObjectContext context, String objEntityName, int pk)` Returns an object matching an int primary key.
`static Object` | `DataObjectUtils.objectForPK(ObjectContext context, String objEntityName, Map pk)` Returns an object matching a primary key.
`static Object` | `DataObjectUtils.objectForPK(ObjectContext context, String objEntityName, Object pk)` Returns an object matching an Object primary key.
`static Object` | `DataObjectUtils.objectForQuery(ObjectContext context, Query query)` Returns an object or a DataRow that is a result of a given query.
`QueryResponse` | `DataChannel.onQuery(ObjectContext originatingContext, Query query)` Executes a query, using provided context to register persistent objects if query returns any objects.
`GraphDiff` | `DataChannel.onSync(ObjectContext originatingContext, GraphDiff changes, int syncType)` Processes synchronization request from a child ObjectContext, returning a GraphDiff that describes changes to objects made on the receiving end as a result of syncronization.
`void` | `CayenneDataObject.setObjectContext(ObjectContext objectContext)`
`void` | `Persistent.setObjectContext(ObjectContext objectContext)`
`void` | `PersistentObject.setObjectContext(ObjectContext objectContext)`

Uses of ObjectContext in org.apache.cayenne.access

Classes in org.apache.cayenne.access that implement ObjectContext
`class` | `DataContext` Class that provides applications with access to Cayenne persistence features.

Methods in org.apache.cayenne.access with parameters of type ObjectContext
`QueryResponse` | `ClientServerChannel.onQuery(ObjectContext context, Query query)`
`QueryResponse` | `DataContext.onQuery(ObjectContext context, Query query)` An implementation of a `DataChannel` method that is used by child contexts to execute queries.
`QueryResponse` | `DataDomain.onQuery(ObjectContext context, Query query)` Runs query returning generic QueryResponse.
`GraphDiff` | `ClientServerChannel.onSync(ObjectContext originatingContext, GraphDiff changes, int syncType)`
`GraphDiff` | `DataContext.onSync(ObjectContext originatingContext, GraphDiff changes, int syncType)` An implementation of a `DataChannel` method that is used by child contexts to synchronize state with this context.
`GraphDiff` | `DataDomain.onSync(ObjectContext originatingContext, GraphDiff changes, int syncType)` Only handles commit-type synchronization, ignoring any other type.

Uses of ObjectContext in org.apache.cayenne.jpa

Fields in org.apache.cayenne.jpa declared as ObjectContext
`protected ObjectContext` | `JpaQuery.context`
`protected ObjectContext` | `ResourceLocalEntityManager.context`

Methods in org.apache.cayenne.jpa that return ObjectContext
`protected ObjectContext` | `ResourceLocalEntityManagerFactory.createObjectContext()` Creates a new Cayenne `ObjectContext` based on this factory DataDomain.

Constructors in org.apache.cayenne.jpa with parameters of type ObjectContext
`JpaNativeQuery(ObjectContext context, String sqlString, Class resultClass)`
`JpaNativeQuery(ObjectContext context, String sqlString, String dataMapName)`
`JpaQuery(ObjectContext ctxt)`
`JpaQuery(ObjectContext context, String name)` Construct a named query.
`JtaEntityManager(ObjectContext context, JtaEntityManagerFactory factory)`
`ResourceLocalEntityManager(ObjectContext context, ResourceLocalEntityManagerFactory factory)`

Uses of ObjectContext in org.apache.cayenne.remote

Fields in org.apache.cayenne.remote declared as ObjectContext
`protected ObjectContext` | `RemoteIncrementalFaultList.context`
`protected ObjectContext` | `SyncMessage.source`

Methods in org.apache.cayenne.remote that return ObjectContext
`ObjectContext` | `RemoteIncrementalFaultList.getContext()` Returns ObjectContext associated with this list.
`ObjectContext` | `SyncMessage.getSource()` Returns a source of SyncMessage.

Methods in org.apache.cayenne.remote with parameters of type ObjectContext
`QueryResponse` | `ClientChannel.onQuery(ObjectContext context, Query query)`
`GraphDiff` | `ClientChannel.onSync(ObjectContext originatingContext, GraphDiff changes, int syncType)`

Constructors in org.apache.cayenne.remote with parameters of type ObjectContext
`RemoteIncrementalFaultList(ObjectContext context, Query paginatedQuery)`
`SyncMessage(ObjectContext source, int syncType, GraphDiff senderChanges)`

Uses of ObjectContext in org.apache.cayenne.util

Fields in org.apache.cayenne.util declared as ObjectContext
`protected ObjectContext` | `ObjectContextQueryAction.actingContext`
`protected ObjectContext` | `DeepMergeOperation.context`
`protected ObjectContext` | `ObjectContextGraphAction.context`
`protected ObjectContext` | `ObjectContextQueryAction.targetContext`

Constructors in org.apache.cayenne.util with parameters of type ObjectContext
`DeepMergeOperation(ObjectContext context)`
`ObjectContextGraphAction(ObjectContext context)`
`ObjectContextQueryAction(ObjectContext actingContext, ObjectContext targetContext, Query query)`

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

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