Package CMFSetup :: Module context :: Class DirectoryExportContext
[show private | hide private]
[frames | no frames]

Type DirectoryExportContext

object --+        
         |        
      Base --+    
             |    
      Acquirer --+
                 |
                DirectoryExportContext


Base class for objects that implicitly acquire attributes from containers
Method Summary
  __init__(self, tool, profile_path)
  getSite(self)
See ISetupContext.
  writeDataFile(self, filename, text, content_type, subdir)
See IExportContext.
    Inherited from Base
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __getnewargs__(...)
Get arguments to be passed to __new__
  __getstate__(...)
Get the object serialization state
  __reduce__(...)
Reduce an object to contituent parts for serialization
  __setstate__(...)
Set the object serialization state The state should be in one of 3 forms: - None Ignored - A dictionary In this case, the object's instance dictionary will be cleared and updated with the new state.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
tuple __ac_permissions__ = (('Manage portal', ('getSite', 'wri...
tuple __implements__ = (<Interface CMFSetup.interfaces.IExport...
PermissionRole getSite__roles__ = <PermissionRole object at 0xb4852e30>
PermissionRole writeDataFile__roles__ = <PermissionRole object at 0xb48...

Method Details

getSite(self)

See ISetupContext.

writeDataFile(self, filename, text, content_type, subdir=None)

See IExportContext.

Class Variable Details

__ac_permissions__

Type:
tuple
Value:
(('Manage portal', ('getSite', 'writeDataFile')),)                     

__implements__

Type:
tuple
Value:
(<Interface CMFSetup.interfaces.IExportContext at b588d8ac>,)          

getSite__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0xb4852e30>                                  

writeDataFile__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0xb4852e30>                                  

Generated by Epydoc 2.1 on Wed Nov 30 03:59:06 2005 http://epydoc.sf.net