http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/0af753b3/docs/1.2/api/cayenne/org/objectstyle/cayenne/access/DataDomain.html
----------------------------------------------------------------------
diff --git
a/docs/1.2/api/cayenne/org/objectstyle/cayenne/access/DataDomain.html
b/docs/1.2/api/cayenne/org/objectstyle/cayenne/access/DataDomain.html
new file mode 100644
index 0000000..00da6d7
--- /dev/null
+++ b/docs/1.2/api/cayenne/org/objectstyle/cayenne/access/DataDomain.html
@@ -0,0 +1,1763 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_06) on Wed Jul 19 14:42:41 EDT 2006 -->
+<TITLE>
+DataDomain (Cayenne API Documentation - v.1.2)
+</TITLE>
+
+<META NAME="keywords" CONTENT="org.objectstyle.cayenne.access.DataDomain
class">
+
+<LINK REL ="stylesheet" TYPE="text/css"
HREF="../../../../objectstyle-javadoc.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="DataDomain (Cayenne API Documentation - v.1.2)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A
HREF="../../../../org/objectstyle/cayenne/access/DataContextFactory.html"
title="interface in org.objectstyle.cayenne.access"><B>PREV CLASS</B></A>
+ <A
HREF="../../../../org/objectstyle/cayenne/access/DataDomainLegacyQueryAction.html"
title="class in org.objectstyle.cayenne.access"><B>NEXT
CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A
HREF="../../../../index.html?org/objectstyle/cayenne/access/DataDomain.html"
target="_top"><B>FRAMES</B></A>
+ <A HREF="DataDomain.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All
Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A
HREF="#field_summary">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+org.objectstyle.cayenne.access</FONT>
+<BR>
+Class DataDomain</H2>
+<PRE>
+java.lang.Object
+ <IMG SRC="../../../../resources/inherit.gif" ALT="extended by
"><B>org.objectstyle.cayenne.access.DataDomain</B>
+</PRE>
+<DL>
+<DT><B>All Implemented Interfaces:</B> <DD><A
HREF="../../../../org/objectstyle/cayenne/access/QueryEngine.html"
title="interface in org.objectstyle.cayenne.access">QueryEngine</A>, <A
HREF="../../../../org/objectstyle/cayenne/DataChannel.html" title="interface in
org.objectstyle.cayenne">DataChannel</A></DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public class <B>DataDomain</B><DT>extends
java.lang.Object<DT>implements <A
HREF="../../../../org/objectstyle/cayenne/access/QueryEngine.html"
title="interface in org.objectstyle.cayenne.access">QueryEngine</A>, <A
HREF="../../../../org/objectstyle/cayenne/DataChannel.html" title="interface in
org.objectstyle.cayenne">DataChannel</A></DL>
+</PRE>
+
+<P>
+DataDomain performs query routing functions in Cayenne. DataDomain creates
single data
+ source abstraction hiding multiple physical data sources from the user. When
a child
+ DataContext sends a query to the DataDomain, it is transparently routed to an
+ appropriate DataNode.
+ <p>
+ <i>For more information see <a href="../../../../../../userguide/index.html"
+ target="_top">Cayenne User Guide. </a> </i>
+ </p>
+<P>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>Andrus Adamchik</DD>
+</DL>
+<HR>
+
+<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#DATA_CONTEXT_FACTORY_PROPERTY">DATA_CONTEXT_FACTORY_PROPERTY</A></B></CODE>
+
+<BR>
+ Defines a property
name for storing an optional DataContextFactory.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected <A
HREF="../../../../org/objectstyle/cayenne/access/DataContextFactory.html"
title="interface in
org.objectstyle.cayenne.access">DataContextFactory</A></CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#dataContextFactory">dataContextFactory</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected <A
HREF="../../../../org/objectstyle/cayenne/map/EntityResolver.html" title="class
in org.objectstyle.cayenne.map">EntityResolver</A></CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#entityResolver">entityResolver</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected <A
HREF="../../../../org/objectstyle/cayenne/event/EventManager.html" title="class
in org.objectstyle.cayenne.event">EventManager</A></CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#eventManager">eventManager</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#name">name</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected java.util.Map</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#nodes">nodes</A></B></CODE>
+
+<BR>
+ Stores mapping of
data nodes to DataNode name keys.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected java.util.Map</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#nodesByDataMapName">nodesByDataMapName</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected java.util.Map</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#properties">properties</A></B></CODE>
+
+<BR>
+ Properties
configured for DataDomain.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static boolean</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#SHARED_CACHE_ENABLED_DEFAULT">SHARED_CACHE_ENABLED_DEFAULT</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#SHARED_CACHE_ENABLED_PROPERTY">SHARED_CACHE_ENABLED_PROPERTY</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected boolean</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#sharedCacheEnabled">sharedCacheEnabled</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected <A
HREF="../../../../org/objectstyle/cayenne/access/DataRowStore.html"
title="class in
org.objectstyle.cayenne.access">DataRowStore</A></CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#sharedSnapshotCache">sharedSnapshotCache</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected <A
HREF="../../../../org/objectstyle/cayenne/access/TransactionDelegate.html"
title="interface in
org.objectstyle.cayenne.access">TransactionDelegate</A></CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#transactionDelegate">transactionDelegate</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static boolean</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#USING_EXTERNAL_TRANSACTIONS_DEFAULT">USING_EXTERNAL_TRANSACTIONS_DEFAULT</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#USING_EXTERNAL_TRANSACTIONS_PROPERTY">USING_EXTERNAL_TRANSACTIONS_PROPERTY</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected boolean</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#usingExternalTransactions">usingExternalTransactions</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static boolean</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#VALIDATING_OBJECTS_ON_COMMIT_DEFAULT">VALIDATING_OBJECTS_ON_COMMIT_DEFAULT</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#VALIDATING_OBJECTS_ON_COMMIT_PROPERTY">VALIDATING_OBJECTS_ON_COMMIT_PROPERTY</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected boolean</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#validatingObjectsOnCommit">validatingObjectsOnCommit</A></B></CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A
NAME="fields_inherited_from_class_org.objectstyle.cayenne.DataChannel"><!--
--></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Fields inherited from interface org.objectstyle.cayenne.<A
HREF="../../../../org/objectstyle/cayenne/DataChannel.html" title="interface in
org.objectstyle.cayenne">DataChannel</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A
HREF="../../../../org/objectstyle/cayenne/DataChannel.html#FLUSH_CASCADE_SYNC">FLUSH_CASCADE_SYNC</A>,
<A
HREF="../../../../org/objectstyle/cayenne/DataChannel.html#FLUSH_NOCASCADE_SYNC">FLUSH_NOCASCADE_SYNC</A>,
<A
HREF="../../../../org/objectstyle/cayenne/DataChannel.html#GRAPH_CHANGED_SUBJECT">GRAPH_CHANGED_SUBJECT</A>,
<A
HREF="../../../../org/objectstyle/cayenne/DataChannel.html#GRAPH_FLUSHED_SUBJECT">GRAPH_FLUSHED_SUBJECT</A>,
<A
HREF="../../../../org/objectstyle/cayenne/DataChannel.html#GRAPH_ROLLEDBACK_SUBJECT">GRAPH_ROLLEDBACK_SUBJECT</A>,
<A
HREF="../../../../org/objectstyle/cayenne/DataChannel.html#ROLLBACK_CASCADE_SYNC">ROLLBACK_CASCADE_SYNC</A></CODE></TD>
+</TR>
+</TABLE>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#DataDomain(java.lang.String)">DataDomain</A></B>(java.lang.String name)</CODE>
+
+<BR>
+ Creates a
DataDomain and assigns it a name.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#DataDomain(java.lang.String,
java.util.Map)">DataDomain</A></B>(java.lang.String name,
+ java.util.Map properties)</CODE>
+
+<BR>
+ Creates new
DataDomain.</TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#addMap(org.objectstyle.cayenne.map.DataMap)">addMap</A></B>(<A
HREF="../../../../org/objectstyle/cayenne/map/DataMap.html" title="class in
org.objectstyle.cayenne.map">DataMap</A> map)</CODE>
+
+<BR>
+ Registers new
DataMap with this domain.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#addNode(org.objectstyle.cayenne.access.DataNode)">addNode</A></B>(<A
HREF="../../../../org/objectstyle/cayenne/access/DataNode.html" title="class
in org.objectstyle.cayenne.access">DataNode</A> node)</CODE>
+
+<BR>
+ Adds new
DataNode.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#clearDataMaps()">clearDataMaps</A></B>()</CODE>
+
+<BR>
+ Clears the list of
internal DataMaps.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A
HREF="../../../../org/objectstyle/cayenne/access/DataContext.html" title="class
in org.objectstyle.cayenne.access">DataContext</A></CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#createDataContext()">createDataContext</A></B>()</CODE>
+
+<BR>
+ Creates and
returns a new DataContext.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A
HREF="../../../../org/objectstyle/cayenne/access/DataContext.html" title="class
in org.objectstyle.cayenne.access">DataContext</A></CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#createDataContext(boolean)">createDataContext</A></B>(boolean useSharedCache)</CODE>
+
+<BR>
+ Creates a new
DataContext.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A
HREF="../../../../org/objectstyle/cayenne/access/Transaction.html" title="class
in org.objectstyle.cayenne.access">Transaction</A></CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#createTransaction()">createTransaction</A></B>()</CODE>
+
+<BR>
+ Creates and
returns a new inactive transaction.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A
HREF="../../../../org/objectstyle/cayenne/access/DataContextFactory.html"
title="interface in
org.objectstyle.cayenne.access">DataContextFactory</A></CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#getDataContextFactory()">getDataContextFactory</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.util.Collection</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#getDataMaps()">getDataMaps</A></B>()</CODE>
+
+<BR>
+ Returns a
collection of registered DataMaps.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.util.Collection</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#getDataNodes()">getDataNodes</A></B>()</CODE>
+
+<BR>
+ Returns an
unmodifiable collection of DataNodes associated with this domain.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A
HREF="../../../../org/objectstyle/cayenne/map/EntityResolver.html" title="class
in org.objectstyle.cayenne.map">EntityResolver</A></CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#getEntityResolver()">getEntityResolver</A></B>()</CODE>
+
+<BR>
+ Returns an
EntityResolver that stores mapping information for this domain.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A
HREF="../../../../org/objectstyle/cayenne/event/EventManager.html" title="class
in org.objectstyle.cayenne.event">EventManager</A></CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#getEventManager()">getEventManager</A></B>()</CODE>
+
+<BR>
+ Returns
EventManager used by this DataDomain.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/objectstyle/cayenne/map/DataMap.html"
title="class in org.objectstyle.cayenne.map">DataMap</A></CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#getMap(java.lang.String)">getMap</A></B>(java.lang.String mapName)</CODE>
+
+<BR>
+ Returns DataMap
matching <code>name</code> parameter.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#getName()">getName</A></B>()</CODE>
+
+<BR>
+ Returns "name"
property value.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/objectstyle/cayenne/access/DataNode.html"
title="class in org.objectstyle.cayenne.access">DataNode</A></CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#getNode(java.lang.String)">getNode</A></B>(java.lang.String nodeName)</CODE>
+
+<BR>
+ Returns registered
DataNode whose name matches <code>name</code> parameter.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A
HREF="../../../../org/objectstyle/cayenne/access/util/PrimaryKeyHelper.html"
title="class in
org.objectstyle.cayenne.access.util">PrimaryKeyHelper</A></CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#getPrimaryKeyHelper()">getPrimaryKeyHelper</A></B>()</CODE>
+
+<BR>
+ <B>Deprecated.</B> <I>unused
since 1.2</I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.util.Map</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#getProperties()">getProperties</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A
HREF="../../../../org/objectstyle/cayenne/access/DataRowStore.html"
title="class in
org.objectstyle.cayenne.access">DataRowStore</A></CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#getSharedSnapshotCache()">getSharedSnapshotCache</A></B>()</CODE>
+
+<BR>
+ Returns snapshots
cache for this DataDomain, lazily initializing it on the first
+ call.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A
HREF="../../../../org/objectstyle/cayenne/access/TransactionDelegate.html"
title="interface in
org.objectstyle.cayenne.access">TransactionDelegate</A></CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#getTransactionDelegate()">getTransactionDelegate</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#initWithProperties(java.util.Map)">initWithProperties</A></B>(java.util.Map properties)</CODE>
+
+<BR>
+ Reinitializes
domain state with a new set of properties.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> boolean</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#isSharedCacheEnabled()">isSharedCacheEnabled</A></B>()</CODE>
+
+<BR>
+ Returns
<code>true</code> if DataContexts produced by this DataDomain are using
+ shared DataRowStore.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> boolean</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#isUsingExternalTransactions()">isUsingExternalTransactions</A></B>()</CODE>
+
+<BR>
+ Returns whether
this DataDomain should internally commit all transactions, or let
+ container do that.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> boolean</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#isValidatingObjectsOnCommit()">isValidatingObjectsOnCommit</A></B>()</CODE>
+
+<BR>
+ Returns whether
child DataContexts default behavior is to perform object validation
+ before commit is executed.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/objectstyle/cayenne/access/DataNode.html"
title="class in org.objectstyle.cayenne.access">DataNode</A></CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#lookupDataNode(org.objectstyle.cayenne.map.DataMap)">lookupDataNode</A></B>(<A
HREF="../../../../org/objectstyle/cayenne/map/DataMap.html" title="class in
org.objectstyle.cayenne.map">DataMap</A> map)</CODE>
+
+<BR>
+ Returns a DataNode
that should handle queries for all entities in a DataMap.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/objectstyle/cayenne/QueryResponse.html"
title="interface in
org.objectstyle.cayenne">QueryResponse</A></CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#onQuery(org.objectstyle.cayenne.ObjectContext,
org.objectstyle.cayenne.query.Query)">onQuery</A></B>(<A
HREF="../../../../org/objectstyle/cayenne/ObjectContext.html" title="interface
in org.objectstyle.cayenne">ObjectContext</A> context,
+ <A HREF="../../../../org/objectstyle/cayenne/query/Query.html"
title="interface in org.objectstyle.cayenne.query">Query</A> query)</CODE>
+
+<BR>
+ Runs query
returning generic QueryResponse.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/objectstyle/cayenne/graph/GraphDiff.html"
title="interface in
org.objectstyle.cayenne.graph">GraphDiff</A></CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#onSync(org.objectstyle.cayenne.ObjectContext,
org.objectstyle.cayenne.graph.GraphDiff, int)">onSync</A></B>(<A
HREF="../../../../org/objectstyle/cayenne/ObjectContext.html" title="interface
in org.objectstyle.cayenne">ObjectContext</A> originatingContext,
+ <A HREF="../../../../org/objectstyle/cayenne/graph/GraphDiff.html"
title="interface in org.objectstyle.cayenne.graph">GraphDiff</A> changes,
+ int syncType)</CODE>
+
+<BR>
+ Only handles
commit-type synchronization, ignoring any other type.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#performQueries(java.util.Collection,
org.objectstyle.cayenne.access.OperationObserver)">performQueries</A></B>(java.util.Collection queries,
+ <A
HREF="../../../../org/objectstyle/cayenne/access/OperationObserver.html"
title="interface in
org.objectstyle.cayenne.access">OperationObserver</A> callback)</CODE>
+
+<BR>
+ Routes queries to
appropriate DataNodes for execution.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#performQueries(java.util.Collection,
org.objectstyle.cayenne.access.OperationObserver,
org.objectstyle.cayenne.access.Transaction)">performQueries</A></B>(java.util.Collection queries,
+ <A
HREF="../../../../org/objectstyle/cayenne/access/OperationObserver.html"
title="interface in
org.objectstyle.cayenne.access">OperationObserver</A> callback,
+ <A
HREF="../../../../org/objectstyle/cayenne/access/Transaction.html" title="class
in org.objectstyle.cayenne.access">Transaction</A> transaction)</CODE>
+
+<BR>
+ <B>Deprecated.</B> <I>since
1.2, as the corresponding interface method is deprecated.</I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#reindexNodes()">reindexNodes</A></B>()</CODE>
+
+<BR>
+ Updates internal
index of DataNodes stored by the entity name.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#removeDataNode(java.lang.String)">removeDataNode</A></B>(java.lang.String nodeName)</CODE>
+
+<BR>
+ Removes a DataNode
from DataDomain.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#removeMap(java.lang.String)">removeMap</A></B>(java.lang.String mapName)</CODE>
+
+<BR>
+ Removes named
DataMap from this DataDomain and any underlying DataNodes that
+ include it.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#reset()">reset</A></B>()</CODE>
+
+<BR>
+ Closes all data
nodes, removes them from the list of available nodes.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#resetProperties()">resetProperties</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#setDataContextFactory(org.objectstyle.cayenne.access.DataContextFactory)">setDataContextFactory</A></B>(<A
HREF="../../../../org/objectstyle/cayenne/access/DataContextFactory.html"
title="interface in
org.objectstyle.cayenne.access">DataContextFactory</A> dataContextFactory)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#setEntityResolver(org.objectstyle.cayenne.map.EntityResolver)">setEntityResolver</A></B>(<A
HREF="../../../../org/objectstyle/cayenne/map/EntityResolver.html"
title="class in
org.objectstyle.cayenne.map">EntityResolver</A> entityResolver)</CODE>
+
+<BR>
+ Sets
EntityResolver.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#setEventManager(org.objectstyle.cayenne.event.EventManager)">setEventManager</A></B>(<A
HREF="../../../../org/objectstyle/cayenne/event/EventManager.html"
title="class in
org.objectstyle.cayenne.event">EventManager</A> eventManager)</CODE>
+
+<BR>
+ Sets EventManager
used by this DataDomain.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#setName(java.lang.String)">setName</A></B>(java.lang.String name)</CODE>
+
+<BR>
+ Sets "name"
property to a new value.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#setSharedCacheEnabled(boolean)">setSharedCacheEnabled</A></B>(boolean sharedCacheEnabled)</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#setSharedSnapshotCache(org.objectstyle.cayenne.access.DataRowStore)">setSharedSnapshotCache</A></B>(<A
HREF="../../../../org/objectstyle/cayenne/access/DataRowStore.html"
title="class in
org.objectstyle.cayenne.access">DataRowStore</A> snapshotCache)</CODE>
+
+<BR>
+ Shuts down the
previous cache instance, sets cache to the new DataSowStore instance
+ and updates two properties of the new DataSowStore: name and
eventManager.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#setTransactionDelegate(org.objectstyle.cayenne.access.TransactionDelegate)">setTransactionDelegate</A></B>(<A
HREF="../../../../org/objectstyle/cayenne/access/TransactionDelegate.html"
title="interface in
org.objectstyle.cayenne.access">TransactionDelegate</A> transactionDelegate)</CODE>
+
+<BR>
+ Initializes
TransactionDelegate used by all DataContexts associated with this
+ DataDomain.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#setUsingExternalTransactions(boolean)">setUsingExternalTransactions</A></B>(boolean flag)</CODE>
+
+<BR>
+ Sets a property
defining whether this DataDomain should internally commit all
+ transactions, or let container do that.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#setValidatingObjectsOnCommit(boolean)">setValidatingObjectsOnCommit</A></B>(boolean flag)</CODE>
+
+<BR>
+ Sets the property
defining whether child DataContexts should perform object
+ validation before commit is executed.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#shutdown()">shutdown</A></B>()</CODE>
+
+<BR>
+ Shutdowns all
owned data nodes.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#toString()">toString</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
wait, wait, wait</CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ============ FIELD DETAIL =========== -->
+
+<A NAME="field_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Field Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="SHARED_CACHE_ENABLED_PROPERTY"><!-- --></A><H3>
+SHARED_CACHE_ENABLED_PROPERTY</H3>
+<PRE>
+public static final java.lang.String <B>SHARED_CACHE_ENABLED_PROPERTY</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A
HREF="../../../../constant-values.html#org.objectstyle.cayenne.access.DataDomain.SHARED_CACHE_ENABLED_PROPERTY">Constant
Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="SHARED_CACHE_ENABLED_DEFAULT"><!-- --></A><H3>
+SHARED_CACHE_ENABLED_DEFAULT</H3>
+<PRE>
+public static final boolean <B>SHARED_CACHE_ENABLED_DEFAULT</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A
HREF="../../../../constant-values.html#org.objectstyle.cayenne.access.DataDomain.SHARED_CACHE_ENABLED_DEFAULT">Constant
Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="VALIDATING_OBJECTS_ON_COMMIT_PROPERTY"><!-- --></A><H3>
+VALIDATING_OBJECTS_ON_COMMIT_PROPERTY</H3>
+<PRE>
+public static final java.lang.String
<B>VALIDATING_OBJECTS_ON_COMMIT_PROPERTY</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A
HREF="../../../../constant-values.html#org.objectstyle.cayenne.access.DataDomain.VALIDATING_OBJECTS_ON_COMMIT_PROPERTY">Constant
Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="VALIDATING_OBJECTS_ON_COMMIT_DEFAULT"><!-- --></A><H3>
+VALIDATING_OBJECTS_ON_COMMIT_DEFAULT</H3>
+<PRE>
+public static final boolean <B>VALIDATING_OBJECTS_ON_COMMIT_DEFAULT</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A
HREF="../../../../constant-values.html#org.objectstyle.cayenne.access.DataDomain.VALIDATING_OBJECTS_ON_COMMIT_DEFAULT">Constant
Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="USING_EXTERNAL_TRANSACTIONS_PROPERTY"><!-- --></A><H3>
+USING_EXTERNAL_TRANSACTIONS_PROPERTY</H3>
+<PRE>
+public static final java.lang.String
<B>USING_EXTERNAL_TRANSACTIONS_PROPERTY</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A
HREF="../../../../constant-values.html#org.objectstyle.cayenne.access.DataDomain.USING_EXTERNAL_TRANSACTIONS_PROPERTY">Constant
Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="USING_EXTERNAL_TRANSACTIONS_DEFAULT"><!-- --></A><H3>
+USING_EXTERNAL_TRANSACTIONS_DEFAULT</H3>
+<PRE>
+public static final boolean <B>USING_EXTERNAL_TRANSACTIONS_DEFAULT</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A
HREF="../../../../constant-values.html#org.objectstyle.cayenne.access.DataDomain.USING_EXTERNAL_TRANSACTIONS_DEFAULT">Constant
Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="DATA_CONTEXT_FACTORY_PROPERTY"><!-- --></A><H3>
+DATA_CONTEXT_FACTORY_PROPERTY</H3>
+<PRE>
+public static final java.lang.String <B>DATA_CONTEXT_FACTORY_PROPERTY</B></PRE>
+<DL>
+<DD>Defines a property name for storing an optional DataContextFactory.
+<P>
+<DL>
+<DT><B>Since:</B></DT>
+ <DD>1.2</DD>
+<DT><B>See Also:</B><DD><A
HREF="../../../../constant-values.html#org.objectstyle.cayenne.access.DataDomain.DATA_CONTEXT_FACTORY_PROPERTY">Constant
Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="nodes"><!-- --></A><H3>
+nodes</H3>
+<PRE>
+protected java.util.Map <B>nodes</B></PRE>
+<DL>
+<DD>Stores mapping of data nodes to DataNode name keys.
+<P>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="nodesByDataMapName"><!-- --></A><H3>
+nodesByDataMapName</H3>
+<PRE>
+protected java.util.Map <B>nodesByDataMapName</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="properties"><!-- --></A><H3>
+properties</H3>
+<PRE>
+protected java.util.Map <B>properties</B></PRE>
+<DL>
+<DD>Properties configured for DataDomain. These include properties of the
DataRowStore
+ and remote notifications.
+<P>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="entityResolver"><!-- --></A><H3>
+entityResolver</H3>
+<PRE>
+protected <A
HREF="../../../../org/objectstyle/cayenne/map/EntityResolver.html" title="class
in org.objectstyle.cayenne.map">EntityResolver</A> <B>entityResolver</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="sharedSnapshotCache"><!-- --></A><H3>
+sharedSnapshotCache</H3>
+<PRE>
+protected <A
HREF="../../../../org/objectstyle/cayenne/access/DataRowStore.html"
title="class in org.objectstyle.cayenne.access">DataRowStore</A>
<B>sharedSnapshotCache</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="transactionDelegate"><!-- --></A><H3>
+transactionDelegate</H3>
+<PRE>
+protected <A
HREF="../../../../org/objectstyle/cayenne/access/TransactionDelegate.html"
title="interface in org.objectstyle.cayenne.access">TransactionDelegate</A>
<B>transactionDelegate</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="dataContextFactory"><!-- --></A><H3>
+dataContextFactory</H3>
+<PRE>
+protected <A
HREF="../../../../org/objectstyle/cayenne/access/DataContextFactory.html"
title="interface in org.objectstyle.cayenne.access">DataContextFactory</A>
<B>dataContextFactory</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="name"><!-- --></A><H3>
+name</H3>
+<PRE>
+protected java.lang.String <B>name</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="sharedCacheEnabled"><!-- --></A><H3>
+sharedCacheEnabled</H3>
+<PRE>
+protected boolean <B>sharedCacheEnabled</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="validatingObjectsOnCommit"><!-- --></A><H3>
+validatingObjectsOnCommit</H3>
+<PRE>
+protected boolean <B>validatingObjectsOnCommit</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="usingExternalTransactions"><!-- --></A><H3>
+usingExternalTransactions</H3>
+<PRE>
+protected boolean <B>usingExternalTransactions</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="eventManager"><!-- --></A><H3>
+eventManager</H3>
+<PRE>
+protected <A
HREF="../../../../org/objectstyle/cayenne/event/EventManager.html" title="class
in org.objectstyle.cayenne.event">EventManager</A> <B>eventManager</B></PRE>
+<DL>
+<DL>
+<DT><B>Since:</B></DT>
+ <DD>1.2</DD>
+</DL>
+</DL>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="DataDomain(java.lang.String)"><!-- --></A><H3>
+DataDomain</H3>
+<PRE>
+public <B>DataDomain</B>(java.lang.String name)</PRE>
+<DL>
+<DD>Creates a DataDomain and assigns it a name.
+<P>
+</DL>
+<HR>
+
+<A NAME="DataDomain(java.lang.String, java.util.Map)"><!-- --></A><H3>
+DataDomain</H3>
+<PRE>
+public <B>DataDomain</B>(java.lang.String name,
+ java.util.Map properties)</PRE>
+<DL>
+<DD>Creates new DataDomain.
+<P>
+<DL>
+<DT><B>Parameters:</B><DD><CODE>name</CODE> - DataDomain name. Domain can be
located using its name in the
+ Configuration object.<DD><CODE>properties</CODE> - A Map
containing domain configuration properties.</DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="resetProperties()"><!-- --></A><H3>
+resetProperties</H3>
+<PRE>
+protected void <B>resetProperties</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Since:</B></DT>
+ <DD>1.1</DD>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="initWithProperties(java.util.Map)"><!-- --></A><H3>
+initWithProperties</H3>
+<PRE>
+public void <B>initWithProperties</B>(java.util.Map properties)</PRE>
+<DL>
+<DD>Reinitializes domain state with a new set of properties.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Since:</B></DT>
+ <DD>1.1</DD>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getEventManager()"><!-- --></A><H3>
+getEventManager</H3>
+<PRE>
+public <A HREF="../../../../org/objectstyle/cayenne/event/EventManager.html"
title="class in org.objectstyle.cayenne.event">EventManager</A>
<B>getEventManager</B>()</PRE>
+<DL>
+<DD>Returns EventManager used by this DataDomain.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A
HREF="../../../../org/objectstyle/cayenne/DataChannel.html#getEventManager()">getEventManager</A></CODE>
in interface <CODE><A
HREF="../../../../org/objectstyle/cayenne/DataChannel.html" title="interface in
org.objectstyle.cayenne">DataChannel</A></CODE></DL>
+</DD>
+<DD><DL>
+<DT><B>Since:</B></DT>
+ <DD>1.2</DD>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setEventManager(org.objectstyle.cayenne.event.EventManager)"><!--
--></A><H3>
+setEventManager</H3>
+<PRE>
+public void <B>setEventManager</B>(<A
HREF="../../../../org/objectstyle/cayenne/event/EventManager.html" title="class
in org.objectstyle.cayenne.event">EventManager</A> eventManager)</PRE>
+<DL>
+<DD>Sets EventManager used by this DataDomain.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Since:</B></DT>
+ <DD>1.2</DD>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getName()"><!-- --></A><H3>
+getName</H3>
+<PRE>
+public java.lang.String <B>getName</B>()</PRE>
+<DL>
+<DD>Returns "name" property value.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setName(java.lang.String)"><!-- --></A><H3>
+setName</H3>
+<PRE>
+public void <B>setName</B>(java.lang.String name)</PRE>
+<DL>
+<DD>Sets "name" property to a new value.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="isSharedCacheEnabled()"><!-- --></A><H3>
+isSharedCacheEnabled</H3>
+<PRE>
+public boolean <B>isSharedCacheEnabled</B>()</PRE>
+<DL>
+<DD>Returns <code>true</code> if DataContexts produced by this DataDomain are
using
+ shared DataRowStore. Returns <code>false</code> if each DataContext would work
+ with its own DataRowStore.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setSharedCacheEnabled(boolean)"><!-- --></A><H3>
+setSharedCacheEnabled</H3>
+<PRE>
+public void <B>setSharedCacheEnabled</B>(boolean sharedCacheEnabled)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="isValidatingObjectsOnCommit()"><!-- --></A><H3>
+isValidatingObjectsOnCommit</H3>
+<PRE>
+public boolean <B>isValidatingObjectsOnCommit</B>()</PRE>
+<DL>
+<DD>Returns whether child DataContexts default behavior is to perform object
validation
+ before commit is executed.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Since:</B></DT>
+ <DD>1.1</DD>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setValidatingObjectsOnCommit(boolean)"><!-- --></A><H3>
+setValidatingObjectsOnCommit</H3>
+<PRE>
+public void <B>setValidatingObjectsOnCommit</B>(boolean flag)</PRE>
+<DL>
+<DD>Sets the property defining whether child DataContexts should perform object
+ validation before commit is executed.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Since:</B></DT>
+ <DD>1.1</DD>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="isUsingExternalTransactions()"><!-- --></A><H3>
+isUsingExternalTransactions</H3>
+<PRE>
+public boolean <B>isUsingExternalTransactions</B>()</PRE>
+<DL>
+<DD>Returns whether this DataDomain should internally commit all transactions,
or let
+ container do that.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Since:</B></DT>
+ <DD>1.1</DD>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setUsingExternalTransactions(boolean)"><!-- --></A><H3>
+setUsingExternalTransactions</H3>
+<PRE>
+public void <B>setUsingExternalTransactions</B>(boolean flag)</PRE>
+<DL>
+<DD>Sets a property defining whether this DataDomain should internally commit
all
+ transactions, or let container do that.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Since:</B></DT>
+ <DD>1.1</DD>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getProperties()"><!-- --></A><H3>
+getProperties</H3>
+<PRE>
+public java.util.Map <B>getProperties</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>a Map of properties for this DataDomain. There is no
guarantees of specific
+ synchronization behavior of this map.<DT><B>Since:</B></DT>
+ <DD>1.1</DD>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getTransactionDelegate()"><!-- --></A><H3>
+getTransactionDelegate</H3>
+<PRE>
+public <A
HREF="../../../../org/objectstyle/cayenne/access/TransactionDelegate.html"
title="interface in org.objectstyle.cayenne.access">TransactionDelegate</A>
<B>getTransactionDelegate</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>TransactionDelegate associated with this DataDomain, or
null if no delegate
+ exist.<DT><B>Since:</B></DT>
+ <DD>1.1</DD>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A
NAME="setTransactionDelegate(org.objectstyle.cayenne.access.TransactionDelegate)"><!--
--></A><H3>
+setTransactionDelegate</H3>
+<PRE>
+public void <B>setTransactionDelegate</B>(<A
HREF="../../../../org/objectstyle/cayenne/access/TransactionDelegate.html"
title="interface in
org.objectstyle.cayenne.access">TransactionDelegate</A> transactionDelegate)</PRE>
+<DL>
+<DD>Initializes TransactionDelegate used by all DataContexts associated with
this
+ DataDomain.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Since:</B></DT>
+ <DD>1.1</DD>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getSharedSnapshotCache()"><!-- --></A><H3>
+getSharedSnapshotCache</H3>
+<PRE>
+public <A HREF="../../../../org/objectstyle/cayenne/access/DataRowStore.html"
title="class in org.objectstyle.cayenne.access">DataRowStore</A>
<B>getSharedSnapshotCache</B>()</PRE>
+<DL>
+<DD>Returns snapshots cache for this DataDomain, lazily initializing it on the
first
+ call.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A
NAME="setSharedSnapshotCache(org.objectstyle.cayenne.access.DataRowStore)"><!--
--></A><H3>
+setSharedSnapshotCache</H3>
+<PRE>
+public void <B>setSharedSnapshotCache</B>(<A
HREF="../../../../org/objectstyle/cayenne/access/DataRowStore.html"
title="class in
org.objectstyle.cayenne.access">DataRowStore</A> snapshotCache)</PRE>
+<DL>
+<DD>Shuts down the previous cache instance, sets cache to the new DataSowStore
instance
+ and updates two properties of the new DataSowStore: name and eventManager.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getDataContextFactory()"><!-- --></A><H3>
+getDataContextFactory</H3>
+<PRE>
+public <A
HREF="../../../../org/objectstyle/cayenne/access/DataContextFactory.html"
title="interface in org.objectstyle.cayenne.access">DataContextFactory</A>
<B>getDataContextFactory</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A
NAME="setDataContextFactory(org.objectstyle.cayenne.access.DataContextFactory)"><!--
--></A><H3>
+setDataContextFactory</H3>
+<PRE>
+public void <B>setDataContextFactory</B>(<A
HREF="../../../../org/objectstyle/cayenne/access/DataContextFactory.html"
title="interface in
org.objectstyle.cayenne.access">DataContextFactory</A> dataContextFactory)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addMap(org.objectstyle.cayenne.map.DataMap)"><!-- --></A><H3>
+addMap</H3>
+<PRE>
+public void <B>addMap</B>(<A
HREF="../../../../org/objectstyle/cayenne/map/DataMap.html" title="class in
org.objectstyle.cayenne.map">DataMap</A> map)</PRE>
+<DL>
+<DD>Registers new DataMap with this domain.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getMap(java.lang.String)"><!-- --></A><H3>
+getMap</H3>
+<PRE>
+public <A HREF="../../../../org/objectstyle/cayenne/map/DataMap.html"
title="class in org.objectstyle.cayenne.map">DataMap</A>
<B>getMap</B>(java.lang.String mapName)</PRE>
+<DL>
+<DD>Returns DataMap matching <code>name</code> parameter.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="removeMap(java.lang.String)"><!-- --></A><H3>
+removeMap</H3>
+<PRE>
+public void <B>removeMap</B>(java.lang.String mapName)</PRE>
+<DL>
+<DD>Removes named DataMap from this DataDomain and any underlying DataNodes
that
+ include it.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="removeDataNode(java.lang.String)"><!-- --></A><H3>
+removeDataNode</H3>
+<PRE>
+public void <B>removeDataNode</B>(java.lang.String nodeName)</PRE>
+<DL>
+<DD>Removes a DataNode from DataDomain. Any maps previously associated with
this node
+ within domain will still be kept around, however they wan't be mapped to any
node.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getDataMaps()"><!-- --></A><H3>
+getDataMaps</H3>
+<PRE>
+public java.util.Collection <B>getDataMaps</B>()</PRE>
+<DL>
+<DD>Returns a collection of registered DataMaps.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A
HREF="../../../../org/objectstyle/cayenne/access/QueryEngine.html#getDataMaps()">getDataMaps</A></CODE>
in interface <CODE><A
HREF="../../../../org/objectstyle/cayenne/access/QueryEngine.html"
title="interface in org.objectstyle.cayenne.access">QueryEngine</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getDataNodes()"><!-- --></A><H3>
+getDataNodes</H3>
+<PRE>
+public java.util.Collection <B>getDataNodes</B>()</PRE>
+<DL>
+<DD>Returns an unmodifiable collection of DataNodes associated with this
domain.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="reset()"><!-- --></A><H3>
+reset</H3>
+<PRE>
+public void <B>reset</B>()</PRE>
+<DL>
+<DD>Closes all data nodes, removes them from the list of available nodes.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="clearDataMaps()"><!-- --></A><H3>
+clearDataMaps</H3>
+<PRE>
+public void <B>clearDataMaps</B>()</PRE>
+<DL>
+<DD>Clears the list of internal DataMaps. In most cases it is wise to call
"reset"
+ before doing that.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addNode(org.objectstyle.cayenne.access.DataNode)"><!-- --></A><H3>
+addNode</H3>
+<PRE>
+public void <B>addNode</B>(<A
HREF="../../../../org/objectstyle/cayenne/access/DataNode.html" title="class in
org.objectstyle.cayenne.access">DataNode</A> node)</PRE>
+<DL>
+<DD>Adds new DataNode.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="createDataContext()"><!-- --></A><H3>
+createDataContext</H3>
+<PRE>
+public <A HREF="../../../../org/objectstyle/cayenne/access/DataContext.html"
title="class in org.objectstyle.cayenne.access">DataContext</A>
<B>createDataContext</B>()</PRE>
+<DL>
+<DD>Creates and returns a new DataContext. If this DataDomain is configured to
use
+ shared cache, returned DataContext will use shared cache as well. Otherwise a
new
+ instance of DataRowStore will be used as its local cache.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="createDataContext(boolean)"><!-- --></A><H3>
+createDataContext</H3>
+<PRE>
+public <A HREF="../../../../org/objectstyle/cayenne/access/DataContext.html"
title="class in org.objectstyle.cayenne.access">DataContext</A>
<B>createDataContext</B>(boolean useSharedCache)</PRE>
+<DL>
+<DD>Creates a new DataContext.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>useSharedCache</CODE> - determines whether
resulting DataContext should use shared
+ vs. local cache. This setting overrides default behavior
configured for
+ this DataDomain via <A
HREF="../../../../org/objectstyle/cayenne/access/DataDomain.html#SHARED_CACHE_ENABLED_PROPERTY"><CODE>SHARED_CACHE_ENABLED_PROPERTY</CODE></A>.<DT><B>Since:</B></DT>
+ <DD>1.1</DD>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="createTransaction()"><!-- --></A><H3>
+createTransaction</H3>
+<PRE>
+public <A HREF="../../../../org/objectstyle/cayenne/access/Transaction.html"
title="class in org.objectstyle.cayenne.access">Transaction</A>
<B>createTransaction</B>()</PRE>
+<DL>
+<DD>Creates and returns a new inactive transaction. Returned transaction is
bound to
+ the current execution thread.
+ <p>
+ If there is a TransactionDelegate, adds the delegate to the newly created
+ Transaction. Behavior of the returned Transaction depends on
+ "usingInternalTransactions" property setting.
+ </p>
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Since:</B></DT>
+ <DD>1.1</DD>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getNode(java.lang.String)"><!-- --></A><H3>
+getNode</H3>
+<PRE>
+public <A HREF="../../../../org/objectstyle/cayenne/access/DataNode.html"
title="class in org.objectstyle.cayenne.access">DataNode</A>
<B>getNode</B>(java.lang.String nodeName)</PRE>
+<DL>
+<DD>Returns registered DataNode whose name matches <code>name</code> parameter.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="reindexNodes()"><!-- --></A><H3>
+reindexNodes</H3>
+<PRE>
+public void <B>reindexNodes</B>()</PRE>
+<DL>
+<DD>Updates internal index of DataNodes stored by the entity name.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="lookupDataNode(org.objectstyle.cayenne.map.DataMap)"><!-- --></A><H3>
+lookupDataNode</H3>
+<PRE>
+public <A HREF="../../../../org/objectstyle/cayenne/access/DataNode.html"
title="class in org.objectstyle.cayenne.access">DataNode</A>
<B>lookupDataNode</B>(<A
HREF="../../../../org/objectstyle/cayenne/map/DataMap.html" title="class in
org.objectstyle.cayenne.map">DataMap</A> map)</PRE>
+<DL>
+<DD>Returns a DataNode that should handle queries for all entities in a
DataMap.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A
HREF="../../../../org/objectstyle/cayenne/access/QueryEngine.html#lookupDataNode(org.objectstyle.cayenne.map.DataMap)">lookupDataNode</A></CODE>
in interface <CODE><A
HREF="../../../../org/objectstyle/cayenne/access/QueryEngine.html"
title="interface in org.objectstyle.cayenne.access">QueryEngine</A></CODE></DL>
+</DD>
+<DD><DL>
+<DT><B>Since:</B></DT>
+ <DD>1.1</DD>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="performQueries(java.util.Collection,
org.objectstyle.cayenne.access.OperationObserver,
org.objectstyle.cayenne.access.Transaction)"><!-- --></A><H3>
+performQueries</H3>
+<PRE>
+public void <B>performQueries</B>(java.util.Collection queries,
+ <A
HREF="../../../../org/objectstyle/cayenne/access/OperationObserver.html"
title="interface in
org.objectstyle.cayenne.access">OperationObserver</A> callback,
+ <A
HREF="../../../../org/objectstyle/cayenne/access/Transaction.html" title="class
in org.objectstyle.cayenne.access">Transaction</A> transaction)</PRE>
+<DL>
+<DD><B>Deprecated.</B> <I>since 1.2, as the corresponding interface
method is deprecated.</I>
+<P>
+<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/objectstyle/cayenne/access/QueryEngine.html#performQueries(java.util.Collection,
org.objectstyle.cayenne.access.OperationObserver,
org.objectstyle.cayenne.access.Transaction)">QueryEngine</A></CODE></B></DD>
+<DD>Executes queries in the transactional context provided by the caller. It is
+ caller's responsibility to commit or rollback the Transaction and close any
+ connections that were added to it.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A
HREF="../../../../org/objectstyle/cayenne/access/QueryEngine.html#performQueries(java.util.Collection,
org.objectstyle.cayenne.access.OperationObserver,
org.objectstyle.cayenne.access.Transaction)">performQueries</A></CODE> in
interface <CODE><A
HREF="../../../../org/objectstyle/cayenne/access/QueryEngine.html"
title="interface in org.objectstyle.cayenne.access">QueryEngine</A></CODE></DL>
+</DD>
+<DD><DL>
+<DT><B>Since:</B></DT>
+ <DD>1.1</DD>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setEntityResolver(org.objectstyle.cayenne.map.EntityResolver)"><!--
--></A><H3>
+setEntityResolver</H3>
+<PRE>
+public void <B>setEntityResolver</B>(<A
HREF="../../../../org/objectstyle/cayenne/map/EntityResolver.html" title="class
in org.objectstyle.cayenne.map">EntityResolver</A> entityResolver)</PRE>
+<DL>
+<DD>Sets EntityResolver. If not set explicitly, DataDomain creates a default
+ EntityResolver internally on demand.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Since:</B></DT>
+ <DD>1.1</DD>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getPrimaryKeyHelper()"><!-- --></A><H3>
+getPrimaryKeyHelper</H3>
+<PRE>
+public <A
HREF="../../../../org/objectstyle/cayenne/access/util/PrimaryKeyHelper.html"
title="class in org.objectstyle.cayenne.access.util">PrimaryKeyHelper</A>
<B>getPrimaryKeyHelper</B>()</PRE>
+<DL>
+<DD><B>Deprecated.</B> <I>unused since 1.2</I>
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>PrimaryKeyHelper</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="shutdown()"><!-- --></A><H3>
+shutdown</H3>
+<PRE>
+public void <B>shutdown</B>()</PRE>
+<DL>
+<DD>Shutdowns all owned data nodes. Invokes DataNode.shutdown().
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="performQueries(java.util.Collection,
org.objectstyle.cayenne.access.OperationObserver)"><!-- --></A><H3>
+performQueries</H3>
+<PRE>
+public void <B>performQueries</B>(java.util.Collection queries,
+ <A
HREF="../../../../org/objectstyle/cayenne/access/OperationObserver.html"
title="interface in
org.objectstyle.cayenne.access">OperationObserver</A> callback)</PRE>
+<DL>
+<DD>Routes queries to appropriate DataNodes for execution.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A
HREF="../../../../org/objectstyle/cayenne/access/QueryEngine.html#performQueries(java.util.Collection,
org.objectstyle.cayenne.access.OperationObserver)">performQueries</A></CODE>
in interface <CODE><A
HREF="../../../../org/objectstyle/cayenne/access/QueryEngine.html"
title="interface in org.objectstyle.cayenne.access">QueryEngine</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="onQuery(org.objectstyle.cayenne.ObjectContext,
org.objectstyle.cayenne.query.Query)"><!-- --></A><H3>
+onQuery</H3>
+<PRE>
+public <A HREF="../../../../org/objectstyle/cayenne/QueryResponse.html"
title="interface in org.objectstyle.cayenne">QueryResponse</A>
<B>onQuery</B>(<A HREF="../../../../org/objectstyle/cayenne/ObjectContext.html"
title="interface in org.objectstyle.cayenne">ObjectContext</A> context,
+ <A
HREF="../../../../org/objectstyle/cayenne/query/Query.html" title="interface in
org.objectstyle.cayenne.query">Query</A> query)</PRE>
+<DL>
+<DD>Runs query returning generic QueryResponse.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A
HREF="../../../../org/objectstyle/cayenne/DataChannel.html#onQuery(org.objectstyle.cayenne.ObjectContext,
org.objectstyle.cayenne.query.Query)">onQuery</A></CODE> in interface <CODE><A
HREF="../../../../org/objectstyle/cayenne/DataChannel.html" title="interface in
org.objectstyle.cayenne">DataChannel</A></CODE></DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>context</CODE> - an ObjectContext that
originated the query, used to
+ register result objects.
+<DT><B>Returns:</B><DD>a generic response object that encapsulates result of
the execution.<DT><B>Since:</B></DT>
+ <DD>1.2</DD>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getEntityResolver()"><!-- --></A><H3>
+getEntityResolver</H3>
+<PRE>
+public <A HREF="../../../../org/objectstyle/cayenne/map/EntityResolver.html"
title="class in org.objectstyle.cayenne.map">EntityResolver</A>
<B>getEntityResolver</B>()</PRE>
+<DL>
+<DD>Returns an EntityResolver that stores mapping information for this domain.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A
HREF="../../../../org/objectstyle/cayenne/access/QueryEngine.html#getEntityResolver()">getEntityResolver</A></CODE>
in interface <CODE><A
HREF="../../../../org/objectstyle/cayenne/access/QueryEngine.html"
title="interface in
org.objectstyle.cayenne.access">QueryEngine</A></CODE><DT><B>Specified
by:</B><DD><CODE><A
HREF="../../../../org/objectstyle/cayenne/DataChannel.html#getEntityResolver()">getEntityResolver</A></CODE>
in interface <CODE><A
HREF="../../../../org/objectstyle/cayenne/DataChannel.html" title="interface in
org.objectstyle.cayenne">DataChannel</A></CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="onSync(org.objectstyle.cayenne.ObjectContext,
org.objectstyle.cayenne.graph.GraphDiff, int)"><!-- --></A><H3>
+onSync</H3>
+<PRE>
+public <A HREF="../../../../org/objectstyle/cayenne/graph/GraphDiff.html"
title="interface in org.objectstyle.cayenne.graph">GraphDiff</A>
<B>onSync</B>(<A HREF="../../../../org/objectstyle/cayenne/ObjectContext.html"
title="interface in
org.objectstyle.cayenne">ObjectContext</A> originatingContext,
+ <A
HREF="../../../../org/objectstyle/cayenne/graph/GraphDiff.html"
title="interface in org.objectstyle.cayenne.graph">GraphDiff</A> changes,
+ int syncType)</PRE>
+<DL>
+<DD>Only handles commit-type synchronization, ignoring any other type.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A
HREF="../../../../org/objectstyle/cayenne/DataChannel.html#onSync(org.objectstyle.cayenne.ObjectContext,
org.objectstyle.cayenne.graph.GraphDiff, int)">onSync</A></CODE> in interface
<CODE><A HREF="../../../../org/objectstyle/cayenne/DataChannel.html"
title="interface in org.objectstyle.cayenne">DataChannel</A></CODE></DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>originatingContext</CODE> - an ObjectContext
that initiated the sync. Can be null.<DD><CODE>changes</CODE> - diff from the
context that initiated the sync.<DD><CODE>syncType</CODE> - One of <A
HREF="../../../../org/objectstyle/cayenne/DataChannel.html#FLUSH_NOCASCADE_SYNC"><CODE>DataChannel.FLUSH_NOCASCADE_SYNC</CODE></A>,
<A
HREF="../../../../org/objectstyle/cayenne/DataChannel.html#FLUSH_CASCADE_SYNC"><CODE>DataChannel.FLUSH_CASCADE_SYNC</CODE></A>,
+ <A
HREF="../../../../org/objectstyle/cayenne/DataChannel.html#ROLLBACK_CASCADE_SYNC"><CODE>DataChannel.ROLLBACK_CASCADE_SYNC</CODE></A>.<DT><B>Since:</B></DT>
+ <DD>1.2</DD>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="toString()"><!-- --></A><H3>
+toString</H3>
+<PRE>
+public java.lang.String <B>toString</B>()</PRE>
+<DL>
+<DD><DL>
+<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class
<CODE>java.lang.Object</CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A
HREF="../../../../org/objectstyle/cayenne/access/DataContextFactory.html"
title="interface in org.objectstyle.cayenne.access"><B>PREV CLASS</B></A>
+ <A
HREF="../../../../org/objectstyle/cayenne/access/DataDomainLegacyQueryAction.html"
title="class in org.objectstyle.cayenne.access"><B>NEXT
CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A
HREF="../../../../index.html?org/objectstyle/cayenne/access/DataDomain.html"
target="_top"><B>FRAMES</B></A>
+ <A HREF="DataDomain.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All
Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A
HREF="#field_summary">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+ <!--@SFLOGO@--> <i>Copyright
© 2001-2006 <a href=
+ "http://objectstyle.org"
target="_top">ObjectStyle.org</a> All Rights Reserved.</i>
+
+</BODY>
+</HTML>