Back to index

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

List of all members.

Public Member Functions

def useBrains

Static Public Attributes

 BASE_CLASS = UIDCatalogBrains
tuple security = ClassSecurityInfo()

Detailed Description

Definition at line 181 of file UIDCatalog.py.


Member Function Documentation

def Archetypes.UIDCatalog.PluggableCatalog.useBrains (   self,
  brains 
) [inherited]
Tricky brains overrides, we need to use our own class here
with annotation support

Definition at line 51 of file UIDCatalog.py.

00051 
00052     def useBrains(self, brains):
00053         """Tricky brains overrides, we need to use our own class here
00054         with annotation support
00055         """
00056         class plugbrains(self.BASE_CLASS, brains):
00057             pass
00058 
00059         schema = self.schema
00060         scopy = schema.copy()
00061 
00062         scopy['data_record_id_']=len(schema.keys())
00063         scopy['data_record_score_']=len(schema.keys())+1
00064         scopy['data_record_normalized_score_']=len(schema.keys())+2
00065 
00066         plugbrains.__record_schema__ = scopy
00067 
00068         self._v_brains = brains
00069         self._v_result_class = plugbrains
00070 
00071 InitializeClass(PluggableCatalog)


Member Data Documentation

Definition at line 182 of file UIDCatalog.py.

tuple Archetypes.UIDCatalog.PluggableCatalog.security = ClassSecurityInfo() [static, inherited]

Definition at line 48 of file UIDCatalog.py.


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