Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Static Private Attributes
Archetypes.Storage.ReadOnlyStorage Class Reference
Inheritance diagram for Archetypes.Storage.ReadOnlyStorage:
Inheritance graph
[legend]
Collaboration diagram for Archetypes.Storage.ReadOnlyStorage:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def getName
def __repr__
def __cmp__
def get
def set
def unset

Static Public Attributes

tuple security = ClassSecurityInfo()

Static Private Attributes

 __implements__ = IStorage

Detailed Description

A marker storage class for used for read-only fields.

Definition at line 53 of file __init__.py.


Member Function Documentation

def Archetypes.Storage.Storage.__cmp__ (   self,
  other 
) [inherited]

Definition at line 36 of file __init__.py.

00036 
00037     def __cmp__(self, other):
00038         return cmp(self.getName(), other.getName())

Here is the call graph for this function:

def Archetypes.Storage.Storage.__repr__ (   self) [inherited]

Definition at line 33 of file __init__.py.

00033 
00034     def __repr__(self):
00035         return "<Storage %s>" % (self.getName())

Here is the call graph for this function:

def Archetypes.Storage.Storage.get (   self,
  name,
  instance,
  kwargs 
) [inherited]

Reimplemented in Archetypes.Storage.MetadataStorage, Archetypes.Storage.ObjectManagedStorage, and Archetypes.Storage.AttributeStorage.

Definition at line 40 of file __init__.py.

00040 
00041     def get(self, name, instance, **kwargs):
00042         raise NotImplementedError('%s: get' % self.getName())

Here is the call graph for this function:

Here is the caller graph for this function:

def Archetypes.Storage.Storage.getName (   self) [inherited]

Definition at line 30 of file __init__.py.

00030 
00031     def getName(self):
00032         return self.__class__.__name__

Here is the caller graph for this function:

def Archetypes.Storage.Storage.set (   self,
  name,
  instance,
  value,
  kwargs 
) [inherited]

Reimplemented in Archetypes.Storage.MetadataStorage, Archetypes.Storage.ObjectManagedStorage, and Archetypes.Storage.AttributeStorage.

Definition at line 44 of file __init__.py.

00044 
00045     def set(self, name, instance, value, **kwargs):
00046         raise NotImplementedError('%s: set' % self.getName())

Here is the call graph for this function:

Here is the caller graph for this function:

def Archetypes.Storage.Storage.unset (   self,
  name,
  instance,
  kwargs 
) [inherited]

Reimplemented in Archetypes.Storage.MetadataStorage, Archetypes.Storage.ObjectManagedStorage, and Archetypes.Storage.AttributeStorage.

Definition at line 48 of file __init__.py.

00048 
00049     def unset(self, name, instance, **kwargs):
00050         raise NotImplementedError('%s: unset' % self.getName())
00051 
00052 setSecurity(Storage)

Here is the call graph for this function:


Member Data Documentation

Reimplemented from Archetypes.Storage.Storage.

Definition at line 55 of file __init__.py.

tuple Archetypes.Storage.ReadOnlyStorage.security = ClassSecurityInfo() [static]

Reimplemented from Archetypes.Storage.Storage.

Definition at line 57 of file __init__.py.


The documentation for this class was generated from the following file: