|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DatabaseCatalogBase
This interface must be implemented by all catalogs
Method Summary | |
---|---|
Connector |
connector()
Return the connector reference |
StorageObject |
create_embedded_object(StorageHomeBase home_base,
java.lang.String storage_type_id)
This operation is used to create an embedded storage type |
StorageObject |
create_empty_object(StorageHomeBase home_base,
java.lang.String storage_type_id)
This operation is used to create a storage type |
StorageObject |
create_object(StorageHomeBase home_base,
java.lang.String storage_type_id)
This operation is used to create a storage type |
PID |
find(PID home_pid,
KeyBag[] keys)
This operation is used to find a storage type |
StorageObject |
incarnate(StorageHomeBase home_base,
byte[] storage_type_pid,
java.lang.String storage_type_id)
This operation is used to incarnate a storage type |
Parameter[] |
parameters()
Return parameters |
org.omg.CORBA.portable.InputStream[] |
read(PID home_pid,
PID type_pid,
int nb_members)
This operation is used to get a input access for a storagetype from the datastore |
void |
remove(PID home_pid,
PID type_pid)
This operation is used to delete a storage type |
void |
setBaseInfo(DatabaseConnector connector,
short access,
Parameter[] parameters)
This operation is used to set all base information required by a file catalog |
boolean |
stored(PID home_pid,
PID type_pid)
This operation is used to check if a storage type is already stored |
void |
write(PID home_pid,
PID type_pid,
org.omg.CORBA.portable.OutputStream[] output)
This operation is used to create a new entry into the datastore |
Methods inherited from interface org.omg.CosPersistentState.CatalogBaseOperations |
---|
access_mode, close, find_by_pid, find_storage_home, flush, free_all, refresh |
Method Detail |
---|
void setBaseInfo(DatabaseConnector connector, short access, Parameter[] parameters)
Connector connector()
Parameter[] parameters()
boolean stored(PID home_pid, PID type_pid)
org.omg.CORBA.portable.InputStream[] read(PID home_pid, PID type_pid, int nb_members) throws NotFoundException
NotFoundException
void write(PID home_pid, PID type_pid, org.omg.CORBA.portable.OutputStream[] output)
void remove(PID home_pid, PID type_pid)
PID find(PID home_pid, KeyBag[] keys) throws NotFoundException
NotFoundException
StorageObject incarnate(StorageHomeBase home_base, byte[] storage_type_pid, java.lang.String storage_type_id) throws NotFoundException
NotFoundException
StorageObject create_object(StorageHomeBase home_base, java.lang.String storage_type_id)
StorageObject create_empty_object(StorageHomeBase home_base, java.lang.String storage_type_id)
StorageObject create_embedded_object(StorageHomeBase home_base, java.lang.String storage_type_id)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |