org.openorb.pss.connector.file
Interface PersistentObjectHome


public interface PersistentObjectHome

This interface must be implemented by all storage home to be able to have a persistent file feature.

Author:
Jerome Daniel

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
 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

setPersistentLinks

void setPersistentLinks(CatalogBase catalog,
                        PID pid)
Set some information after incarnation


getPID

PID getPID()
Return the home PID


remove_storage_type

void remove_storage_type(PID pid)
                         throws NotFoundException
Remove a storage type

Throws:
NotFoundException

is_stored

boolean is_stored(PID pid)
Return TRUE if a storage type is stored ( tested from its PID ).


refresh

void refresh(PersistentObject storage_type)
Refresh a storage type incarnation


refreshAll

void refreshAll()
Refresh all storage type incarations


flush

void flush(PersistentObject storage_type)
Flush a storage type incarnation


deref

StorageObject deref(PID pid)
Return the storage type associated to a reference


create_reference

StorageObjectRef create_reference(byte[] pid)
Create a storage type reference


create_object

StorageObject create_object()
Create a storage type