org.deegree.services.wfs
Interface DataStore

All Superinterfaces:
java.util.EventListener, Handler
All Known Implementing Classes:
AbstractDataStore

public interface DataStore
extends Handler

Interface describing the access to a data store that encapsulates the access to concrete data sources like databases or files:

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

Version:
$Revision: 1.3 $ $Date: 2004/04/27 15:40:16 $
Author:
Andreas Poth

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(..)
 boolean isKnownFeatureType(java.lang.String featureType)
          returns true if the submitted feature type is known by the data store
 void lockFeature(WFSLockFeatureRequest request)
          performs the locking/unlocking of one or more features.
 void registerFeatureType(java.lang.String featureType)
          registers a feature type to the data store.
 void removeFeatureType(java.lang.String featureType)
          the inverse operation to registerFeatureType
 void transaction(WFSTransactionRequest request)
          performs a transaction against the data store.
 
Methods inherited from interface org.deegree.services.Handler
handleRequest, handleResponse, isInterested, registerHandler, removeHandler
 

Method Detail

registerFeatureType

public void registerFeatureType(java.lang.String featureType)
registers a feature type to the data store. So the data shall be able to handle operations on the feature type.


removeFeatureType

public void removeFeatureType(java.lang.String featureType)
the inverse operation to registerFeatureType

See Also:
registerFeatureType(String)

isKnownFeatureType

public boolean isKnownFeatureType(java.lang.String featureType)
returns true if the submitted feature type is known by the data store


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