|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.ogcwebservices.DefaultOGCWebServiceResponse
org.deegree.ogcwebservices.wfs.operation.transaction.TransactionResponse
public class TransactionResponse
Encapsulates a TransactionResponse element according to WFS Specification OGC 04-094 (#12.3 Pg.72).
Because deegree supports atomic transactions, there is no need for the optional TransactionResults child element.
| Field Summary |
|---|
| Fields inherited from class org.deegree.ogcwebservices.DefaultOGCWebServiceResponse |
|---|
exception, request |
| Constructor Summary | |
|---|---|
TransactionResponse(Transaction transaction,
int totalInserted,
int totalUpdated,
int totalDeleted,
List<InsertResults> insertResults)
Creates a new TransactionResponse instance from the given parameters. |
|
TransactionResponse(Transaction transaction,
int totalInserted,
int totalUpdated,
int totalDeleted,
List<InsertResults> insertResults,
List<Exception> exceptions)
|
|
| Method Summary | |
|---|---|
List<Exception> |
getExceptions()
|
List<InsertResults> |
getInsertResults()
Returns the insert results, i.e. the feature ids of the features that have been inserted for every insert operation of the transaction. |
int |
getTotalDeleted()
Returns the number of features that have been deleted in the transaction. |
int |
getTotalInserted()
Returns the number of features that have been inserted in the transaction. |
int |
getTotalUpdated()
Returns the number of features that have been updated in the transaction. |
| Methods inherited from class org.deegree.ogcwebservices.DefaultOGCWebServiceResponse |
|---|
getException, getRequest, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionResponse(Transaction transaction,
int totalInserted,
int totalUpdated,
int totalDeleted,
List<InsertResults> insertResults)
TransactionResponse instance from the given parameters.
transaction - request caused a responsetotalInserted - totalUpdated - totalDeleted - insertResults -
public TransactionResponse(Transaction transaction,
int totalInserted,
int totalUpdated,
int totalDeleted,
List<InsertResults> insertResults,
List<Exception> exceptions)
transaction - totalInserted - totalUpdated - totalDeleted - insertResults - exceptions - | Method Detail |
|---|
public int getTotalDeleted()
public int getTotalInserted()
public int getTotalUpdated()
public List<InsertResults> getInsertResults()
public List<Exception> getExceptions()
|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org