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
Connectorconnector()
Return the connector reference
StorageObjectcreate_embedded_object(StorageHomeBase home_base, String storage_type_id)
This operation is used to create an embedded storage type
StorageObjectcreate_empty_object(StorageHomeBase home_base, String storage_type_id)
This operation is used to create an empty storage type
OutputStreamcreate_new_entry(PID home_pid, PID type_pid)
This operation is used to create a new entry into the datastorage
StorageObjectcreate_object(StorageHomeBase home_base, String storage_type_id)
This operation is used to create a storage type
voiddelete(PID home_pid, PID type_pid)
This operation is used to delete a storage type
InputStreamentry(PID home_pid, PID type_pid)
This operation is used to get a input access for a storagetype from te datastore
voidentry(PID home_pid, PID type_pid, OutputStream output)
This operation is used to create a new entry into the datastore
EnumerationgetSequentialAccess(PID home_pid)
This operation is used to return a enumeration for a sequential access
StorageObjectincarnate(StorageHomeBase home_base, byte[] storage_type_pid, String storage_type_id)
This operation is used to incarnate a storage type
Parameter[]parameters()
Return parameters
voidsetBaseInfo(FileConnector connector, short access, Parameter[] parameters)
This operation is used to set all base information required by a file catalog
booleanstored(PID home_pid, PID type_pid)
This operation is used to check if a storage type is already stored

Method Detail

connector

public Connector connector()
Return the connector reference

create_embedded_object

public StorageObject create_embedded_object(StorageHomeBase home_base, String storage_type_id)
This operation is used to create an embedded storage type

create_empty_object

public StorageObject create_empty_object(StorageHomeBase home_base, String storage_type_id)
This operation is used to create an empty storage type

create_new_entry

public OutputStream create_new_entry(PID home_pid, PID type_pid)
This operation is used to create a new entry into the datastorage

create_object

public StorageObject create_object(StorageHomeBase home_base, String storage_type_id)
This operation is used to create a storage type

delete

public void delete(PID home_pid, PID type_pid)
This operation is used to delete a storage type

entry

public InputStream entry(PID home_pid, PID type_pid)
This operation is used to get a input access for a storagetype from te datastore

entry

public void entry(PID home_pid, PID type_pid, OutputStream output)
This operation is used to create a new entry into the datastore

getSequentialAccess

public Enumeration getSequentialAccess(PID home_pid)
This operation is used to return a enumeration for a sequential access

incarnate

public StorageObject incarnate(StorageHomeBase home_base, byte[] storage_type_pid, String storage_type_id)
This operation is used to incarnate a storage type

parameters

public Parameter[] parameters()
Return parameters

setBaseInfo

public void setBaseInfo(FileConnector connector, short access, Parameter[] parameters)
This operation is used to set all base information required by a file catalog

stored

public boolean stored(PID home_pid, PID type_pid)
This operation is used to check if a storage type is already stored