Package WebStack :: Package Repositories :: Module Directory :: Class SessionDirectoryRepository
[show private | hide private]
[frames | no frames]

Class SessionDirectoryRepository

DirectoryRepository --+
                      |
                     SessionDirectoryRepository


Method Summary
  create_data(self, edit_path, opener)
  create_resource(self, filename)
  open_resource(self, edit_path, mode)
  remove_resource(self, edit_path)
    Inherited from DirectoryRepository
  __init__(self, path, fsencoding, delay)
Initialise the repository using the given 'path' to indicate the location of the repository.
  __delitem__(self, key)
Remove the file associated with the given 'key'.
  __getitem__(self, key)
Return the contents of the file associated with the given 'key'.
  __setitem__(self, key, value)
Set the contents of the file associated with the given 'key' using the given 'value'.
  edit_path(self, key)
Return the full path to the 'key' in the filesystem provided that the file associated with the 'key' is locked for editing.
  full_path(self, key, edit)
Return the full path to the 'key' in the filesystem.
  has_key(self, key)
Return whether a file with the name specified by 'key is stored in the repository.
  items(self)
Return a list of (name, value) tuples for the files stored in the repository.
  keys(self)
Return the names of the files stored in the repository.
  lock(self, key, create, opener)
Lock the file associated with the given 'key'.
  unlock(self, key)
Unlock the file associated with the given 'key'.
  values(self)
Return the contents of the files stored in the repository.

Class Variable Summary
    Inherited from DirectoryRepository
str new_filename = '__new__'

Generated by Epydoc 2.1 on Tue Sep 18 23:39:16 2007 http://epydoc.sf.net