|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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,
java.util.List<InsertResults> insertResults)
Creates a new TransactionResponse instance from the given parameters. |
|
TransactionResponse(Transaction transaction,
int totalInserted,
int totalUpdated,
int totalDeleted,
java.util.List<InsertResults> insertResults,
java.util.List<java.lang.Exception> exceptions)
|
Method Summary | |
---|---|
java.util.List<java.lang.Exception> |
getExceptions()
|
java.util.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, java.util.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, java.util.List<InsertResults> insertResults, java.util.List<java.lang.Exception> exceptions)
transaction
- totalInserted
- totalUpdated
- totalDeleted
- insertResults
- exceptions
- Method Detail |
---|
public int getTotalDeleted()
public int getTotalInserted()
public int getTotalUpdated()
public java.util.List<InsertResults> getInsertResults()
public java.util.List<java.lang.Exception> getExceptions()
|
deegree 2.5 (2011/06/29 09:44 build-8-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