org.deegree_impl.services.wfs.postgis
Class PostgisDataStore

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

public final class PostgisDataStore
extends AbstractDataStore

The class concretes the implementation of a data store object for accessing postgis databases through a WFS.

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

Version:
$Revision: 1.4 $ $Date: 2004/05/10 08:41:07 $

Author:
Andreas Poth

Field Summary
 
Fields inherited from class org.deegree_impl.services.wfs.AbstractDataStore
config, pool
 
Constructor Summary
PostgisDataStore(java.net.URL config)
           
 
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 describeFeatureType(..)
 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

PostgisDataStore

public PostgisDataStore(java.net.URL 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 describeFeatureType(..) 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:
describeFeatureType(WFSDescribeFeatureTypeRequest)

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