org.openorb.pss.connector.file
Interface FileCatalogBase

All Superinterfaces:
CatalogBase, CatalogBaseOperations, org.omg.CORBA.portable.IDLEntity, org.omg.CORBA.Object, java.io.Serializable
All Known Implementing Classes:
FileCatalog, FileSession, FileSessionPool, TransactionalFileSession

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, 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 an empty storage type
 org.omg.CORBA.portable.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, java.lang.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
 org.omg.CORBA.portable.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, org.omg.CORBA.portable.OutputStream output)
          This operation is used to create a new entry into the datastore
 java.util.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, java.lang.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
 
Methods inherited from interface org.omg.CosPersistentState.CatalogBaseOperations
access_mode, close, find_by_pid, find_storage_home, flush, free_all, refresh
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Method Detail

setBaseInfo

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


connector

Connector connector()
Return the connector reference


parameters

Parameter[] parameters()
Return parameters


stored

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


create_new_entry

org.omg.CORBA.portable.OutputStream create_new_entry(PID home_pid,
                                                     PID type_pid)
This operation is used to create a new entry into the datastorage


entry

org.omg.CORBA.portable.InputStream entry(PID home_pid,
                                         PID type_pid)
                                         throws NotFoundException
This operation is used to get a input access for a storagetype from te datastore

Throws:
NotFoundException

entry

void entry(PID home_pid,
           PID type_pid,
           org.omg.CORBA.portable.OutputStream output)
This operation is used to create a new entry into the datastore


delete

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


incarnate

StorageObject incarnate(StorageHomeBase home_base,
                        byte[] storage_type_pid,
                        java.lang.String storage_type_id)
                        throws NotFoundException
This operation is used to incarnate a storage type

Throws:
NotFoundException

create_object

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


create_empty_object

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


create_embedded_object

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


getSequentialAccess

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