org.deegree.services.wfs.protocol
Interface WFSInsert

All Superinterfaces:
WFSOperation
All Known Implementing Classes:
WFSInsert_Impl

public interface WFSInsert
extends WFSOperation

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

Version:
$Revision: 1.2 $ $Date: 2003/04/23 07:23:15 $
Author:
Katharina Lupp, Andreas Poth

Field Summary
 
Fields inherited from interface org.deegree.services.wfs.protocol.WFSOperation
OPERATION_DELETE, OPERATION_INSERT, OPERATION_LOCK, OPERATION_QUERY, OPERATION_UPDATE
 
Method Summary
 GMLFeature[] getFeatures()
          returns a list of the feature that should be inserted into the data store
 GMLFeature[] getFeatures(java.lang.String featureType)
          returns a list of the feature that belongs to the submitted feature type
 java.lang.String[] getFeatureTypes()
          returns the names of the feature types affected by the insertion.
 java.lang.String getHandle()
          the handle acts as an identifier for an operation
 

Method Detail

getFeatures

public GMLFeature[] getFeatures(java.lang.String featureType)
returns a list of the feature that belongs to the submitted feature type


getFeatures

public GMLFeature[] getFeatures()
returns a list of the feature that should be inserted into the data store


getHandle

public java.lang.String getHandle()
the handle acts as an identifier for an operation


getFeatureTypes

public java.lang.String[] getFeatureTypes()
returns the names of the feature types affected by the insertion. Notice that the WFS spec allowes features of different types to be inserted within one operation. This may cause problems if the features are stored within different datastores and the insertion for one of the datastores fails. So it seems to be more appropiate to use just features of one type within one insertion.