|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides a Repository of available FeatureTypes allowing Catalog metadata queries.
Currently GeoServer is providing requirements:
Method Summary | |
java.util.Map |
getDataStores()
Access to the DataStores registed to this Catalog. |
java.util.SortedMap |
getFeatureSources()
All FeatureSources by typeRef ( aka dataStoreId:typeName) |
java.util.Set |
getPrefixes()
Retrieve Set of Namespaces prefixes registered by DataStores in this Catalog. |
boolean |
lockExists(java.lang.String lockID)
Tests if a lock exists in this Catalog. |
boolean |
lockRefresh(java.lang.String lockID,
Transaction transaction)
Refresh feature lock as indicated by the WFS locking specification. |
boolean |
lockRelease(java.lang.String lockID,
Transaction transaction)
Release feature lock by lockID. |
FeatureSource |
source(java.lang.String dataStoreId,
java.lang.String typeName)
FeatureSoruce access. |
Method Detail |
public java.util.SortedMap getFeatureSources()
public java.util.Set getPrefixes() throws java.io.IOException
Namespace seems to be the gml prefix used when writing out GML. We may need to promote this to a "first class" object.
GeoServer maintains the following information in a NamespaceInfo object:
GeoServer global.Data implements this interface. You may use the namespace strings returned by this method to look up NamespaceInfo objets by prefix.
java.io.IOException
public FeatureSource source(java.lang.String dataStoreId, java.lang.String typeName) throws java.io.IOException
dataStoreId
- typeName
-
java.io.IOException
public java.util.Map getDataStores()
public boolean lockRefresh(java.lang.String lockID, Transaction transaction) throws java.io.IOException
Refresh the indicated locks for each each DataStore managed by this Catalog.
lockID
- Authorization identifing locktransaction
- Transaction with authorization for lock
java.io.IOException
- If a problem occurspublic boolean lockRelease(java.lang.String lockID, Transaction transaction) throws java.io.IOException
Release the indicated locks for each each DataStore managed by this Catalog.
lockID
- Authorization identifing locktransaction
- Transaction with authorization for lock
java.io.IOException
- If a problem occurspublic boolean lockExists(java.lang.String lockID)
This method will search all the DataStores to see if the indicated lock exists.
lockID
- Authorization identifing lock
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |