Java Doc for Transaction.java in  » GIS » deegree » org » deegree » ogcwebservices » wfs » operation » transaction » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » deegree » org.deegree.ogcwebservices.wfs.operation.transaction 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.deegree.ogcwebservices.wfs.operation.AbstractWFSRequest
   org.deegree.ogcwebservices.wfs.operation.transaction.Transaction

Transaction
public class Transaction extends AbstractWFSRequest (Code)
Represents a Transaction request to a web feature service.

A Transaction consists of a sequence of Insert , Update , Delete and Native operations.

From the WFS Specification 1.1.0 OGC 04-094 (#12, Pg.63):

A Transaction request is used to describe data transformation operations that are to be applied to web accessible feature instances. When the transaction has been completed, a web feature service will generate an XML response document indicating the completion status of the transaction.
author:
   Markus Schneider
author:
   last edited by: $Author: apoth $
version:
   $Revision: 9348 $, $Date: 2007-12-27 08:59:14 -0800 (Thu, 27 Dec 2007) $


Inner Class :public static enum RELEASE_ACTION


Constructor Summary
public  Transaction(String id, String version, Map<String, String> versionSpecificParameter, String lockID, List<TransactionOperation> operations, boolean releaseAllFeatures, TransactionDocument sourceDocument)
     Creates a new Transaction instance.

Method Summary
public static  Transactioncreate(String id, String request)
     Creates a Transaction request from a key-value-pair encoding of the parameters contained in the passed variable 'request'.
public static  Transactioncreate(Map<String, String> model)
     Creates a Transaction request from a key-value-pair encoding of the parameters contained in the given Map.
public static  Transactioncreate(String id, Element root)
     Creates a Transaction instance from a document that contains the DOM representation of the request.
public  Set<QualifiedName>getAffectedFeatureTypes()
     Returns the names of the feature types that are affected by the transaction.
public  StringgetLockId()
     Returns the lock identifier associated with this transaction.
public  List<TransactionOperation>getOperations()
     Returns the TransactionOperation s that are contained in the transaction.
public  RELEASE_ACTIONgetReleaseAction()
     Returns the release action mode to be applied after the transaction finished successfully.
public  TransactionDocumentgetSourceDocument()
     Returns the source document that was used to create this Transaction instance.
public  StringtoString()
    


Constructor Detail
Transaction
public Transaction(String id, String version, Map<String, String> versionSpecificParameter, String lockID, List<TransactionOperation> operations, boolean releaseAllFeatures, TransactionDocument sourceDocument)(Code)
Creates a new Transaction instance.
Parameters:
  version - WFS version
Parameters:
  id - Transaction id
Parameters:
  versionSpecificParameter -
Parameters:
  lockID - Lock Id
Parameters:
  operations - List of operations to be carried out
Parameters:
  releaseAllFeatures -
Parameters:
  sourceDocument -




Method Detail
create
public static Transaction create(String id, String request) throws InconsistentRequestException, InvalidParameterValueException(Code)
Creates a Transaction request from a key-value-pair encoding of the parameters contained in the passed variable 'request'.
Parameters:
  id - id of the request
Parameters:
  request - key-value-pair encoded GetFeature request new created Transaction instance
throws:
  InconsistentRequestException -
throws:
  InvalidParameterValueException -



create
public static Transaction create(Map<String, String> model) throws InconsistentRequestException, InvalidParameterValueException(Code)
Creates a Transaction request from a key-value-pair encoding of the parameters contained in the given Map.
Parameters:
  model - key-value-pair encoded Transaction request new Transaction instance
throws:
  InconsistentRequestException -
throws:
  InvalidParameterValueException -



create
public static Transaction create(String id, Element root) throws OGCWebServiceException(Code)
Creates a Transaction instance from a document that contains the DOM representation of the request.
Parameters:
  id -
Parameters:
  root - element that contains the DOM representation of the request transaction instance
throws:
  OGCWebServiceException -



getAffectedFeatureTypes
public Set<QualifiedName> getAffectedFeatureTypes()(Code)
Returns the names of the feature types that are affected by the transaction. the names of the affected feature types



getLockId
public String getLockId()(Code)
Returns the lock identifier associated with this transaction. the lock identifier associated with this transaction if it exists, null otherwise



getOperations
public List<TransactionOperation> getOperations()(Code)
Returns the TransactionOperation s that are contained in the transaction. the contained operations



getReleaseAction
public RELEASE_ACTION getReleaseAction()(Code)
Returns the release action mode to be applied after the transaction finished successfully.
See Also:   RELEASE_ACTION the release action mode to be applied after the transaction finished successfully



getSourceDocument
public TransactionDocument getSourceDocument()(Code)
Returns the source document that was used to create this Transaction instance. the source document



toString
public String toString()(Code)



Fields inherited from org.deegree.ogcwebservices.wfs.operation.AbstractWFSRequest
public static String FORMAT_GML2(Code)(Java Doc)
public static String FORMAT_GML2_WFS100(Code)(Java Doc)
public static String FORMAT_GML3(Code)(Java Doc)
public static String FORMAT_XML(Code)(Java Doc)

Methods inherited from org.deegree.ogcwebservices.wfs.operation.AbstractWFSRequest
protected static void checkServiceParameter(Map<String, String> model) throws InconsistentRequestException(Code)(Java Doc)
protected static String checkVersionParameter(Map<String, String> model) throws InconsistentRequestException, InvalidParameterValueException(Code)(Java Doc)
protected static Filter extractBBOXFilter(Map<String, String> model) throws InvalidParameterValueException(Code)(Java Doc)
protected static Map<QualifiedName, Filter> extractFilters(Map<String, String> kvp, QualifiedName[] typeNames) throws InvalidParameterValueException(Code)(Java Doc)
protected static NamespaceContext extractNamespaceParameter(Map<String, String> model) throws InvalidParameterValueException(Code)(Java Doc)
protected static QualifiedName[] extractTypeNames(Map<String, String> kvp) throws InvalidParameterValueException(Code)(Java Doc)
public String getHandle()(Code)(Java Doc)
public String getServiceName()(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.