📄 repository.html
字号:
<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="getFeatureSources()"><!-- --></A><H3>getFeatureSources</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/SortedMap.html" title="class or interface in java.util">SortedMap</A> <B>getFeatureSources</B>()</PRE><DL><DD>All FeatureSources by typeRef ( aka dataStoreId:typeName)<P><DD><DL></DL></DD></DL><HR><A NAME="getPrefixes()"><!-- --></A><H3>getPrefixes</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> <B>getPrefixes</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>Retrieve Set of Namespaces prefixes registered by DataStores in this Catalog. <p> Namespace seems to be the gml prefix used when writing out GML. We may need to promote this to a "first class" object. </p> <p> GeoServer maintains the following information in a NamespaceInfo object: </p> <ul> <li> prefix: uml prefix representing the namespace </li> <li> uri: uri used to reference namespace </li> <li> default: true if this is the "Default" namespace for the Catalog </li> </ul> <p> GeoServer global.Data implements this interface. You may use the namespace strings returned by this method to look up NamespaceInfo objets by prefix. </p><P><DD><DL><DT><B>Returns:</B><DD>Set of available Namespace prefixes.<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="source(java.lang.String, java.lang.String)"><!-- --></A><H3>source</H3><PRE>public <A HREF="../../../org/geotools/data/FeatureSource.html" title="interface in org.geotools.data">FeatureSource</A> <B>source</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> dataStoreId, <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>FeatureSoruce access. </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>dataStoreId</CODE> - <DD><CODE>typeName</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></DL></DD></DL><HR><A NAME="getDataStores()"><!-- --></A><H3>getDataStores</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> <B>getDataStores</B>()</PRE><DL><DD>Access to the DataStores registed to this Catalog.<P><DD><DL><DT><B>Returns:</B><DD>Map of registered dataStoreId:DataStore</DL></DD></DL><HR><A NAME="lockRefresh(java.lang.String, org.geotools.data.Transaction)"><!-- --></A><H3>lockRefresh</H3><PRE>public boolean <B>lockRefresh</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> lockID, <A HREF="../../../org/geotools/data/Transaction.html" title="interface in org.geotools.data">Transaction</A> transaction) 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>Refresh feature lock as indicated by the WFS locking specification. <p> Refresh the indicated locks for each each DataStore managed by this Catalog. </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>lockID</CODE> - Authorization identifing lock<DD><CODE>transaction</CODE> - Transaction with authorization for lock<DT><B>Returns:</B><DD>true if lock was found and refreshed<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 problem occurs</DL></DD></DL><HR><A NAME="lockRelease(java.lang.String, org.geotools.data.Transaction)"><!-- --></A><H3>lockRelease</H3><PRE>public boolean <B>lockRelease</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> lockID, <A HREF="../../../org/geotools/data/Transaction.html" title="interface in org.geotools.data">Transaction</A> transaction) 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>Release feature lock by lockID. <p> Release the indicated locks for each each DataStore managed by this Catalog. </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>lockID</CODE> - Authorization identifing lock<DD><CODE>transaction</CODE> - Transaction with authorization for lock<DT><B>Returns:</B><DD>true if lock was found and released<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 problem occurs</DL></DD></DL><HR><A NAME="lockExists(java.lang.String)"><!-- --></A><H3>lockExists</H3><PRE>public boolean <B>lockExists</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> lockID)</PRE><DL><DD>Tests if a lock exists in this Catalog. <p> This method will search all the DataStores to see if the indicated lock exists. </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>lockID</CODE> - Authorization identifing lock<DT><B>Returns:</B><DD>true if lock was found</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/Repository.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/Query.html" title="interface in org.geotools.data"><B>PREV CLASS</B></A> <A HREF="../../../org/geotools/data/Transaction.html" title="interface in org.geotools.data"><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="Repository.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 | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <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 + -