Java Doc for Transaction.java in  » Database-ORM » beankeeper » hu » netmind » persistence » 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 » Database ORM » beankeeper » hu.netmind.persistence 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.util.HashMap
   hu.netmind.persistence.Transaction

Transaction
public class Transaction extends HashMap (Code)
This is a high-level transaction object used throughout the persistence layer. Also, it can store attributes, and register listeners.
author:
   Brautigam Robert
version:
   Revision: $Revision$



Constructor Summary
public  Transaction(TransactionTracker tracker)
    

Method Summary
 voidaddRemoveTable(String table)
    
 voidaddRemovedObject(Object obj)
    
 voidaddSaveTable(String table)
    
 voidaddSavedObject(Object obj)
    
 voidaddStats(DatabaseStatistics stats)
    
public  voidbegin()
     Start the transaction.
public  voidcommit()
     Commit a transaction.
public  booleanequals(Object obj)
    
 ExceptiongetAllocateTrace()
    
 ConnectiongetConnection()
    
 LonggetEndSerial()
    
 StringgetLastOperation()
    
 ListgetRemoveTables()
    
 ListgetRemovedObjects()
     Get the objects removed in this transaction as a list.
 StoreExceptiongetRollbackException()
    
 ListgetSaveTables()
    
 ListgetSavedObjects()
     Get the objects saved in this transaction as a list.
 LonggetSerial(Long serial)
     Get the serial of this transaction, and set with given serial if not yet given.
 LonggetSerial()
    
 ThreadgetStarterThread()
    
public  DatabaseStatisticsgetStats()
    
 TransactionTrackergetTracker()
    
public  intgetTransactionIsolation()
    
public  inthashCode()
    
public  booleanisRollbackOnly()
     Returns whether this transaction was marked "rollback only".
public  voidmarkRollbackOnly()
     Mark this transaction as rollback only.
public  voidrollback()
     Rollback this transaction.
 voidsetConnection(Connection connection)
    
 voidsetEndSerial(Long endSerial)
    
 voidsetLastOperation(String lastOperation)
    
 voidsetRemoveTables(List removeTables)
    
 voidsetRollbackException(StoreException rollbackException)
    
 voidsetSaveTables(List saveTables)
    
public  voidsetTransactionIsolation(int level)
    
public  StringtoString()
    


Constructor Detail
Transaction
public Transaction(TransactionTracker tracker)(Code)




Method Detail
addRemoveTable
void addRemoveTable(String table)(Code)



addRemovedObject
void addRemovedObject(Object obj)(Code)



addSaveTable
void addSaveTable(String table)(Code)



addSavedObject
void addSavedObject(Object obj)(Code)



addStats
void addStats(DatabaseStatistics stats)(Code)



begin
public void begin()(Code)
Start the transaction. A transaction must be always start with the call to begin(). All subsequent calls to this method will increase the transaction depth, and to commit the transaction exactly that many commit() and rollback() calls must occur.



commit
public void commit()(Code)
Commit a transaction.



equals
public boolean equals(Object obj)(Code)



getAllocateTrace
Exception getAllocateTrace()(Code)



getConnection
Connection getConnection()(Code)



getEndSerial
Long getEndSerial()(Code)



getLastOperation
String getLastOperation()(Code)



getRemoveTables
List getRemoveTables()(Code)



getRemovedObjects
List getRemovedObjects()(Code)
Get the objects removed in this transaction as a list.



getRollbackException
StoreException getRollbackException()(Code)



getSaveTables
List getSaveTables()(Code)



getSavedObjects
List getSavedObjects()(Code)
Get the objects saved in this transaction as a list.



getSerial
Long getSerial(Long serial)(Code)
Get the serial of this transaction, and set with given serial if not yet given.



getSerial
Long getSerial()(Code)



getStarterThread
Thread getStarterThread()(Code)



getStats
public DatabaseStatistics getStats()(Code)



getTracker
TransactionTracker getTracker()(Code)



getTransactionIsolation
public int getTransactionIsolation()(Code)



hashCode
public int hashCode()(Code)



isRollbackOnly
public boolean isRollbackOnly()(Code)
Returns whether this transaction was marked "rollback only".



markRollbackOnly
public void markRollbackOnly()(Code)
Mark this transaction as rollback only. This means the next call to either commit or rollback will rollback either way.



rollback
public void rollback()(Code)
Rollback this transaction.



setConnection
void setConnection(Connection connection)(Code)



setEndSerial
void setEndSerial(Long endSerial)(Code)



setLastOperation
void setLastOperation(String lastOperation)(Code)



setRemoveTables
void setRemoveTables(List removeTables)(Code)



setRollbackException
void setRollbackException(StoreException rollbackException)(Code)



setSaveTables
void setSaveTables(List saveTables)(Code)



setTransactionIsolation
public void setTransactionIsolation(int level)(Code)



toString
public String toString()(Code)



Methods inherited from java.util.HashMap
public void clear()(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
public boolean containsKey(Object key)(Code)(Java Doc)
public boolean containsValue(Object value)(Code)(Java Doc)
public Set<Map.Entry<K, V>> entrySet()(Code)(Java Doc)
public V get(Object key)(Code)(Java Doc)
public boolean isEmpty()(Code)(Java Doc)
public Set<K> keySet()(Code)(Java Doc)
public V put(K key, V value)(Code)(Java Doc)
public void putAll(Map<? extends K, ? extends V> m)(Code)(Java Doc)
public V remove(Object key)(Code)(Java Doc)
public int size()(Code)(Java Doc)
public Collection<V> values()(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.