| 
deegree 2.1 (2007/11/08 09:57 build-328-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. | 
|
| Method Summary | |
|---|---|
 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 - | Method Detail | 
|---|
public int getTotalDeleted()
public int getTotalInserted()
public int getTotalUpdated()
public List<InsertResults> getInsertResults()
  | 
deegree 2.1 (2007/11/08 09:57 build-328-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://deegree.sourceforge.net