## Uses of Class
org.apache.cayenne.access.DataContext

- Packages that use DataContext
  Package | Description
  --- | ---
  org.apache.cayenne.access | Contains classes that make up Cayenne ORM stack.
  org.apache.cayenne.configuration.server |

- - ### Uses of DataContext in org.apache.cayenne.access

    Fields in org.apache.cayenne.access declared as DataContext
    Modifier and Type | Field and Description
    --- | ---
    `protected DataContext` | ObjectStore.`context` The DataContext that owns this ObjectStore.
    `protected DataContext` | IncrementalFaultList.`dataContext`
    `protected DataContext` | ClientServerChannel.`serverContext`

    Methods in org.apache.cayenne.access that return DataContext
    Modifier and Type | Method and Description
    --- | ---
    `DataContext` | DataDomain.`createDataContext()` Deprecated. since 3.1 as context creation is done via `ObjectContextFactory` and injection.
    `DataContext` | DataDomain.`createDataContext(boolean useSharedCache)` Deprecated. since 3.1 as context creation is done via `ObjectContextFactory` and injection.
    `DataContext` | ObjectStore.`getContext()`
    `DataContext` | IncrementalFaultList.`getDataContext()` Returns the dataContext.

    Methods in org.apache.cayenne.access with parameters of type DataContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | ObjectStore.`setContext(DataContext context)`
    `Query` | DataContextDelegate.`willPerformGenericQuery(DataContext context, Query query)` Invoked before a Query is executed via DataContext.performGenericQuery.
    `Query` | DataContextDelegate.`willPerformQuery(DataContext context, Query query)` Invoked before a Query is executed via DataContext.performQuery.

    Constructors in org.apache.cayenne.access with parameters of type DataContext
    Constructor and Description
    `ClientServerChannel(DataContext serverContext)` Creates a ClientServerChannel that wraps a specified DataContext.
    `IncrementalFaultList(DataContext dataContext, Query query)` Deprecated. since 3.1 use `IncrementalFaultList.IncrementalFaultList(DataContext, Query, int)`.
    `IncrementalFaultList(DataContext dataContext, Query query, int maxFetchSize)` Creates a new IncrementalFaultList using a given DataContext and query.

  - ### Uses of DataContext in org.apache.cayenne.configuration.server

    Methods in org.apache.cayenne.configuration.server that return DataContext
    Modifier and Type | Method and Description
    --- | ---
    `protected DataContext` | DataContextFactory.`newInstance(DataChannel parent, ObjectStore objectStore)`

    Methods in org.apache.cayenne.configuration.server with parameters of type DataContext
    Modifier and Type | Method and Description
    --- | ---
    `protected ObjectContext` | DataContextFactory.`createFromDataContext(DataContext parent)`

Copyright © 2001–2014 Apache Cayenne. All rights reserved.