Modules | Files | Inheritance Tree | Inheritance Graph | Name Index
module Bonobo
interface Storage
Files: GNOME_Speech.idl
Bonobo-Storage-inheritance Bonobo-Unknown.html
Typedefs Summary:
sequence<StorageInfo>DirectoryList
longOpenMode

Operations Summary:
 StorageInfogetInfo(in string path, in StorageInfoFields mask) raises
 voidsetInfo(in string path, in StorageInfo info, in StorageInfoFields mask) raises
 StreamopenStream(in string path, in OpenMode mode) raises
 StorageopenStorage(in string path, in OpenMode mode) raises
 voidcopyTo(in Storage target) raises
DirectoryListlistContents(in string path, in StorageInfoFields mask) raises
 voiderase(in string path) raises
 voidrename(in string path_name, in string new_path_name) raises
 voidcommit() raises
 voidrevert() raises
 voidunImplemented1()
 voidunImplemented2()

Operations Inherited from Unknown
ref, unref, queryInterface

Operation Details:
 StorageInfo getInfo(in string path, in StorageInfoFields mask) raises (IOError, NoPermission, NotFound, NotSupported)

getInfo: @path: @mask:

Returns a StorageInfo structure which contains the name, content_type and size info.


 void setInfo(in string path, in StorageInfo info, in StorageInfoFields mask) raises (IOError, NoPermission, NotFound, NotSupported)

setInfo: @path: @info: @mask:


 Stream openStream(in string path, in OpenMode mode) raises (IOError, NotFound, NoPermission, NotStream, NameExists)

openStream: @path: path of the stream to open @mode: open flags

Opens a Stream whose name is @path.


 Storage openStorage(in string path, in OpenMode mode) raises (IOError, NotFound, NoPermission, NotStorage, NameExists)

openStorage: @path: path of the storage to open. @mode: open mode.

Returns a storage object for @path.


 void copyTo(in Storage target) raises (IOError, NoPermission)

copyTo: @target: where to copy this storage to.

Copies this storages contents to the @target storage


DirectoryList listContents(in string path, in StorageInfoFields mask) raises (IOError, NotStorage, NotFound, NotSupported)

listContents: @path: path that we want to examine. @mask:

Returns a list of all the Storage and Streams available at @path.


 void erase(in string path) raises (IOError, NoPermission, NotFound, NotEmpty)

erase: @path: path to the element to erase.

Destroys the element pointed to by @path. The element can be a Storage or a Stream.


 void rename(in string path_name, in string new_path_name) raises (IOError, NameExists, NotFound, NoPermission)

rename: @path_name: element name to rename @new_path_name: new name we want to use

Renames a Stream or Storage component inside a Storage.


 void commit() raises (IOError, NoPermission, NotSupported)

commit:

Commits any pending changes to the Storage since it was opened. This operation is syncronous.


 void revert() raises (IOError, NoPermission, NotSupported)

revert:

Discards any changes since the last commit.