org.deegree.ogcwebservices.csw.manager
Class TransactionResult
java.lang.Object
org.deegree.ogcwebservices.DefaultOGCWebServiceResponse
org.deegree.ogcwebservices.csw.manager.TransactionResult
- All Implemented Interfaces:
- OGCWebServiceResponse
- Direct Known Subclasses:
- HarvestResult
public class TransactionResult
- extends DefaultOGCWebServiceResponse
- Version:
- $Revision: 9345 $, $Date: 2007-12-27 17:22:25 +0100 (Do, 27 Dez 2007) $
- Author:
- Andreas Poth, last edited by: $Author: apoth $
TransactionResult
public TransactionResult(OGCWebServiceRequest transaction,
int totalInserted,
int totalDeleted,
int totalUpdated,
InsertResults results)
- Parameters:
transaction
- source Transaction requesttotalInserted
- the amount of records that has been insertedtotalDeleted
- the amount of records that has been deletedtotalUpdated
- the amount of records that has been updatedresults
- insert result description
create
public static final TransactionResult create(Transaction transaction,
Element root)
throws XMLParsingException
- Parameters:
transaction
- root
-
- Returns:
-
- Throws:
XMLParsingException
getResults
public InsertResults getResults()
- returns insert result description
- Returns:
- insert result description
getTotalDeleted
public int getTotalDeleted()
- returns the amount of records that has been deleted
- Returns:
- the amount of records that has been deleted
getTotalInserted
public int getTotalInserted()
- returns the amount of records that has been inserted
- Returns:
- the amount of records that has been inserted
getTotalUpdated
public int getTotalUpdated()
- returns the amount of records that has been updated
- Returns:
- the amount of records that has been updated
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net