org.deegree_impl.services.wfs.sde
Class SDEDataStore

java.lang.Object
  extended byorg.deegree_impl.services.wfs.AbstractDataStore
      extended byorg.deegree_impl.services.wfs.sde.SDEDataStore
All Implemented Interfaces:
DataStore, java.util.EventListener, Handler

public class SDEDataStore
extends AbstractDataStore

The class provides reading and writing access to ESRI shape- files. The access is capsulated withing the query and transaction mechanism described at the OGC WFS specifications.

The data store uses a cache for keeping features once read from a shape-file in memory to provide a mauch fast access to them. The cache can be configured throw the configuration XML-document that also contains the names and locations of the shapes handled by an instance of the SDEDataStore.

---------------------------------------------------------------------

Version:
$Revision: 1.19 $ $Date: 2004/03/22 11:44:34 $
Author:
Andreas Poth

Nested Class Summary
private  class SDEDataStore.CDescribeFeatureType
          inner interface defining the processing of a DescribeFeatureType request
private  class SDEDataStore.CGetFeature
          inner interface defining the processing of a getFeature request
(package private)  class SDEDataStore.CGetFeatureWithLock
          class defining the processing of a getFeature request
private  class SDEDataStore.CLockFeature
          inner interface defining the processing of a lockFeature request
 
Field Summary
 
Fields inherited from class org.deegree_impl.services.wfs.AbstractDataStore
config, pool
 
Constructor Summary
SDEDataStore(java.net.URL config)
          Creates a new SDEDataStore object.
 
Method Summary
 void describeFeatureType(WFSDescribeFeatureTypeRequest request)
          returns the describtion of one or more feature types
 void getFeature(WFSGetFeatureRequest request)
          returns the features that matches the submitted request
 void getFeatureWithLock(WFSGetFeatureWithLockRequest request)
          same as getFeature(..)
 void lockFeature(WFSLockFeatureRequest request)
          performs the locking/unlocking of one or more features.
 void transaction(WFSTransactionRequest request)
          performs a transaction against the data store.
 
Methods inherited from class org.deegree_impl.services.wfs.AbstractDataStore
fireResponse, getConfiguration, getConnectionPool, handleRequest, handleResponse, isInterested, isKnownFeatureType, registerFeatureType, registerHandler, removeFeatureType, removeHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SDEDataStore

public SDEDataStore(java.net.URL config)
             throws DataStoreException
Creates a new SDEDataStore object.

Parameters:
config -
Throws:
DataStoreException
Method Detail

describeFeatureType

public void describeFeatureType(WFSDescribeFeatureTypeRequest request)
returns the describtion of one or more feature types

Parameters:
request - conainting the list of feature types that should be described

getFeature

public void getFeature(WFSGetFeatureRequest request)
returns the features that matches the submitted request

Parameters:
request - containing the request for zero, one or more features. The request, may contains a filter that describes the request more detailed

getFeatureWithLock

public void getFeatureWithLock(WFSGetFeatureWithLockRequest request)
same as getFeature(..) but locking the feature during processing.

Parameters:
request - containing the request for zero, one or more features. The request, may contains a filter that describes the request more detailed.
See Also:
getFeature(WFSGetFeatureRequest)

transaction

public void transaction(WFSTransactionRequest request)
performs a transaction against the data store. This could be an update, an insert or a delete of one or more features.

Parameters:
request - containing the transaction instruction(s)

lockFeature

public void lockFeature(WFSLockFeatureRequest request)
performs the locking/unlocking of one or more features.

Parameters:
request - the features that should be (un)locked