org.deegree_impl.services.wfs.protocol
Class WFSTransactionRequest_Impl

java.lang.Object
  extended byorg.deegree_impl.services.OGCWebServiceRequest_Impl
      extended byorg.deegree_impl.services.wfs.protocol.WFSBasicRequest_Impl
          extended byorg.deegree_impl.services.wfs.protocol.WFSTransactionRequest_Impl
All Implemented Interfaces:
OGCWebServiceRequest, WFSBasicRequest, WFSTransactionRequest

class WFSTransactionRequest_Impl
extends WFSBasicRequest_Impl
implements WFSTransactionRequest

The Transaction interface is used to describe data transformation operations that are to be applied to web accessible features. The web feature server receives a transaction request and either processes it directly or possibly translates it into the language of a target datastore and then has the datastore execute the transaction. When the transaction has been completed, the web feature server will generate an XML response document indicating the termination status of the transaction.

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

Version:
$Revision: 1.7 $ $Date: 2004/06/16 09:38:08 $
Author:
Andreas Poth Katharina Lupp

Field Summary
private  java.lang.String handle
           
private  java.lang.String lockId
           
private  java.util.ArrayList operations
           
private  java.lang.String releaseAction
           
private  java.lang.String version
           
 
Fields inherited from class org.deegree_impl.services.wfs.protocol.WFSBasicRequest_Impl
 
Fields inherited from class org.deegree_impl.services.OGCWebServiceRequest_Impl
id, request, service, vendorSpecificParameter
 
Constructor Summary
(package private) WFSTransactionRequest_Impl(java.lang.String version, java.lang.String id, java.lang.String lockId, WFSOperation[] operations, java.lang.String handle, java.lang.String releaseAction)
          constructor initializing the class with the
 
Method Summary
 void addOperations(WFSOperation operations)
          adds the
 java.lang.String getHandle()
          returns a descriptor that enables easy identifying the transaction
 java.lang.String getLockId()
          returns the id that handles the locking associated to the request
 WFSOperation[] getOperations()
          A element is used to define a single transaction composed of zero or more , , or elements.
 java.lang.String getReleaseAction()
          A value of ALL indicates that all feature locks should be released when a transaction terminates.
 java.lang.String getVersion()
          returns the version of the WFS
 void setHandle(java.lang.String handle)
          sets a descriptor that enables easy identifying the transaction
 void setLockId(java.lang.String lockId)
          returns the id that handles the locking associated to the request
 void setOperations(WFSOperation[] operations)
          sets the
 void setReleaseAction(java.lang.String releaseAction)
          sets the
 void setVersion(java.lang.String version)
          sets the version of the WFS
 java.lang.String toString()
           
 
Methods inherited from class org.deegree_impl.services.wfs.protocol.WFSBasicRequest_Impl
exportAsXML, getNative, setNative
 
Methods inherited from class org.deegree_impl.services.OGCWebServiceRequest_Impl
getId, getRequest, getRequestParameter, getService, getVendorSpecificParameter, getVendorSpecificParameters, putVendorSpecificParameter, setId, setRequest, setService, setVendorSpecificParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.deegree.services.wfs.protocol.WFSBasicRequest
getNative
 
Methods inherited from interface org.deegree.services.OGCWebServiceRequest
getId, getRequest, getRequestParameter, getService, getVendorSpecificParameter, getVendorSpecificParameters
 

Field Detail

operations

private java.util.ArrayList operations

handle

private java.lang.String handle

lockId

private java.lang.String lockId

releaseAction

private java.lang.String releaseAction

version

private java.lang.String version
Constructor Detail

WFSTransactionRequest_Impl

WFSTransactionRequest_Impl(java.lang.String version,
                           java.lang.String id,
                           java.lang.String lockId,
                           WFSOperation[] operations,
                           java.lang.String handle,
                           java.lang.String releaseAction)
constructor initializing the class with the

Method Detail

getOperations

public WFSOperation[] getOperations()
A element is used to define a single transaction composed of zero or more , , or elements. An empty request is valid but not very useful.

An operation is meant to be applied to a single feature type, but multiple operations on multiple feature types can be packaged within a single Transaction request.

Specified by:
getOperations in interface WFSTransactionRequest

addOperations

public void addOperations(WFSOperation operations)
adds the


setOperations

public void setOperations(WFSOperation[] operations)
sets the


getReleaseAction

public java.lang.String getReleaseAction()
A value of ALL indicates that all feature locks should be released when a transaction terminates. A value of SOME indicates that only those records that are modified should be released. The remaining locks are maintained. The default RELEASEACTION is ALL.

Specified by:
getReleaseAction in interface WFSTransactionRequest

setReleaseAction

public void setReleaseAction(java.lang.String releaseAction)
sets the


getLockId

public java.lang.String getLockId()
returns the id that handles the locking associated to the request

Specified by:
getLockId in interface WFSTransactionRequest

setLockId

public void setLockId(java.lang.String lockId)
returns the id that handles the locking associated to the request


getHandle

public java.lang.String getHandle()
returns a descriptor that enables easy identifying the transaction

Specified by:
getHandle in interface WFSTransactionRequest

setHandle

public void setHandle(java.lang.String handle)
sets a descriptor that enables easy identifying the transaction


getVersion

public java.lang.String getVersion()
returns the version of the WFS

Specified by:
getVersion in interface WFSTransactionRequest
Overrides:
getVersion in class OGCWebServiceRequest_Impl

setVersion

public void setVersion(java.lang.String version)
sets the version of the WFS

Overrides:
setVersion in class OGCWebServiceRequest_Impl

toString

public java.lang.String toString()
Overrides:
toString in class OGCWebServiceRequest_Impl
Returns: