org.deegree.protocol.wfs.transaction
Class Transaction

java.lang.Object
  extended by org.deegree.protocol.wfs.AbstractWFSRequest
      extended by org.deegree.protocol.wfs.transaction.Transaction

public class Transaction
extends AbstractWFSRequest

Represents a Transaction request to a WFS.

Supported versions:

Version:
$Revision: 31763 $, $Date: 2011-09-05 19:55:05 +0200 (Mon, 05 Sep 2011) $
Author:
Markus Schneider , last edited by: $Author: mschneider $
See Also:
TransactionOperation

Nested Class Summary
static class Transaction.ReleaseAction
          Controls how locked features are treated when a transaction request is completed.
 
Constructor Summary
Transaction(Version version, String handle, String lockId, Transaction.ReleaseAction releaseAction, Iterable<TransactionOperation> operations)
          Creates a new Transaction request.
 
Method Summary
 String getLockId()
          Returns the lock identifier provided with this transaction.
 Iterable<TransactionOperation> getOperations()
          Returns the TransactionOperations that are contained in the transaction.
 Transaction.ReleaseAction getReleaseAction()
          Returns the release action mode to be applied after the transaction has been executed successfully.
 
Methods inherited from class org.deegree.protocol.wfs.AbstractWFSRequest
getHandle, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transaction

public Transaction(Version version,
                   String handle,
                   String lockId,
                   Transaction.ReleaseAction releaseAction,
                   Iterable<TransactionOperation> operations)
Creates a new Transaction request.

Parameters:
version - protocol version, must not be null
handle - client-generated identifier, can be null
lockId - lockd id, can be null
releaseAction - controls how to treat locked features when the transaction has been completed, can be null (unspecified)
operations - operations to be performed as parts of the transaction, can be null
Method Detail

getLockId

public String getLockId()
Returns the lock identifier provided with this transaction.

Returns:
the lock identifier provided with this transaction, or null if it is unspecified

getReleaseAction

public Transaction.ReleaseAction getReleaseAction()
Returns the release action mode to be applied after the transaction has been executed successfully.

Returns:
the release action mode to be applied after the transaction has been executed successfully, or null if it is unspecified
See Also:
Transaction.ReleaseAction

getOperations

public Iterable<TransactionOperation> getOperations()
Returns the TransactionOperations that are contained in the transaction.

Returns:
the contained operations, can be null


Copyright © 2011. All Rights Reserved.