Uses of Class
org.apache.cayenne.access.DataContext.Builder
Packages that use DataContext.Builder
-
Uses of DataContext.Builder in org.apache.cayenne.access
Methods in org.apache.cayenne.access that return DataContext.BuilderModifier and TypeMethodDescriptionstatic DataContext.BuilderDataContext.builder(DataChannel channel) Starts building a DataContext attached to the given channel.protected DataContext.BuilderDataContextFactory.newBuilder(DataChannel parent) DataContext.Builder.objectMap(Map<ObjectId, Persistent> objectMap) Sets a map to store registered objects in.DataContext.Builder.queryCache(QueryCache queryCache) Sets a cache for query results.DataContext.Builder.snapshotCache(DataRowStore snapshotCache) Sets a snapshot cache for the context's ObjectStore.DataContext.Builder.syncWithSnapshotCache(boolean sync) Sets whether the context's ObjectStore should listen to snapshot cache events, updating its objects with changes made in other contexts.DataContext.Builder.usingSharedSnapshotCache(boolean usingSharedSnapshotCache) Sets whether the snapshot cache is the shared cache of the parent DataDomain.DataContext.Builder.validatingObjectsOnCommit(boolean validating) Sets whether the context validates objects before commit.