Back to index

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

List of all members.

Public Member Functions

def __init__
def getId
def modified
def __call__

Public Attributes

 id
 modified

Static Private Attributes

int __allow_access_to_unprotected_subobjects__ = 1

Detailed Description

Definition at line 58 of file test_CachingPolicyManager.py.


Constructor & Destructor Documentation

Definition at line 62 of file test_CachingPolicyManager.py.

00062 
00063     def __init__(self, id):
00064         self.id = id
00065         self.modified = DateTime()


Member Function Documentation

Definition at line 73 of file test_CachingPolicyManager.py.

00073 
00074     def __call__(self):
00075         """ """
00076         if self.ZCacheable_isCachingEnabled():
00077             result = self.ZCacheable_get(default=None)
00078             if result is not None:
00079                 # We will always get None from RAMCacheManager and HTTP
00080                 # Accelerated Cache Manager but we will get
00081                 # something implementing the IStreamIterator interface
00082                 # from a "FileCacheManager"
00083                 return result
00084 
00085         self.ZCacheable_set(None)

Here is the caller graph for this function:

Definition at line 66 of file test_CachingPolicyManager.py.

00066 
00067     def getId(self):
00068         """ """
00069         return self.id

Definition at line 70 of file test_CachingPolicyManager.py.

00070 
00071     def modified( self ):
00072         return self.modified

Here is the caller graph for this function:


Member Data Documentation

Definition at line 60 of file test_CachingPolicyManager.py.

Definition at line 63 of file test_CachingPolicyManager.py.

Definition at line 64 of file test_CachingPolicyManager.py.


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