|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.protocol.wfs.AbstractWFSRequest org.deegree.protocol.wfs.transaction.Transaction
public class Transaction
Represents a Transaction
request to a web feature service.
A Transaction
consists of a sequence of Insert
, Update
, Delete
and
Native
operations.
From the WFS Specification 1.1.0 OGC 04-094 (#12, Pg.63):
A Transaction
request is used to describe data transformation operations that are to be applied to
web accessible feature instances. When the transaction has been completed, a web feature service will generate an XML
response document indicating the completion status of the transaction.
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 TransactionOperation s 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 |
---|
public Transaction(Version version, String handle, String lockId, Transaction.ReleaseAction releaseAction, Iterable<TransactionOperation> operations)
Transaction
request.
version
- protocol version, must not be nullhandle
- client-generated identifier, can be nulllockId
- lockd id, can be nullreleaseAction
- 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 nullMethod Detail |
---|
public String getLockId()
public Transaction.ReleaseAction getReleaseAction()
Transaction.ReleaseAction
public Iterable<TransactionOperation> getOperations()
TransactionOperation
s that are contained in the transaction.
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |