Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Private Member Functions
CMFCore.tests.test_CMFCatalogAware.DummyBrain Class Reference
Inheritance diagram for CMFCore.tests.test_CMFCatalogAware.DummyBrain:
Inheritance graph
[legend]
Collaboration diagram for CMFCore.tests.test_CMFCatalogAware.DummyBrain:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def getPath
def getObject

Public Attributes

 id
 ob
 path

Private Member Functions

def _unrestrictedGetObject

Detailed Description

Definition at line 69 of file test_CMFCatalogAware.py.


Member Function Documentation

Definition at line 70 of file test_CMFCatalogAware.py.

00070 
00071     def _unrestrictedGetObject(self):
00072         if self.id == 'missing':
00073             return self.getObject()
00074         return self.ob

Definition at line 59 of file test_CMFCatalogAware.py.

00059 
00060     def getObject(self):
00061         if self.id == 'missing':
00062             if self.ob.GETOBJECT_RAISES:
00063                 raise NotFound("missing")
00064             else:
00065                 return None
00066         if self.id == 'hop':
00067             raise ValueError("security problem for this object")
00068         return self.ob

Here is the caller graph for this function:

Definition at line 57 of file test_CMFCatalogAware.py.

00057 
00058     def getPath(self):
        return self.path

Here is the caller graph for this function:


Member Data Documentation

Reimplemented from CMFCore.tests.test_CMFCatalogAware.DummyOldBrain.

Definition at line 71 of file test_CMFCatalogAware.py.

Definition at line 54 of file test_CMFCatalogAware.py.

Definition at line 56 of file test_CMFCatalogAware.py.


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