Back to index

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

List of all members.

Public Member Functions

def initializeInstance
def cleanupInstance
def initializeField
def cleanupField
def getName
def __repr__
def __cmp__
def get
def set
def unset

Static Public Attributes

tuple security = ClassSecurityInfo()

Static Private Attributes

 __implements__ = IStorage,ILayer

Detailed Description

Base, abstract StorageLayer. Storages that need to manipulate
how they are initialized per instance and/or per field must
subclass and implement those methods

Definition at line 59 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.StorageLayer.cleanupField (   self,
  instance,
  field 
)

Definition at line 81 of file __init__.py.

00081 
00082     def cleanupField(self, instance, field):
00083         raise NotImplementedError('%s: cleanupField' % self.getName())
00084 
00085 setSecurity(StorageLayer)

Here is the call graph for this function:

def Archetypes.Storage.StorageLayer.cleanupInstance (   self,
  instance,
  item = None,
  container = None 
)

Reimplemented in Archetypes.Storage.MetadataStorage.

Definition at line 73 of file __init__.py.

00073 
00074     def cleanupInstance(self, instance, item=None, container=None):
00075         raise NotImplementedError('%s: cleanupInstance' % 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.StorageLayer.initializeField (   self,
  instance,
  field 
)

Reimplemented in Archetypes.Storage.MetadataStorage.

Definition at line 77 of file __init__.py.

00077 
00078     def initializeField(self, instance, field):
00079         raise NotImplementedError('%s: initializeField' % self.getName())

Here is the call graph for this function:

def Archetypes.Storage.StorageLayer.initializeInstance (   self,
  instance,
  item = None,
  container = None 
)

Reimplemented in Archetypes.Storage.MetadataStorage.

Definition at line 69 of file __init__.py.

00069 
00070     def initializeInstance(self, instance, item=None, container=None):
00071         raise NotImplementedError('%s: initializeInstance' % self.getName())

Here is the call 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

Archetypes.Storage.StorageLayer.__implements__ = IStorage,ILayer [static, private]

Reimplemented from Archetypes.Storage.Storage.

Reimplemented in Archetypes.Storage.MetadataStorage.

Definition at line 64 of file __init__.py.

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

Reimplemented from Archetypes.Storage.Storage.

Reimplemented in Archetypes.Storage.MetadataStorage.

Definition at line 66 of file __init__.py.


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