Package CMFSetup :: Module registry :: Class ProfileRegistry
[show private | hide private]
[frames | no frames]

Type ProfileRegistry

object --+        
         |        
      Base --+    
             |    
      Acquirer --+
                 |
                ProfileRegistry


Track registered profiles.
Method Summary
  __init__(self)
  clear(self)
  getProfileInfo(self, profile_id)
See IProfileRegistry.
  listProfileInfo(self)
See IProfileRegistry.
  listProfiles(self)
See IProfileRegistry.
  registerProfile(self, name, title, description, path, product, profile_type)
See IProfileRegistry.
    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', ('', 'listProfil...
int __allow_access_to_unprotected_subobjects__ = 1                                                                     
tuple __implements__ = (<Interface CMFSetup.interfaces.IProfil...
PermissionRole __roles__ = <PermissionRole object at 0xb58e6920>
tuple clear__roles__ = ()
PermissionRole listProfileInfo__roles__ = <PermissionRole object at 0xb...
PermissionRole listProfiles__roles__ = <PermissionRole object at 0xb58e...
PermissionRole registerProfile__roles__ = <PermissionRole object at 0xb...

Method Details

getProfileInfo(self, profile_id)

See IProfileRegistry.

listProfileInfo(self)

See IProfileRegistry.

listProfiles(self)

See IProfileRegistry.

registerProfile(self, name, title, description, path, product=None, profile_type=0)

See IProfileRegistry.

Class Variable Details

__ac_permissions__

Type:
tuple
Value:
(('Manage portal', ('', 'listProfileInfo', 'listProfiles', 'registerPr\
ofile')),)                                                             

__allow_access_to_unprotected_subobjects__

Type:
int
Value:
1                                                                     

__implements__

Type:
tuple
Value:
(<Interface CMFSetup.interfaces.IProfileRegistry at b588dbcc>,)        

__roles__

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

clear__roles__

Type:
tuple
Value:
()                                                                     

listProfileInfo__roles__

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

listProfiles__roles__

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

registerProfile__roles__

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

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