| Home | Trees | Index | Help |
|
|---|
| Package amplee :: Package storage :: Class Storage |
|
object --+
|
Storage
| Method Summary | |
|---|---|
Creates a container within a storage. | |
Checks whether or not a info.key is valid for the storage | |
Returns the content of a resource | |
Returns the meta data of a resource | |
Returns a StorageResourceInfo instance. | |
Returns existing members as a dictionnary of the form members[resource_name] = StorageResourceInfo instance. | |
Persist the operations made | |
Puts the content of a resource | |
Sets the meta-data of a resource | |
Delete a resource | |
Delete meta-data | |
Shutdown the undrelying storage connections | |
| Inherited from object | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Method Details |
|---|
create_container(self, name)Creates a container within a storage. A container means whatever is meaningful for the subclass storage. A directory in the filesystem storage, a OBTree in the ZODB storage, a table in a database storage. |
exists(self, info)Checks whether or not a info.key is valid for the storage |
get_content(self, *args, **kwargs)Returns the content of a resource |
get_meta_data(self, *args, **kwargs)Returns the meta data of a resource |
info(self, collection_name, resource_name)Returns a StorageResourceInfo instance. |
ls(self, collection_name_or_id, ext=None)Returns existing members as a dictionnary of the form members[resource_name] = StorageResourceInfo instance. |
persist(self, *args, **kwargs)Persist the operations made |
put_content(self, *args, **kwargs)Puts the content of a resource |
put_meta_data(self, *args, **kwargs)Sets the meta-data of a resource |
remove_content(self, *args, **kwargs)Delete a resource |
remove_meta_data(self, *args, **kwargs)Delete meta-data |
shutdown(self)Shutdown the undrelying storage connections |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Jul 19 15:32:17 2007 | http://epydoc.sf.net |