|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ojb.odmg.OJB
org.apache.ojb.odmg.OJBJ2EE_2
| Method Summary | |
Transaction |
currentTransaction()
Get the current Transaction for the thread. |
Database |
getDatabase(java.lang.Object obj)
Returns the current used database or null. |
static Implementation |
getInstance()
Return new instance of the Implementation class. |
DArray |
newDArray()
Create a new DArray object. |
DBag |
newDBag()
Create a new DBag object. |
DList |
newDList()
Create a new DList object. |
DMap |
newDMap()
Create a new DMap object. |
DSet |
newDSet()
Create a new DSet object. |
org.apache.ojb.odmg.oql.EnhancedOQLQuery |
newOQLQuery()
Create a new OQLQuery object. |
Transaction |
newTransaction()
Not supported in managed-environment. |
| Methods inherited from class org.apache.ojb.odmg.OJB |
getConfigurator, getCurrentDatabase, getCurrentPBKey, getObjectId, newDatabase, setConfigurator, setImplicitLocking |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static Implementation getInstance()
Implementation class.
public Database getDatabase(java.lang.Object obj)
OJB
getDatabase in interface ImplementationgetDatabase in class OJBpublic Transaction currentTransaction()
OJBTransaction for the thread.
currentTransaction in interface ImplementationcurrentTransaction in class OJBTransaction object or null if there is none.Transactionpublic org.apache.ojb.odmg.oql.EnhancedOQLQuery newOQLQuery()
OJBOQLQuery object.
newOQLQuery in interface ImplementationnewOQLQuery in class OJBOQLQuery object.OQLQuerypublic DList newDList()
OJBDList object.
newDList in interface ImplementationnewDList in class OJBDList object.DListpublic DBag newDBag()
OJBDBag object.
newDBag in interface ImplementationnewDBag in class OJBDBag object.DBagpublic DSet newDSet()
OJBDSet object.
newDSet in interface ImplementationnewDSet in class OJBDSet object.DSetpublic DArray newDArray()
OJBDArray object.
newDArray in interface ImplementationnewDArray in class OJBDArray object.DArraypublic DMap newDMap()
OJBDMap object.
newDMap in interface ImplementationnewDMap in class OJBDMap object.DMappublic Transaction newTransaction()
newTransaction in interface ImplementationnewTransaction in class OJBTransaction instance.Transaction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||