📄 hsqltransactionstatediff.html
字号:
<PRE>public <B>HsqlTransactionStateDiff</B>(<A HREF="../../../../org/geotools/data/hsql/HsqlDataStore.html" title="class in org.geotools.data.hsql">HsqlDataStore</A> dataStore, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> connection) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="setTransaction(org.geotools.data.Transaction)"><!-- --></A><H3>setTransaction</H3><PRE>public void <B>setTransaction</B>(<A HREF="../../../../org/geotools/data/Transaction.html" title="interface in org.geotools.data">Transaction</A> transaction)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/data/Transaction.State.html" title="interface in org.geotools.data">Transaction.State</A></CODE></B></DD><DD>Provides configuration information for Transaction.State <p> setTransaction is called with non null <code>transaction</code> when Transaction.State is <code>putState</code> into a Transaction. This tranasction will be used to determine correct event notification. </p> <p> setTransaction is called with <code>null</code> when removeState is called (usually during Transaction.close() ). </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/Transaction.State.html#setTransaction(org.geotools.data.Transaction)">setTransaction</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/Transaction.State.html" title="interface in org.geotools.data">Transaction.State</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCTransactionState.html#setTransaction(org.geotools.data.Transaction)">setTransaction</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCTransactionState.html" title="class in org.geotools.data.jdbc">JDBCTransactionState</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>transaction</CODE> - <DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/Transaction.State.html#setTransaction(org.geotools.data.Transaction)"><CODE>Transaction.State.setTransaction(org.geotools.data.Transaction)</CODE></A></DL></DD></DL><HR><A NAME="diff(java.lang.String)"><!-- --></A><H3>diff</H3><PRE>public <A HREF="../../../../org/geotools/data/Diff.html" title="class in org.geotools.data">Diff</A> <B>diff</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> typeName) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="addAuthorization(java.lang.String)"><!-- --></A><H3>addAuthorization</H3><PRE>public void <B>addAuthorization</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> AuthID) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/data/Transaction.State.html" title="interface in org.geotools.data">Transaction.State</A></CODE></B></DD><DD>Call back used for Transaction.setAuthorization()<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/Transaction.State.html#addAuthorization(java.lang.String)">addAuthorization</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/Transaction.State.html" title="interface in org.geotools.data">Transaction.State</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCTransactionState.html#addAuthorization(java.lang.String)">addAuthorization</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCTransactionState.html" title="class in org.geotools.data.jdbc">JDBCTransactionState</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>AuthID</CODE> - <DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/Transaction.State.html#addAuthorization(java.lang.String)"><CODE>Transaction.State.addAuthorization(java.lang.String)</CODE></A></DL></DD></DL><HR><A NAME="commit()"><!-- --></A><H3>commit</H3><PRE>public void <B>commit</B>() throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Will apply differences to store.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/Transaction.State.html#commit()">commit</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/Transaction.State.html" title="interface in org.geotools.data">Transaction.State</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCTransactionState.html#commit()">commit</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCTransactionState.html" title="class in org.geotools.data.jdbc">JDBCTransactionState</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/Transaction.State.html#commit()"><CODE>Transaction.State.commit()</CODE></A></DL></DD></DL><HR><A NAME="rollback()"><!-- --></A><H3>rollback</H3><PRE>public void <B>rollback</B>() throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/data/Transaction.State.html" title="interface in org.geotools.data">Transaction.State</A></CODE></B></DD><DD>Call back used for Transaction.rollback()<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/Transaction.State.html#rollback()">rollback</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/Transaction.State.html" title="interface in org.geotools.data">Transaction.State</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCTransactionState.html#rollback()">rollback</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCTransactionState.html" title="class in org.geotools.data.jdbc">JDBCTransactionState</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/Transaction.State.html#rollback()"><CODE>Transaction.State.rollback()</CODE></A></DL></DD></DL><HR><A NAME="reader(java.lang.String)"><!-- --></A><H3>reader</H3><PRE>public <A HREF="../../../../org/geotools/data/FeatureReader.html" title="interface in org.geotools.data">FeatureReader</A> <B>reader</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> typeName) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Convience Method for a Transaction based FeatureReader. <p> Constructs a DiffFeatureReader that works against this Transaction. </p><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>typeName</CODE> - TypeName to aquire a Reader on<DT><B>Returns:</B><DD>FeatureReader the mask orgional contents with against the current Differences recorded by the Tansasction State<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If typeName is not Manged by this Tansaction State</DL></DD></DL><HR><A NAME="writer(java.lang.String, org.geotools.filter.Filter)"><!-- --></A><H3>writer</H3><PRE>public <A HREF="../../../../org/geotools/data/FeatureWriter.html" title="interface in org.geotools.data">FeatureWriter</A> <B>writer</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> typeName, <A HREF="../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> filter) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Convience Method for a Transaction based FeatureWriter <p> Constructs a DiffFeatureWriter that works against this Transaction. </p><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>typeName</CODE> - Type Name to record differences against<DT><B>Returns:</B><DD>A FeatureWriter that records Differences against a FeatureReader<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If a FeatureRader could not be constucted to record differences against</DL></DD></DL><HR><A NAME="getConnection()"><!-- --></A><H3>getConnection</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> <B>getConnection</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCTransactionState.html" title="class in org.geotools.data.jdbc">JDBCTransactionState</A></CODE></B></DD><DD>Retrive connection for JDBC opperation. <p> This connection may be used to issue JDBC opperations against this transaction. </p> <p> Please do not use: </p> <ul> <li>setAutoCommit()</li> <li>commit()</li> <li>rollback()</li> </ul><P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCTransactionState.html#getConnection()">getConnection</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCTransactionState.html" title="class in org.geotools.data.jdbc">JDBCTransactionState</A></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=3 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="class-use/HsqlTransactionStateDiff.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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-all.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/geotools/data/hsql/HsqlSQLBuilder.html" title="class in org.geotools.data.hsql"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="HsqlTransactionStateDiff.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <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>Copyright © 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -