|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersistentObjectHome
This interface must be implemented by all storage home to be able to have a persistent database feature.
Method Summary | |
---|---|
StorageObject |
create_object()
Create a storage type |
StorageObjectRef |
create_reference(byte[] pid)
Create a storage type reference |
StorageObject |
deref(PID pid)
Return the storage type associated to a reference |
void |
flush(PersistentObject storage_type)
Flush a storage type incarnation |
java.lang.String[] |
getHomeMembers()
Return all member names |
PID |
getPID()
Return the home PID |
boolean |
is_stored(PID pid)
Return TRUE if a storage type is stored ( tested from its PID ). |
void |
refresh(PersistentObject storage_type)
Refresh a storage type incarnation |
void |
refreshAll()
Refresh all storage type incarations |
void |
remove_storage_type(PID pid)
Remove a storage type |
void |
setPersistentLinks(CatalogBase catalog,
PID pid)
Set some information after incarnation |
Method Detail |
---|
void setPersistentLinks(CatalogBase catalog, PID pid)
PID getPID()
void remove_storage_type(PID pid) throws NotFoundException
NotFoundException
boolean is_stored(PID pid)
void refresh(PersistentObject storage_type)
void refreshAll()
void flush(PersistentObject storage_type)
StorageObject deref(PID pid)
java.lang.String[] getHomeMembers()
StorageObjectRef create_reference(byte[] pid)
StorageObject create_object()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |