summaryrefslogtreecommitdiffstats
path: root/site/branches/site-20060730-mvnbased/src/site/resources/javadoc/tuscany-das-rdb/org/apache/tuscany/das/rdb/ApplyChangesCommand.html
diff options
context:
space:
mode:
Diffstat (limited to 'site/branches/site-20060730-mvnbased/src/site/resources/javadoc/tuscany-das-rdb/org/apache/tuscany/das/rdb/ApplyChangesCommand.html')
-rw-r--r--site/branches/site-20060730-mvnbased/src/site/resources/javadoc/tuscany-das-rdb/org/apache/tuscany/das/rdb/ApplyChangesCommand.html343
1 files changed, 343 insertions, 0 deletions
diff --git a/site/branches/site-20060730-mvnbased/src/site/resources/javadoc/tuscany-das-rdb/org/apache/tuscany/das/rdb/ApplyChangesCommand.html b/site/branches/site-20060730-mvnbased/src/site/resources/javadoc/tuscany-das-rdb/org/apache/tuscany/das/rdb/ApplyChangesCommand.html
new file mode 100644
index 0000000000..3eb975f2a0
--- /dev/null
+++ b/site/branches/site-20060730-mvnbased/src/site/resources/javadoc/tuscany-das-rdb/org/apache/tuscany/das/rdb/ApplyChangesCommand.html
@@ -0,0 +1,343 @@
+<!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 Mon May 15 07:32:40 EDT 2006 -->
+<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<TITLE>
+ApplyChangesCommand (Tuscany DAS for Relational Databases incubating-M1 API)
+</TITLE>
+
+<META NAME="keywords" CONTENT="org.apache.tuscany.das.rdb.ApplyChangesCommand interface">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="ApplyChangesCommand (Tuscany DAS for Relational Databases incubating-M1 API)";
+}
+</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>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ApplyChangesCommand.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+Tuscany DAS for Relational Databases</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;PREV CLASS&nbsp;
+&nbsp;<A HREF="../../../../../org/apache/tuscany/das/rdb/Command.html" title="interface in org.apache.tuscany.das.rdb"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../../index.html?org/apache/tuscany/das/rdb/ApplyChangesCommand.html" target="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="ApplyChangesCommand.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
+&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<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.apache.tuscany.das.rdb</FONT>
+<BR>
+Interface ApplyChangesCommand</H2>
+<DL>
+<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../org/apache/tuscany/das/rdb/impl/ApplyChangesCommandImpl.html" title="class in org.apache.tuscany.das.rdb.impl">ApplyChangesCommandImpl</A></DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public interface <B>ApplyChangesCommand</B></DL>
+</PRE>
+
+<P>
+An ApplyChangesCommand is used to flush the changes associated with a
+ modified graph of DataObjects to a database.
+<P>
+
+<P>
+<HR>
+
+<P>
+
+<!-- ========== 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>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/tuscany/das/rdb/ApplyChangesCommand.html#addCreateCommand(commonj.sdo.Type, org.apache.tuscany.das.rdb.Command)">addCreateCommand</A></B>(commonj.sdo.Type&nbsp;type,
+ <A HREF="../../../../../org/apache/tuscany/das/rdb/Command.html" title="interface in org.apache.tuscany.das.rdb">Command</A>&nbsp;cmd)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a user-provided create command.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/tuscany/das/rdb/ApplyChangesCommand.html#addDeleteCommand(commonj.sdo.Type, org.apache.tuscany.das.rdb.Command)">addDeleteCommand</A></B>(commonj.sdo.Type&nbsp;type,
+ <A HREF="../../../../../org/apache/tuscany/das/rdb/Command.html" title="interface in org.apache.tuscany.das.rdb">Command</A>&nbsp;cmd)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a user-provided delete command.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/tuscany/das/rdb/ApplyChangesCommand.html#addUpdateCommand(commonj.sdo.Type, org.apache.tuscany.das.rdb.Command)">addUpdateCommand</A></B>(commonj.sdo.Type&nbsp;type,
+ <A HREF="../../../../../org/apache/tuscany/das/rdb/Command.html" title="interface in org.apache.tuscany.das.rdb">Command</A>&nbsp;cmd)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a user-provided update command.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/tuscany/das/rdb/ApplyChangesCommand.html#execute(commonj.sdo.DataObject)">execute</A></B>(commonj.sdo.DataObject&nbsp;root)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The change history is scanned and modifications to the graph of data
+ objects are flushed to the database.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/tuscany/das/rdb/ApplyChangesCommand.html#setConnection(java.sql.Connection)">setConnection</A></B>(java.sql.Connection&nbsp;connection)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides the java.sql.Connection to be used for this executing this
+ command.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/tuscany/das/rdb/ApplyChangesCommand.html#setConnection(java.sql.Connection, boolean)">setConnection</A></B>(java.sql.Connection&nbsp;connection,
+ boolean&nbsp;manageTransactions)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides the java.sql.Connection to be used for this executing this
+ command.</TD>
+</TR>
+</TABLE>
+&nbsp;
+<P>
+
+<!-- ============ 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="addUpdateCommand(commonj.sdo.Type, org.apache.tuscany.das.rdb.Command)"><!-- --></A><H3>
+addUpdateCommand</H3>
+<PRE>
+void <B>addUpdateCommand</B>(commonj.sdo.Type&nbsp;type,
+ <A HREF="../../../../../org/apache/tuscany/das/rdb/Command.html" title="interface in org.apache.tuscany.das.rdb">Command</A>&nbsp;cmd)</PRE>
+<DL>
+<DD>Adds a user-provided update command. In the absence of a user-provided
+ command, the DAS will generate one. However this alternative may make
+ sense if the user requires a SQL statement different from what the DAS
+ generates.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>type</CODE> - The DataObject type this command applys to<DD><CODE>cmd</CODE> - The Command used to UPDATE data objects of the specified type</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addCreateCommand(commonj.sdo.Type, org.apache.tuscany.das.rdb.Command)"><!-- --></A><H3>
+addCreateCommand</H3>
+<PRE>
+void <B>addCreateCommand</B>(commonj.sdo.Type&nbsp;type,
+ <A HREF="../../../../../org/apache/tuscany/das/rdb/Command.html" title="interface in org.apache.tuscany.das.rdb">Command</A>&nbsp;cmd)</PRE>
+<DL>
+<DD>Adds a user-provided create command. In the absence of a user-provided
+ command, the DAS will generate one. However this alternative may make
+ sense if the user requires a SQL statement different from what the DAS
+ generates.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>type</CODE> - The DataObject type this command applys to<DD><CODE>cmd</CODE> - The Command used to INSERT data objects of the specified type</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addDeleteCommand(commonj.sdo.Type, org.apache.tuscany.das.rdb.Command)"><!-- --></A><H3>
+addDeleteCommand</H3>
+<PRE>
+void <B>addDeleteCommand</B>(commonj.sdo.Type&nbsp;type,
+ <A HREF="../../../../../org/apache/tuscany/das/rdb/Command.html" title="interface in org.apache.tuscany.das.rdb">Command</A>&nbsp;cmd)</PRE>
+<DL>
+<DD>Adds a user-provided delete command. In the absence of a user-provided
+ command, the DAS will generate one. However this alternative may make
+ sense if the user requires a SQL statement different from what the DAS
+ generates.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>type</CODE> - The DataObject type this command applys to<DD><CODE>cmd</CODE> - The Command used to DELETE data objects of the specified type</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="execute(commonj.sdo.DataObject)"><!-- --></A><H3>
+execute</H3>
+<PRE>
+void <B>execute</B>(commonj.sdo.DataObject&nbsp;root)</PRE>
+<DL>
+<DD>The change history is scanned and modifications to the graph of data
+ objects are flushed to the database.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>root</CODE> - the topmost containing data object</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setConnection(java.sql.Connection)"><!-- --></A><H3>
+setConnection</H3>
+<PRE>
+void <B>setConnection</B>(java.sql.Connection&nbsp;connection)</PRE>
+<DL>
+<DD>Provides the java.sql.Connection to be used for this executing this
+ command.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>connection</CODE> - the java.sql.Connection</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setConnection(java.sql.Connection, boolean)"><!-- --></A><H3>
+setConnection</H3>
+<PRE>
+void <B>setConnection</B>(java.sql.Connection&nbsp;connection,
+ boolean&nbsp;manageTransactions)</PRE>
+<DL>
+<DD>Provides the java.sql.Connection to be used for this executing this
+ command.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>connection</CODE> - the java.sql.Connection<DD><CODE>manageTransactions</CODE> - <code>true</code> if the DAS should perform tx
+ commit/rollback</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>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ApplyChangesCommand.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+Tuscany DAS for Relational Databases</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;PREV CLASS&nbsp;
+&nbsp;<A HREF="../../../../../org/apache/tuscany/das/rdb/Command.html" title="interface in org.apache.tuscany.das.rdb"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../../index.html?org/apache/tuscany/das/rdb/ApplyChangesCommand.html" target="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="ApplyChangesCommand.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
+&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+-
+</BODY>
+</HTML>