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: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
- Author:
- Andreas Poth, last edited by: $Author: mschneider $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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,
org.w3c.dom.Element root)
throws XMLParsingException
- Parameters:
transaction
- root
-
- Returns:
- the result
- 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://www.deegree.org