| java.lang.Object org.geotools.data.FeatureSourceRepository
FeatureSourceRepository | public class FeatureSourceRepository implements Repository(Code) | | Another Quick hack of a DataRepository as a bridge to the Opperations api.
This time we are storing by FeatureType, not DataStores will be harned in
the configuration of this class.
author: Jody Garnett |
featuresources | protected SortedMap featuresources(Code) | | Map of FeatuerSource by dataStoreId:typeName
|
datastore | public DataStore datastore(String id)(Code) | | Implement getDataStores.
Description ...
See Also: org.geotools.data.Catalog.getDataStores(java.lang.String) Parameters: id - |
getDataStores | public Map getDataStores()(Code) | | Access to the set of registered DataStores.
The provided Set may not be modified :-)
See Also: org.geotools.data.Catalog.getDataStores(java.lang.String) |
getFeatureSources | public SortedMap getFeatureSources()(Code) | | All FeatureTypes by dataStoreId:typeName
|
getPrefixes | public Set getPrefixes() throws IOException(Code) | | Retrieve prefix set.
See Also: org.geotools.data.Catalog.getPrefixes Set of namespace prefixes throws: IOException - |
lockExists | public boolean lockExists(String lockID)(Code) | | Implement lockExists.
See Also: org.geotools.data.Catalog.lockExists(java.lang.String) Parameters: lockID - |
lockRefresh | public boolean lockRefresh(String lockID, Transaction transaction) throws IOException(Code) | | Implement lockRefresh.
Currently it is an error if the lockID is not found. Because if
we can't find it we cannot refresh it.
Since locks are time sensitive it is impossible to check
if a lockExists and then be sure it will still exist when you try to
refresh it. Nothing we do can protect client code from this fact, they
will need to do with the IOException when (not if) this situation
occurs.
See Also: org.geotools.data.Catalog.lockRefresh(java.lang.Stringorg.geotools.data.Transaction) Parameters: lockID - Authorizataion of lock to refresh Parameters: transaction - Transaction used to authorize refresh throws: IOException - If opperation encounters problems, or lock not found throws: IllegalArgumentException - if lockID is null |
lockRelease | public boolean lockRelease(String lockID, Transaction transaction) throws IOException(Code) | | Implement lockRelease.
Currently it is not and error if the lockID is not found, it may
have expired. Since locks are time sensitive it is impossible to check
if a lockExists and then be sure it will still exist when you try to
release it.
See Also: org.geotools.data.Catalog.lockRefresh(java.lang.Stringorg.geotools.data.Transaction) Parameters: lockID - Authorizataion of lock to refresh Parameters: transaction - Transaction used to authorize refresh throws: IOException - If opperation encounters problems throws: IllegalArgumentException - if lockID is null |
register | public void register(String id, FeatureSource featureSource) throws IOException(Code) | | Implement registerDataStore.
Description ...
See Also: org.geotools.data.Catalog.registerDataStore(org.geotools.data.DataStore) Parameters: id - Parameters: featureSource - throws: IOException - |
types | public SortedMap types()(Code) | | All FeatureTypes by dataStoreId:typeName
|
|
|