|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Manager responsible for object data storage.
Method Summary | |
void |
createObject(ObjectFieldData data,
StorableClass cls,
Transaction tx)
Creates an object with suplied data. |
void |
deleteObject(OID oid,
StorableClass cls,
Transaction tx)
Deletes an object. |
CacheInfo |
getCacheInfo()
Gets cache information. |
void |
invalidate()
Invalidates all cached data. |
void |
invalidate(java.lang.Class cls)
Invalidates cached data of all objects of a class. |
void |
invalidate(OID oid)
Invalidates cached data of an object. |
ObjectFieldData |
readObject(OID oid,
boolean summary,
StorableClass cls,
Transaction tx)
Reads an object's data. |
boolean |
updateObject(ObjectFieldData data,
StorableClass cls,
Transaction tx)
Updates object's data. |
Method Detail |
public void createObject(ObjectFieldData data, StorableClass cls, Transaction tx) throws java.sql.SQLException, StorageException
data
- Object's data.cls
- Object's class.tx
- Transaction within which the operation will be made.
java.sql.SQLException
StorageException
public ObjectFieldData readObject(OID oid, boolean summary, StorableClass cls, Transaction tx) throws java.sql.SQLException, StorageException, ObjectNotFoundException
oid
- Object's identification.summary
- Indicates if only summary should be read.cls
- Object's class.tx
- Transaction within which the operation will be made.
java.sql.SQLException
StorageException
ObjectNotFoundException
public boolean updateObject(ObjectFieldData data, StorableClass cls, Transaction tx) throws java.sql.SQLException, StorageException
data
- Object's data.cls
- Object's class.tx
- Transaction within which the operation will be made.
java.sql.SQLException
StorageException
public void deleteObject(OID oid, StorableClass cls, Transaction tx) throws java.sql.SQLException, StorageException
oid
- Object's identification.cls
- Object's class.tx
- Transaction within which the operation will be made.
java.sql.SQLException
StorageException
public void invalidate()
public void invalidate(OID oid)
oid
- Object's identification.public void invalidate(java.lang.Class cls)
cls
- Object's class.public CacheInfo getCacheInfo()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |