org.deegree.ogcwebservices.csw.manager
Class Transaction
java.lang.Object
org.deegree.ogcwebservices.AbstractOGCWebServiceRequest
org.deegree.ogcwebservices.csw.manager.Transaction
- All Implemented Interfaces:
- Serializable, OGCWebServiceRequest
public class Transaction
- extends AbstractOGCWebServiceRequest
A Transaction defines an atomic unit of work and is a container for one or more insert, update
and/or delete actions.
- Version:
- $Revision: 18195 $, $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Thu, 18 Jun 2009) $
- Author:
- Andreas Poth, last edited by: $Author: mschneider $
- See Also:
- Serialized Form
LOG
protected static final ILogger LOG
Transaction
public Transaction(String version,
String id,
Map<String,String> vendorSpecificParameter,
List<Operation> operations,
boolean verboseResponse)
- Parameters:
version
- id
- vendorSpecificParameter
- operations
- verboseResponse
-
create
public static final Transaction create(String id,
Element root)
throws OGCWebServiceException
- creates a Transaction object from its XML representation defined in OGC CS-W 2.0.0
specification
- Parameters:
id
- uniquely identifies the given requestroot
- the root of the xml-encoded transaction request
- Returns:
- a Transaction with the values taken form the XML-Document.
- Throws:
OGCWebServiceException
- if the Transaction could not be created
getServiceName
public String getServiceName()
- Returns:
- the name of the service; always CSW
verboseResponse
public boolean verboseResponse()
- The verboseResponseattribute is a boolean that may be used by a client to indicate to a
server the amount of detail to generate in the rsponse. A value of FALSE means that a CSW
should generate a terse or brief transaction response. A value of TRUE, or the absence of the
attribute, means that the normal detailed transaction response should be generated.
- Returns:
- true if the response should be verbose
getOperations
public List<Operation> getOperations()
- returns all operations being part of a transaction
- Returns:
- all operations being part of a transaction
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org