📄 jdbcfeaturelocking.html
字号:
<DL><DD>Lock all Features<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FeatureLocking.html#lockFeatures()">lockFeatures</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FeatureLocking.html" title="interface in org.geotools.data">FeatureLocking</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Number of Locked features<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/FeatureLocking.html#lockFeatures()"><CODE>FeatureLocking.lockFeatures()</CODE></A></DL></DD></DL><HR><A NAME="lockFeatures(org.geotools.filter.Filter)"><!-- --></A><H3>lockFeatures</H3><PRE>public int <B>lockFeatures</B>(<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>Lock features matching <code>filter</code>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FeatureLocking.html#lockFeatures(org.geotools.filter.Filter)">lockFeatures</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FeatureLocking.html" title="interface in org.geotools.data">FeatureLocking</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>filter</CODE> - <DT><B>Returns:</B><DD>Number of locked Features<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/FeatureLocking.html#lockFeatures(org.geotools.filter.Filter)"><CODE>FeatureLocking.lockFeatures(org.geotools.filter.Filter)</CODE></A></DL></DD></DL><HR><A NAME="lockFeatures(org.geotools.data.Query)"><!-- --></A><H3>lockFeatures</H3><PRE>public int <B>lockFeatures</B>(<A HREF="../../../../org/geotools/data/Query.html" title="interface in org.geotools.data">Query</A> query) 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>Lock features matching Query. <p> FeatureStores that have provided their own locking to will need to override this method. </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FeatureLocking.html#lockFeatures(org.geotools.data.Query)">lockFeatures</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FeatureLocking.html" title="interface in org.geotools.data">FeatureLocking</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>query</CODE> - <DT><B>Returns:</B><DD>Number of locked Features<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> - DOCUMENT ME!<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - DOCUMENT ME!<DD><CODE><A HREF="../../../../org/geotools/data/DataSourceException.html" title="class in org.geotools.data">DataSourceException</A></CODE> - If we have any lock conflicts<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/FeatureLocking.html#lockFeatures(org.geotools.data.Query)"><CODE>FeatureLocking.lockFeatures(org.geotools.data.Query)</CODE></A></DL></DD></DL><HR><A NAME="unLockFeatures()"><!-- --></A><H3>unLockFeatures</H3><PRE>public void <B>unLockFeatures</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>Unlock all Features.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FeatureLocking.html#unLockFeatures()">unLockFeatures</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FeatureLocking.html" title="interface in org.geotools.data">FeatureLocking</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/FeatureLocking.html#unLockFeatures()"><CODE>FeatureLocking.unLockFeatures()</CODE></A></DL></DD></DL><HR><A NAME="unLockFeatures(org.geotools.filter.Filter)"><!-- --></A><H3>unLockFeatures</H3><PRE>public void <B>unLockFeatures</B>(<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>Unlock Features specified by <code>filter</code>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FeatureLocking.html#unLockFeatures(org.geotools.filter.Filter)">unLockFeatures</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FeatureLocking.html" title="interface in org.geotools.data">FeatureLocking</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>filter</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/FeatureLocking.html#unLockFeatures(org.geotools.filter.Filter)"><CODE>FeatureLocking.unLockFeatures(org.geotools.filter.Filter)</CODE></A></DL></DD></DL><HR><A NAME="unLockFeatures(org.geotools.data.Query)"><!-- --></A><H3>unLockFeatures</H3><PRE>public void <B>unLockFeatures</B>(<A HREF="../../../../org/geotools/data/Query.html" title="interface in org.geotools.data">Query</A> query) 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>Unlock features specified by the <code>query</code>. <p> FeatureStores that have provided their own locking to will need to override this method. </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FeatureLocking.html#unLockFeatures(org.geotools.data.Query)">unLockFeatures</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FeatureLocking.html" title="interface in org.geotools.data">FeatureLocking</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>query</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><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - DOCUMENT ME!<DD><CODE><A HREF="../../../../org/geotools/data/DataSourceException.html" title="class in org.geotools.data">DataSourceException</A></CODE> - DOCUMENT ME!<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/FeatureLocking.html#unLockFeatures(org.geotools.data.Query)"><CODE>FeatureLocking.unLockFeatures(org.geotools.data.Query)</CODE></A></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/JDBCFeatureLocking.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/jdbc/JDBCFeatureCollection.html" title="class in org.geotools.data.jdbc"><B>PREV CLASS</B></A> <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureReader.html" title="class in org.geotools.data.jdbc"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="JDBCFeatureLocking.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="#fields_inherited_from_class_JDBCFeatureStore">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: 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 + -