Java Doc for PersistenceManagerImpl.java in  » Database-ORM » TJDO » com » triactive » jdo » 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 » TJDO » com.triactive.jdo 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.triactive.jdo.PersistenceManagerImpl

PersistenceManagerImpl
public class PersistenceManagerImpl implements PersistenceManager(Code)
Implements the PersistenceManager interface.
author:
   Mike Martin
version:
   $Revision: 1.14 $



Constructor Summary
public  PersistenceManagerImpl(PersistenceManagerFactoryImpl pmf, String userName, String password)
    

Method Summary
public synchronized  voidclose()
    
public  javax.jdo.TransactioncurrentTransaction()
    
public synchronized  voiddataStoreModified()
    
public  intdataStoreModifyCount()
    
public synchronized  voiddeletePersistent(Object obj)
    
public synchronized  voiddeletePersistentAll(Object[] pcs)
    
public synchronized  voiddeletePersistentAll(Collection pcs)
    
public  voiddump(Object obj, PrintWriter out)
    
public synchronized  voidenlistInTransaction(StateManager sm)
    
public synchronized  voidevict(Object pc)
    
public synchronized  voidevictAll(Object[] pcs)
    
public synchronized  voidevictAll(Collection pcs)
    
public synchronized  voidevictAll()
    
public synchronized  voidevictFromTransaction(StateManager sm)
    
public  StateManagerfindStateManager(Object obj)
     Returns the StateManager for a given object.
public synchronized  voidflushDirty()
    
 voidforceClose()
     Called by the PMF to forcibly close this PM.
public  ConnectiongetConnection(boolean forWriting)
    
public synchronized  ExtentgetExtent(Class cls, boolean flag)
    
public  booleangetIgnoreCache()
    
public  booleangetMultithreaded()
    
public  ObjectgetObjectById(Object id, boolean validate)
    
public  ObjectgetObjectById(Object id, Class contextClass, boolean validate)
    
public  ObjectgetObjectById(Object id, Class contextClass, int[] fieldNumbers, FieldManager fm)
    
public  ObjectgetObjectId(Object pc)
    
public  ClassgetObjectIdClass(Class cls)
    
public  PersistenceManagerFactorygetPersistenceManagerFactory()
    
public  StoreManagergetStoreManager()
    
public  ObjectgetTransactionalObjectId(Object pc)
    
public synchronized  ObjectgetUserObject()
    
public synchronized  voidhereIsStateManager(StateManager sm, Object pc)
    
public  booleanisClosed()
    
public synchronized  voidmakeNontransactional(Object pc)
    
public synchronized  voidmakeNontransactionalAll(Object[] pcs)
    
public synchronized  voidmakeNontransactionalAll(Collection pcs)
    
public synchronized  voidmakePersistent(Object obj)
    
public synchronized  voidmakePersistentAll(Object[] pcs)
    
public synchronized  voidmakePersistentAll(Collection pcs)
    
public synchronized  voidmakeTransactional(Object pc)
    
public synchronized  voidmakeTransactionalAll(Object[] pcs)
    
public synchronized  voidmakeTransactionalAll(Collection pcs)
    
public synchronized  voidmakeTransient(Object pc)
    
public synchronized  voidmakeTransientAll(Object[] pcs)
    
public synchronized  voidmakeTransientAll(Collection pcs)
    
public synchronized  voidmarkDirty(StateManager sm)
    
public  ObjectnewObjectIdInstance(Class clazz, String str)
    
public synchronized  QuerynewQuery()
    
public synchronized  QuerynewQuery(Object obj)
    
public synchronized  QuerynewQuery(String language, Object query)
    
public synchronized  QuerynewQuery(Class cls)
    
public synchronized  QuerynewQuery(Extent cln)
    
public synchronized  QuerynewQuery(Class cls, Collection cln)
    
public synchronized  QuerynewQuery(Class cls, String filter)
    
public synchronized  QuerynewQuery(Class cls, Collection cln, String filter)
    
public synchronized  QuerynewQuery(Extent cln, String filter)
    
synchronized  voidpostCommit()
     Commit any changes made to objects managed by the persistence manager to the database.
synchronized  voidpreRollback()
     Rollback any changes made to objects managed by the persistence manager to the database.
public synchronized  voidrefresh(Object pc)
    
public synchronized  voidrefreshAll(Object[] pcs)
    
public synchronized  voidrefreshAll(Collection pcs)
    
public synchronized  voidrefreshAll()
    
public synchronized  voidreleaseConnection(Connection conn)
    
public synchronized  voidremoveStateManager(StateManager sm)
    
public synchronized  voidretrieve(Object pc)
    
public synchronized  voidretrieveAll(Object[] pcs)
    
public synchronized  voidretrieveAll(Object[] pcs, boolean DFGOnly)
    
public synchronized  voidretrieveAll(Collection pcs)
    
public synchronized  voidretrieveAll(Collection pcs, boolean DFGOnly)
    
public  voidsetIgnoreCache(boolean flag)
    
public  voidsetMultithreaded(boolean flag)
    
public synchronized  voidsetUserObject(Object userObject)
    


Constructor Detail
PersistenceManagerImpl
public PersistenceManagerImpl(PersistenceManagerFactoryImpl pmf, String userName, String password)(Code)




Method Detail
close
public synchronized void close()(Code)



currentTransaction
public javax.jdo.Transaction currentTransaction()(Code)



dataStoreModified
public synchronized void dataStoreModified()(Code)



dataStoreModifyCount
public int dataStoreModifyCount()(Code)



deletePersistent
public synchronized void deletePersistent(Object obj)(Code)



deletePersistentAll
public synchronized void deletePersistentAll(Object[] pcs)(Code)



deletePersistentAll
public synchronized void deletePersistentAll(Collection pcs)(Code)



dump
public void dump(Object obj, PrintWriter out)(Code)



enlistInTransaction
public synchronized void enlistInTransaction(StateManager sm)(Code)



evict
public synchronized void evict(Object pc)(Code)



evictAll
public synchronized void evictAll(Object[] pcs)(Code)



evictAll
public synchronized void evictAll(Collection pcs)(Code)



evictAll
public synchronized void evictAll()(Code)



evictFromTransaction
public synchronized void evictFromTransaction(StateManager sm)(Code)



findStateManager
public StateManager findStateManager(Object obj)(Code)
Returns the StateManager for a given object. The object's state manager, or null if obj is null orhas no state manager.
exception:
  JDOUserException - If obj is not PersistenceCapable or is managed by adifferent PersistenceManager.



flushDirty
public synchronized void flushDirty()(Code)



forceClose
void forceClose()(Code)
Called by the PMF to forcibly close this PM.



getConnection
public Connection getConnection(boolean forWriting) throws SQLException(Code)



getExtent
public synchronized Extent getExtent(Class cls, boolean flag)(Code)



getIgnoreCache
public boolean getIgnoreCache()(Code)



getMultithreaded
public boolean getMultithreaded()(Code)



getObjectById
public Object getObjectById(Object id, boolean validate)(Code)



getObjectById
public Object getObjectById(Object id, Class contextClass, boolean validate)(Code)



getObjectById
public Object getObjectById(Object id, Class contextClass, int[] fieldNumbers, FieldManager fm)(Code)



getObjectId
public Object getObjectId(Object pc)(Code)



getObjectIdClass
public Class getObjectIdClass(Class cls)(Code)



getPersistenceManagerFactory
public PersistenceManagerFactory getPersistenceManagerFactory()(Code)



getStoreManager
public StoreManager getStoreManager()(Code)



getTransactionalObjectId
public Object getTransactionalObjectId(Object pc)(Code)



getUserObject
public synchronized Object getUserObject()(Code)



hereIsStateManager
public synchronized void hereIsStateManager(StateManager sm, Object pc)(Code)



isClosed
public boolean isClosed()(Code)



makeNontransactional
public synchronized void makeNontransactional(Object pc)(Code)



makeNontransactionalAll
public synchronized void makeNontransactionalAll(Object[] pcs)(Code)



makeNontransactionalAll
public synchronized void makeNontransactionalAll(Collection pcs)(Code)



makePersistent
public synchronized void makePersistent(Object obj)(Code)



makePersistentAll
public synchronized void makePersistentAll(Object[] pcs)(Code)



makePersistentAll
public synchronized void makePersistentAll(Collection pcs)(Code)



makeTransactional
public synchronized void makeTransactional(Object pc)(Code)



makeTransactionalAll
public synchronized void makeTransactionalAll(Object[] pcs)(Code)



makeTransactionalAll
public synchronized void makeTransactionalAll(Collection pcs)(Code)



makeTransient
public synchronized void makeTransient(Object pc)(Code)



makeTransientAll
public synchronized void makeTransientAll(Object[] pcs)(Code)



makeTransientAll
public synchronized void makeTransientAll(Collection pcs)(Code)



markDirty
public synchronized void markDirty(StateManager sm)(Code)



newObjectIdInstance
public Object newObjectIdInstance(Class clazz, String str)(Code)



newQuery
public synchronized Query newQuery()(Code)



newQuery
public synchronized Query newQuery(Object obj)(Code)



newQuery
public synchronized Query newQuery(String language, Object query)(Code)



newQuery
public synchronized Query newQuery(Class cls)(Code)



newQuery
public synchronized Query newQuery(Extent cln)(Code)



newQuery
public synchronized Query newQuery(Class cls, Collection cln)(Code)



newQuery
public synchronized Query newQuery(Class cls, String filter)(Code)



newQuery
public synchronized Query newQuery(Class cls, Collection cln, String filter)(Code)



newQuery
public synchronized Query newQuery(Extent cln, String filter)(Code)



postCommit
synchronized void postCommit()(Code)
Commit any changes made to objects managed by the persistence manager to the database.



preRollback
synchronized void preRollback()(Code)
Rollback any changes made to objects managed by the persistence manager to the database.



refresh
public synchronized void refresh(Object pc)(Code)



refreshAll
public synchronized void refreshAll(Object[] pcs)(Code)



refreshAll
public synchronized void refreshAll(Collection pcs)(Code)



refreshAll
public synchronized void refreshAll()(Code)



releaseConnection
public synchronized void releaseConnection(Connection conn) throws SQLException(Code)



removeStateManager
public synchronized void removeStateManager(StateManager sm)(Code)



retrieve
public synchronized void retrieve(Object pc)(Code)



retrieveAll
public synchronized void retrieveAll(Object[] pcs)(Code)



retrieveAll
public synchronized void retrieveAll(Object[] pcs, boolean DFGOnly)(Code)



retrieveAll
public synchronized void retrieveAll(Collection pcs)(Code)



retrieveAll
public synchronized void retrieveAll(Collection pcs, boolean DFGOnly)(Code)



setIgnoreCache
public void setIgnoreCache(boolean flag)(Code)



setMultithreaded
public void setMultithreaded(boolean flag)(Code)



setUserObject
public synchronized void setUserObject(Object userObject)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.