org.openorb.pss.connector.file
Interface FileCatalogBase
public
interface
FileCatalogBase
extends CatalogBase
This interface must be implemented by all catalogs
Author: Jerome Daniel
Method Summary |
Connector | connector()
Return the connector reference |
StorageObject | create_embedded_object(StorageHomeBase home_base, String storage_type_id)
This operation is used to create an embedded storage type |
StorageObject | create_empty_object(StorageHomeBase home_base, String storage_type_id)
This operation is used to create an empty storage type |
OutputStream | create_new_entry(PID home_pid, PID type_pid)
This operation is used to create a new entry into the datastorage |
StorageObject | create_object(StorageHomeBase home_base, String storage_type_id)
This operation is used to create a storage type |
void | delete(PID home_pid, PID type_pid)
This operation is used to delete a storage type |
InputStream | entry(PID home_pid, PID type_pid)
This operation is used to get a input access for a storagetype from te datastore |
void | entry(PID home_pid, PID type_pid, OutputStream output)
This operation is used to create a new entry into the datastore |
Enumeration | getSequentialAccess(PID home_pid)
This operation is used to return a enumeration for a sequential access |
StorageObject | incarnate(StorageHomeBase home_base, byte[] storage_type_pid, String storage_type_id)
This operation is used to incarnate a storage type |
Parameter[] | parameters()
Return parameters |
void | setBaseInfo(FileConnector 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 |
public Connector connector()
Return the connector reference
public
StorageObject create_embedded_object(StorageHomeBase home_base, String storage_type_id)
This operation is used to create an embedded storage type
public
StorageObject create_empty_object(StorageHomeBase home_base, String storage_type_id)
This operation is used to create an empty storage type
public OutputStream create_new_entry(
PID home_pid,
PID type_pid)
This operation is used to create a new entry into the datastorage
public
StorageObject create_object(StorageHomeBase home_base, String storage_type_id)
This operation is used to create a storage type
public void delete(
PID home_pid,
PID type_pid)
This operation is used to delete a storage type
public InputStream entry(
PID home_pid,
PID type_pid)
This operation is used to get a input access for a storagetype from te datastore
public void entry(
PID home_pid,
PID type_pid, OutputStream output)
This operation is used to create a new entry into the datastore
public Enumeration getSequentialAccess(
PID home_pid)
This operation is used to return a enumeration for a sequential access
public
StorageObject incarnate(StorageHomeBase home_base, byte[] storage_type_pid, String storage_type_id)
This operation is used to incarnate a storage type
public Parameter[] parameters()
Return parameters
public void setBaseInfo(
FileConnector connector, short access, Parameter[] parameters)
This operation is used to set all base information required by a file catalog
public boolean stored(
PID home_pid,
PID type_pid)
This operation is used to check if a storage type is already stored