Uses of Class
org.apache.cayenne.access.DataContext
Packages that use DataContext
Package
Description
Contains classes that make up Cayenne ORM stack.
-
Uses of DataContext in org.apache.cayenne.access
Fields in org.apache.cayenne.access declared as DataContextModifier and TypeFieldDescriptionprotected 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 DataContextModifier and TypeMethodDescriptionObjectStore.getContext()
IncrementalFaultList.getDataContext()
Returns the dataContext.Methods in org.apache.cayenne.access with parameters of type DataContextModifier and TypeMethodDescriptionLegacyDataDomainFlushAction.flush
(DataContext context, GraphDiff changes) Deprecated.void
ObjectStore.setContext
(DataContext context) DataContextDelegate.willPerformGenericQuery
(DataContext context, Query query) Invoked before a Query is executed via DataContext.performGenericQuery.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 DataContextModifierConstructorDescriptionClientServerChannel
(DataContext serverContext) Creates a ClientServerChannel that wraps a specified DataContext.IncrementalFaultList
(DataContext dataContext, Query query, int maxFetchSize) Creates a new IncrementalFaultList using a given DataContext and query. -
Uses of DataContext in org.apache.cayenne.access.flush
Methods in org.apache.cayenne.access.flush with parameters of type DataContextModifier and TypeMethodDescriptionDataDomainFlushAction.flush
(DataContext context, GraphDiff changes) DefaultDataDomainFlushAction.flush
(DataContext context, GraphDiff changes) protected void
DefaultDataDomainFlushAction.postprocess
(DataContext context, ObjectStoreGraphDiff changes, CompoundDiff afterCommitDiff, List<DbRowOp> dbRowOps) NotifyObjectStore
and it's data row cache about actual changes we performed. -
Uses of DataContext in org.apache.cayenne.configuration.server
Methods in org.apache.cayenne.configuration.server that return DataContextModifier and TypeMethodDescriptionprotected DataContext
DataContextFactory.newInstance
(DataChannel parent, ObjectStore objectStore) Methods in org.apache.cayenne.configuration.server with parameters of type DataContextModifier and TypeMethodDescriptionprotected ObjectContext
DataContextFactory.createFromDataContext
(DataContext parent)