|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ODBExt
An interface to provider extended access to ODB.
Method Summary | |
---|---|
ExternalOID |
convertToExternalOID(OID oid)
Convert an OID to External OID |
TransactionId |
getCurrentTransactionId()
Gets the current transaction Id |
DatabaseId |
getDatabaseId()
Get the Database ID |
long |
getObjectCreationDate(OID oid)
Returns the object creation date in ms since 1/1/1970 |
ExternalOID |
getObjectExternalOID(java.lang.Object object)
Gets the external OID of an Object. |
long |
getObjectUpdateDate(OID oid,
boolean useCache)
Returns the object last update date in ms since 1/1/1970 |
int |
getObjectVersion(OID oid,
boolean useCache)
Returns the object version of the object that has the specified OID |
OID |
replace(OID oid,
java.lang.Object o)
Replace the object with the specific OID by the object passed as a parameter |
Method Detail |
---|
ExternalOID getObjectExternalOID(java.lang.Object object)
object
-
DatabaseId getDatabaseId()
ExternalOID convertToExternalOID(OID oid)
oid
-
TransactionId getCurrentTransactionId()
int getObjectVersion(OID oid, boolean useCache)
oid
- useCache
- if false, force a disk read. else use the version that has already been loaded in the cache
long getObjectCreationDate(OID oid)
oid
-
long getObjectUpdateDate(OID oid, boolean useCache)
oid
- useCache
- if false, force a disk read. else use the date that has already been loaded in the cache
OID replace(OID oid, java.lang.Object o)
oid
- o
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |