Java Doc for PBPrevaylerImpl.java in  » Database-ORM » db-ojb » org » apache » ojb » broker » prevayler » 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 » db ojb » org.apache.ojb.broker.prevayler 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.ojb.broker.core.PersistenceBrokerImpl
   org.apache.ojb.broker.prevayler.PBPrevaylerImpl

PBPrevaylerImpl
public class PBPrevaylerImpl extends PersistenceBrokerImpl (Code)
An OJB PersistenBroker implementation working against a datastore that is persisted by Prevayler. So in other word, this is an OODBMS with a PB API. Of course you can use OJB/ODMG or OJB/JDO on top of it. important note: this implementation is not finished. Do not try to use it in production environments.
author:
   Thomas Mahler



Constructor Summary
public  PBPrevaylerImpl(PBKey key, PersistenceBrokerFactoryIF pbf)
     Constructor for PBPrevaylerImpl.

Method Summary
public  voidabortTransaction()
    
public  voidaddMtoNImplementor(MtoNImplementor m2nImpl)
    
public  voidbeginTransaction()
    
public  voidclearCache()
    
public  booleanclose()
    
public  voidcommitTransaction()
    
public  voiddelete(Object obj)
    
public  voiddeleteByQuery(Query query)
    
public  voiddeleteMtoNImplementor(MtoNImplementor m2nImpl)
    
public  CollectiongetCollectionByQuery(Query query)
    
public  ManageableCollectiongetCollectionByQuery(Class collectionClass, Query query)
    
public  intgetCount(Query query)
    
public  IteratorgetIteratorByQuery(Query query)
    
public  ObjectgetObjectByIdentity(Identity id)
    
public  ObjectgetObjectByQuery(Query query)
    
public  EnumerationgetPKEnumerationByQuery(Class PrimaryKeyClass, Query query)
    
public  IteratorgetReportQueryIteratorByQuery(Query query)
    
public  booleanisInTransaction()
    
public  voidremoveFromCache(Object obj)
    
public  voidretrieveAllReferences(Object pInstance)
    
public  voidretrieveReference(Object pInstance, String pAttributeName)
    
public  voidstore(Object obj, ObjectModification modification)
    
public  voidstore(Object obj)
    


Constructor Detail
PBPrevaylerImpl
public PBPrevaylerImpl(PBKey key, PersistenceBrokerFactoryIF pbf)(Code)
Constructor for PBPrevaylerImpl.
Parameters:
  key -
Parameters:
  pbf -




Method Detail
abortTransaction
public void abortTransaction() throws TransactionNotInProgressException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.abortTransaction



addMtoNImplementor
public void addMtoNImplementor(MtoNImplementor m2nImpl) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.addMtoNImplementor(MtoNImplementor)



beginTransaction
public void beginTransaction() throws TransactionInProgressException, TransactionAbortedException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.beginTransaction



clearCache
public void clearCache() throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.clearCache



close
public boolean close()(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.close



commitTransaction
public void commitTransaction() throws TransactionNotInProgressException, TransactionAbortedException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.commitTransaction



delete
public void delete(Object obj) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.delete(Object)



deleteByQuery
public void deleteByQuery(Query query) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.deleteByQuery(Query)



deleteMtoNImplementor
public void deleteMtoNImplementor(MtoNImplementor m2nImpl) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.deleteMtoNImplementor(MtoNImplementor)



getCollectionByQuery
public Collection getCollectionByQuery(Query query) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.getCollectionByQuery(Query)



getCollectionByQuery
public ManageableCollection getCollectionByQuery(Class collectionClass, Query query) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.getCollectionByQuery(ClassQuery)



getCount
public int getCount(Query query) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.getCount(Query)



getIteratorByQuery
public Iterator getIteratorByQuery(Query query) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.getIteratorByQuery(Query)



getObjectByIdentity
public Object getObjectByIdentity(Identity id) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.getObjectByIdentity(Identity)



getObjectByQuery
public Object getObjectByQuery(Query query) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.getObjectByQuery(Query)



getPKEnumerationByQuery
public Enumeration getPKEnumerationByQuery(Class PrimaryKeyClass, Query query) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.getPKEnumerationByQuery(ClassQuery)



getReportQueryIteratorByQuery
public Iterator getReportQueryIteratorByQuery(Query query) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.getReportQueryIteratorByQuery(Query)



isInTransaction
public boolean isInTransaction() throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.isInTransaction



removeFromCache
public void removeFromCache(Object obj) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.removeFromCache(Object)



retrieveAllReferences
public void retrieveAllReferences(Object pInstance) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.retrieveAllReferences(Object)



retrieveReference
public void retrieveReference(Object pInstance, String pAttributeName) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.retrieveReference(ObjectString)



store
public void store(Object obj, ObjectModification modification) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.store(ObjectObjectModification)



store
public void store(Object obj) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.store(Object)



Fields inherited from org.apache.ojb.broker.core.PersistenceBrokerImpl
protected BrokerHelper brokerHelper(Code)(Java Doc)
protected MtoNBroker mtoNBroker(Code)(Java Doc)
protected PersistenceBrokerFactoryIF pbf(Code)(Java Doc)
protected QueryReferenceBroker referencesBroker(Code)(Java Doc)

Methods inherited from org.apache.ojb.broker.core.PersistenceBrokerImpl
public synchronized void abortTransaction() throws TransactionNotInProgressException(Code)(Java Doc)
public void addMtoNImplementor(MtoNImplementor m2n) throws PersistenceBrokerException(Code)(Java Doc)
public synchronized void beginTransaction() throws TransactionInProgressException, TransactionAbortedException(Code)(Java Doc)
public void checkRefreshRelationships(Object obj, Identity oid, ClassDescriptor cld)(Code)(Java Doc)
public void clearCache() throws PersistenceBrokerException(Code)(Java Doc)
public boolean close()(Code)(Java Doc)
public synchronized void commitTransaction() throws TransactionNotInProgressException, TransactionAbortedException(Code)(Java Doc)
public Object createProxy(Class baseClassForProxy, Identity realSubjectsIdentity)(Code)(Java Doc)
public void delete(Object obj, boolean ignoreReferences) throws PersistenceBrokerException(Code)(Java Doc)
public void delete(Object obj) throws PersistenceBrokerException(Code)(Java Doc)
public void deleteByQuery(Query query) throws PersistenceBrokerException(Code)(Java Doc)
public void deleteMtoNImplementor(MtoNImplementor m2nImpl) throws PersistenceBrokerException(Code)(Java Doc)
public void destroy()(Code)(Java Doc)
public Object doGetObjectByIdentity(Identity id) throws PersistenceBrokerException(Code)(Java Doc)
protected void finalize()(Code)(Java Doc)
public ClassDescriptor getClassDescriptor(Class clazz) throws PersistenceBrokerException(Code)(Java Doc)
public ManageableCollection getCollectionByQuery(Class collectionClass, Query query) throws PersistenceBrokerException(Code)(Java Doc)
public Collection getCollectionByQuery(Query query) throws PersistenceBrokerException(Code)(Java Doc)
public int getCount(Query query) throws PersistenceBrokerException(Code)(Java Doc)
public DescriptorRepository getDescriptorRepository()(Code)(Java Doc)
public MaterializationCache getInternalCache()(Code)(Java Doc)
public Iterator getIteratorByQuery(Query query) throws PersistenceBrokerException(Code)(Java Doc)
protected OJBIterator getIteratorFromQuery(Query query, ClassDescriptor cld) throws PersistenceBrokerException(Code)(Java Doc)
public Object getObjectByIdentity(Identity id) throws PersistenceBrokerException(Code)(Java Doc)
public Object getObjectByQuery(Query query) throws PersistenceBrokerException(Code)(Java Doc)
public PBKey getPBKey()(Code)(Java Doc)
public Enumeration getPKEnumerationByQuery(Class primaryKeyClass, Query query) throws PersistenceBrokerException(Code)(Java Doc)
public ProxyFactory getProxyFactory()(Code)(Java Doc)
public QueryReferenceBroker getReferenceBroker()(Code)(Java Doc)
public RelationshipPrefetcherFactory getRelationshipPrefetcherFactory()(Code)(Java Doc)
public Iterator getReportQueryIteratorByQuery(Query query) throws PersistenceBrokerException(Code)(Java Doc)
public Class getTopLevelClass(Class clazz) throws PersistenceBrokerException(Code)(Java Doc)
public boolean hasClassDescriptor(Class clazz)(Code)(Java Doc)
public boolean isClosed()(Code)(Java Doc)
public boolean isInTransaction()(Code)(Java Doc)
public boolean isManaged()(Code)(Java Doc)
public void link(Object targetObject, ClassDescriptor cld, ObjectReferenceDescriptor rds, Object referencedObject, boolean insert)(Code)(Java Doc)
public void linkMtoN(Object obj, CollectionDescriptor cod, boolean insert)(Code)(Java Doc)
public void linkOneToMany(Object obj, CollectionDescriptor cod, boolean insert)(Code)(Java Doc)
public void linkOneToOne(Object obj, ClassDescriptor cld, ObjectReferenceDescriptor rds, boolean insert)(Code)(Java Doc)
public org.odbms.Query query()(Code)(Java Doc)
public void refresh()(Code)(Java Doc)
public void removeFromCache(Object objectOrIdentity) throws PersistenceBrokerException(Code)(Java Doc)
public void retrieveAllReferences(Object pInstance) throws PersistenceBrokerException(Code)(Java Doc)
public void retrieveReference(Object pInstance, String pAttributeName) throws PersistenceBrokerException(Code)(Java Doc)
public BrokerHelper serviceBrokerHelper()(Code)(Java Doc)
public ConnectionManagerIF serviceConnectionManager()(Code)(Java Doc)
public IdentityFactory serviceIdentity()(Code)(Java Doc)
public JdbcAccess serviceJdbcAccess()(Code)(Java Doc)
public ObjectCache serviceObjectCache()(Code)(Java Doc)
public SequenceManager serviceSequenceManager()(Code)(Java Doc)
public SqlGenerator serviceSqlGenerator()(Code)(Java Doc)
public StatementManagerIF serviceStatementManager()(Code)(Java Doc)
public void setClosed(boolean closed)(Code)(Java Doc)
public void setInTransaction(boolean inTransaction)(Code)(Java Doc)
public void setManaged(boolean managed)(Code)(Java Doc)
public void setPBKey(PBKey key)(Code)(Java Doc)
public void store(Object obj) throws PersistenceBrokerException(Code)(Java Doc)
public void store(Object obj, Identity oid, ClassDescriptor cld, boolean insert, boolean ignoreReferences)(Code)(Java Doc)
protected void store(Object obj, Identity oid, ClassDescriptor cld, boolean insert)(Code)(Java Doc)
public void store(Object obj, ObjectModification mod) throws PersistenceBrokerException(Code)(Java Doc)
public void unlinkFK(Object targetObject, ClassDescriptor cld, ObjectReferenceDescriptor rds)(Code)(Java Doc)
public void unlinkXtoN(Object obj, CollectionDescriptor col)(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.