|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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,
java.lang.String handle,
java.lang.String lockId,
Transaction.ReleaseAction releaseAction,
java.lang.Iterable<TransactionOperation> operations)
Creates a new Transaction request. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLockId()
Returns the lock identifier provided with this transaction. |
java.lang.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 |
|---|
public Transaction(Version version,
java.lang.String handle,
java.lang.String lockId,
Transaction.ReleaseAction releaseAction,
java.lang.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 null| Method Detail |
|---|
public java.lang.String getLockId()
public Transaction.ReleaseAction getReleaseAction()
Transaction.ReleaseActionpublic java.lang.Iterable<TransactionOperation> getOperations()
TransactionOperations that are contained in the transaction.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||