| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DataContext | |
|---|---|
| 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.conf | Contains classes dealing with Cayenne configuration files. | 
| Uses of DataContext in org.apache.cayenne | 
|---|
| Methods in org.apache.cayenne that return DataContext | |
|---|---|
|  DataContext | CayenneDataObject.getDataContext()Deprecated. since 3.0 use PersistentObject.getObjectContext(). | 
|  DataContext | DataObject.getDataContext()Deprecated. since 3.0 use Persistent.getObjectContext(). | 
| Methods in org.apache.cayenne with parameters of type DataContext | |
|---|---|
|  void | CayenneDataObject.setDataContext(DataContext dataContext)Deprecated. since 3.0 use CayenneDataObject.setObjectContext(ObjectContext). | 
|  void | DataObject.setDataContext(DataContext ctxt)Deprecated. since 3.0 use Persistent.setObjectContext(ObjectContext). | 
| Uses of DataContext in org.apache.cayenne.access | 
|---|
| Fields in org.apache.cayenne.access declared as DataContext | |
|---|---|
| protected  DataContext | ObjectStore.contextThe DataContext that owns this ObjectStore. | 
| protected  DataContext | IncrementalFaultList.dataContext | 
| protected  DataContext | ClientServerChannel.serverContext | 
| Methods in org.apache.cayenne.access that return DataContext | |
|---|---|
|  DataContext | DataContext.createChildDataContext()Deprecated. since 3.0 use createChildContext(). | 
| static DataContext | DataContext.createDataContext()Factory method that creates and returns a new instance of DataContext based on default domain. | 
|  DataContext | DataDomain.createDataContext()Creates and returns a new DataContext. | 
| static DataContext | DataContext.createDataContext(boolean useSharedCache)Factory method that creates and returns a new instance of DataContext based on default domain. | 
|  DataContext | DataDomain.createDataContext(boolean useSharedCache)Creates a new DataContext. | 
|  DataContext | DataContextFactory.createDataContext(DataChannel parent,
                  ObjectStore objectStore)Creates a DataContext with parent QueryEngine and a DataRowStore that should be used by the ObjectStore. | 
| static DataContext | DataContext.createDataContext(String domainName)Factory method that creates and returns a new instance of DataContext using named domain as its parent. | 
| static DataContext | DataContext.createDataContext(String domainName,
                  boolean useSharedCache)Creates and returns new DataContext that will use a named DataDomain as its parent. | 
|  DataContext | ObjectStore.getContext() | 
|  DataContext | IncrementalFaultList.getDataContext()Returns the dataContext. | 
| static DataContext | DataContext.getThreadDataContext()Deprecated. since 3.0, replaced by BaseContex#getThreadObjectContext(). | 
| Methods in org.apache.cayenne.access with parameters of type DataContext | |
|---|---|
| static void | DataContext.bindThreadDataContext(DataContext context)Deprecated. since 3.0, replaced by BaseContex#bindThreadObjectContext(). | 
|  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 | |
|---|---|
| ClientServerChannel(DataContext serverContext)Creates a ClientServerChannel that wraps a specified DataContext. | |
| IncrementalFaultList(DataContext dataContext,
                     Query query)Creates a new IncrementalFaultList using a given DataContext and query. | |
| Uses of DataContext in org.apache.cayenne.conf | 
|---|
| Methods in org.apache.cayenne.conf that return DataContext | |
|---|---|
| static DataContext | ServletUtil.getSessionContext(javax.servlet.http.HttpSession session)Returns default Cayenne DataContext associated with the HttpSession, creating it on the fly and storing in the session if needed. | 
| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||