blob: 5a826956f27e015ff2671b568f58852edf948092 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.10) on Mon Dec 05 10:27:04 MSK 2022 -->
<title>Uses of Class org.apache.cayenne.access.DataContext (cayenne-doc: Cayenne Documentation 4.2.RC2 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-12-05">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class org.apache.cayenne.access.DataContext (cayenne-doc: Cayenne Documentation 4.2.RC2 API)";
}
}
catch(err) {
}
//-->
var pathtoroot = "../../../../../";
var useModuleDirectories = false;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../DataContext.html" title="class in org.apache.cayenne.access">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><a href="http://cayenne.apache.org" target="top">Apache Cayenne</a></div>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<main role="main">
<div class="header">
<h2 title="Uses of Class org.apache.cayenne.access.DataContext" class="title">Uses of Class<br>org.apache.cayenne.access.DataContext</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary">
<caption><span>Packages that use <a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#org.apache.cayenne.access">org.apache.cayenne.access</a></th>
<td class="colLast">
<div class="block">Contains classes that make up Cayenne ORM stack.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#org.apache.cayenne.access.flush">org.apache.cayenne.access.flush</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#org.apache.cayenne.configuration.server">org.apache.cayenne.configuration.server</a></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList">
<section role="region"><a id="org.apache.cayenne.access">
<!-- -->
</a>
<h3>Uses of <a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a> in <a href="../package-summary.html">org.apache.cayenne.access</a></h3>
<table class="useSummary">
<caption><span>Fields in <a href="../package-summary.html">org.apache.cayenne.access</a> declared as <a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ObjectStore.</span><code><span class="memberNameLink"><a href="../ObjectStore.html#context">context</a></span></code></th>
<td class="colLast">
<div class="block">The DataContext that owns this ObjectStore.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">IncrementalFaultList.</span><code><span class="memberNameLink"><a href="../IncrementalFaultList.html#dataContext">dataContext</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ClientServerChannel.</span><code><span class="memberNameLink"><a href="../ClientServerChannel.html#serverContext">serverContext</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../package-summary.html">org.apache.cayenne.access</a> that return <a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ObjectStore.</span><code><span class="memberNameLink"><a href="../ObjectStore.html#getContext()">getContext</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">IncrementalFaultList.</span><code><span class="memberNameLink"><a href="../IncrementalFaultList.html#getDataContext()">getDataContext</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the dataContext.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../package-summary.html">org.apache.cayenne.access</a> with parameters of type <a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../graph/GraphDiff.html" title="interface in org.apache.cayenne.graph">GraphDiff</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">LegacyDataDomainFlushAction.</span><code><span class="memberNameLink"><a href="../LegacyDataDomainFlushAction.html#flush(org.apache.cayenne.access.DataContext,org.apache.cayenne.graph.GraphDiff)">flush</a></span>&#8203;(<a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a>&nbsp;context,
<a href="../../graph/GraphDiff.html" title="interface in org.apache.cayenne.graph">GraphDiff</a>&nbsp;changes)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ObjectStore.</span><code><span class="memberNameLink"><a href="../ObjectStore.html#setContext(org.apache.cayenne.access.DataContext)">setContext</a></span>&#8203;(<a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a>&nbsp;context)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../query/Query.html" title="interface in org.apache.cayenne.query">Query</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">DataContextDelegate.</span><code><span class="memberNameLink"><a href="../DataContextDelegate.html#willPerformGenericQuery(org.apache.cayenne.access.DataContext,org.apache.cayenne.query.Query)">willPerformGenericQuery</a></span>&#8203;(<a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a>&nbsp;context,
<a href="../../query/Query.html" title="interface in org.apache.cayenne.query">Query</a>&nbsp;query)</code></th>
<td class="colLast">
<div class="block">Invoked before a Query is executed via <em>DataContext.performGenericQuery</em>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../query/Query.html" title="interface in org.apache.cayenne.query">Query</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">DataContextDelegate.</span><code><span class="memberNameLink"><a href="../DataContextDelegate.html#willPerformQuery(org.apache.cayenne.access.DataContext,org.apache.cayenne.query.Query)">willPerformQuery</a></span>&#8203;(<a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a>&nbsp;context,
<a href="../../query/Query.html" title="interface in org.apache.cayenne.query">Query</a>&nbsp;query)</code></th>
<td class="colLast">
<div class="block">Invoked before a Query is executed via <em>DataContext.performQuery</em>.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Constructors in <a href="../package-summary.html">org.apache.cayenne.access</a> with parameters of type <a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../ClientServerChannel.html#%3Cinit%3E(org.apache.cayenne.access.DataContext)">ClientServerChannel</a></span>&#8203;(<a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a>&nbsp;serverContext)</code></th>
<td class="colLast">
<div class="block">Creates a ClientServerChannel that wraps a specified DataContext.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../IncrementalFaultList.html#%3Cinit%3E(org.apache.cayenne.access.DataContext,org.apache.cayenne.query.Query,int)">IncrementalFaultList</a></span>&#8203;(<a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a>&nbsp;dataContext,
<a href="../../query/Query.html" title="interface in org.apache.cayenne.query">Query</a>&nbsp;query,
int&nbsp;maxFetchSize)</code></th>
<td class="colLast">
<div class="block">Creates a new IncrementalFaultList using a given DataContext and query.</div>
</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.apache.cayenne.access.flush">
<!-- -->
</a>
<h3>Uses of <a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a> in <a href="../flush/package-summary.html">org.apache.cayenne.access.flush</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../flush/package-summary.html">org.apache.cayenne.access.flush</a> with parameters of type <a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../graph/GraphDiff.html" title="interface in org.apache.cayenne.graph">GraphDiff</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">DataDomainFlushAction.</span><code><span class="memberNameLink"><a href="../flush/DataDomainFlushAction.html#flush(org.apache.cayenne.access.DataContext,org.apache.cayenne.graph.GraphDiff)">flush</a></span>&#8203;(<a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a>&nbsp;context,
<a href="../../graph/GraphDiff.html" title="interface in org.apache.cayenne.graph">GraphDiff</a>&nbsp;changes)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../graph/GraphDiff.html" title="interface in org.apache.cayenne.graph">GraphDiff</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">DefaultDataDomainFlushAction.</span><code><span class="memberNameLink"><a href="../flush/DefaultDataDomainFlushAction.html#flush(org.apache.cayenne.access.DataContext,org.apache.cayenne.graph.GraphDiff)">flush</a></span>&#8203;(<a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a>&nbsp;context,
<a href="../../graph/GraphDiff.html" title="interface in org.apache.cayenne.graph">GraphDiff</a>&nbsp;changes)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">DefaultDataDomainFlushAction.</span><code><span class="memberNameLink"><a href="../flush/DefaultDataDomainFlushAction.html#postprocess(org.apache.cayenne.access.DataContext,org.apache.cayenne.access.ObjectStoreGraphDiff,org.apache.cayenne.graph.CompoundDiff,java.util.List)">postprocess</a></span>&#8203;(<a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a>&nbsp;context,
<a href="../ObjectStoreGraphDiff.html" title="class in org.apache.cayenne.access">ObjectStoreGraphDiff</a>&nbsp;changes,
<a href="../../graph/CompoundDiff.html" title="class in org.apache.cayenne.graph">CompoundDiff</a>&nbsp;afterCommitDiff,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../flush/operation/DbRowOp.html" title="interface in org.apache.cayenne.access.flush.operation">DbRowOp</a>&gt;&nbsp;dbRowOps)</code></th>
<td class="colLast">
<div class="block">Notify <a href="../ObjectStore.html" title="class in org.apache.cayenne.access"><code>ObjectStore</code></a> and it's data row cache about actual changes we performed.</div>
</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.apache.cayenne.configuration.server">
<!-- -->
</a>
<h3>Uses of <a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a> in <a href="../../configuration/server/package-summary.html">org.apache.cayenne.configuration.server</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../../configuration/server/package-summary.html">org.apache.cayenne.configuration.server</a> that return <a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">DataContextFactory.</span><code><span class="memberNameLink"><a href="../../configuration/server/DataContextFactory.html#newInstance(org.apache.cayenne.DataChannel,org.apache.cayenne.access.ObjectStore)">newInstance</a></span>&#8203;(<a href="../../DataChannel.html" title="interface in org.apache.cayenne">DataChannel</a>&nbsp;parent,
<a href="../ObjectStore.html" title="class in org.apache.cayenne.access">ObjectStore</a>&nbsp;objectStore)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../../configuration/server/package-summary.html">org.apache.cayenne.configuration.server</a> with parameters of type <a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../ObjectContext.html" title="interface in org.apache.cayenne">ObjectContext</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">DataContextFactory.</span><code><span class="memberNameLink"><a href="../../configuration/server/DataContextFactory.html#createFromDataContext(org.apache.cayenne.access.DataContext)">createFromDataContext</a></span>&#8203;(<a href="../DataContext.html" title="class in org.apache.cayenne.access">DataContext</a>&nbsp;parent)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
</ul>
</li>
</ul>
</div>
</main>
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../DataContext.html" title="class in org.apache.cayenne.access">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><a href="http://cayenne.apache.org" target="top">Apache Cayenne</a></div>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2001&#x2013;2022 <a href="https://cayenne.apache.org/">Apache Cayenne</a>. All rights reserved.</small></p>
</footer>
</body>
</html>