Package Products :: Package CMFCore :: Module Skinnable :: Class SkinnableObjectManager
[show private | hide private]
[frames | no frames]

Type SkinnableObjectManager

     object --+                
              |                
           Base --+            
                  |            
EtagSupport --+   |            
              |   |            
   LockableItem --+            
                  |            
           Resource --+        
                      |        
             Collection --+    
                          |    
         object --+       |    
                  |       |    
               Base --+   |    
                      |   |    
          CopyContainer --+    
                          |    
         object --+       |    
                  |       |    
               Base --+   |    
                      |   |    
             Navigation --+    
                          |    
         object --+       |    
                  |       |    
               Base --+   |    
                      |   |    
         object --+   |   |    
                  |   |   |    
         Persistent --+   |    
                      |   |    
             Persistent --+    
                          |    
         object --+       |    
                  |       |    
               Base --+   |    
                      |   |    
                   Tabs --+    
                          |    
            Traversable --+    
                          |    
         object --+       |    
                  |       |    
               Base --+   |    
                      |   |    
               Acquirer --+    
                          |    
              ObjectManager --+
                              |
                             SkinnableObjectManager

Known Subclasses:
PortalObjectBase

Generic object manager

This class provides core behavior for collections of heterogeneous objects.
Method Summary
  __getattr__(self, name)
Looks for the name in an object with wrappers that only reach up to the root skins folder.
  __of__(self, parent)
Sneakily sets up the portal skin then returns the wrapper that Acquisition.Implicit.__of__() would return.
  changeSkin(self, skinname)
Change the current skin.
  clearCurrentSkin(self)
Clear the current skin.
  getCurrentSkinName(self)
Return the current skin name.
  getSkin(self, name)
Returns the requested skin.
  getSkinNameFromRequest(self, REQUEST)
Returns the skin name from the Request.
  getSkinsFolderName(self)
  setupCurrentSkin(self, REQUEST)
Sets up skindata so that __getattr__ can find it.
  _checkId(self, id, allow_dup)
Override of ObjectManager._checkId().
Inherited from ObjectManager: __class_init__, __getitem__, all_meta_types, filtered_meta_types, hasObject, list_imports, manage_afterAdd, manage_afterClone, manage_beforeDelete, manage_delObjects, manage_exportObject, manage_FTPlist, manage_FTPstat, manage_hasId, manage_importObject, objectIds, objectIds_d, objectItems, objectItems_d, objectMap, objectMap_d, objectValues, objectValues_d, superValues, tpValues, _delOb, _delObject, _getOb, _importObjectFromFile, _setOb, _setObject, _subobject_permissions
Inherited from CopyContainer: cb_dataItems, cb_dataValid, manage_clone, manage_CopyContainerAllItems, manage_CopyContainerFirstItem, manage_copyObjects, manage_cutObjects, manage_pasteObjects, manage_renameObject, manage_renameObjects, validClipData, _get_id, _verifyObjectPaste
Inherited from Navigation: manage_zmi_logout
Inherited from Tabs: class_manage_path, filtered_manage_options, manage_workspace, tabs_path_default, tabs_path_info
Inherited from Acquirer: __new__
Inherited from Persistent: __getattribute__, bobobase_modification_time, locked_in_version, modified_in_version
Inherited from Persistent: __delattr__, __getstate__, __reduce__, __setattr__, __setstate__, _p_activate, _p_deactivate, _p_delattr, _p_getattr, _p_invalidate, _p_setattr
Inherited from Collection: dav__init, DELETE, HEAD, listDAVObjects, PUT
Inherited from Resource: COPY, dav__simpleifhandler, dav__validate, LOCK, manage_DAVget, MKCOL, MOVE, OPTIONS, PROPFIND, PROPPATCH, TRACE, UNLOCK
Inherited from LockableItem: wl_clearLocks, wl_delLock, wl_getLock, wl_hasLock, wl_isLocked, wl_lockItems, wl_lockmapping, wl_lockTokens, wl_lockValues, wl_setLock
Inherited from EtagSupport: http__etag, http__parseMatchList, http__processMatchHeaders, http__refreshEtag
Inherited from Traversable: absolute_url, absolute_url_path, getPhysicalPath, restrictedTraverse, unrestrictedTraverse, virtual_url_path
Inherited from Base: __getnewargs__
Inherited from object: __init__, __hash__, __reduce_ex__, __repr__, __str__

Class Variable Summary
tuple __ac_permissions__ = ()
NoneType changeSkin__roles__ = None                                                                  
NoneType clearCurrentSkin__roles__ = None                                                                  
NoneType getCurrentSkinName__roles__ = None                                                                  
tuple getSkin__roles__ = ()
NoneType getSkinNameFromRequest__roles__ = None                                                                  
tuple getSkinsFolderName__roles__ = ()
tuple meta_types = ()
NoneType setupCurrentSkin__roles__ = None                                                                  
Inherited from ObjectManager: __implemented__, __provides__, __roles__, isAnObjectManager, isPrincipiaFolderish, manage_addProduct, manage_afterAdd__roles__, manage_afterClone__roles__, manage_beforeDelete__roles__, manage_delObjects__roles__, manage_exportObject__roles__, manage_FTPlist__roles__, manage_FTPstat__roles__, manage_hasId__roles__, manage_importExportForm, manage_importExportForm__roles__, manage_importObject__roles__, manage_index_main, manage_index_main__roles__, manage_main, manage_main__roles__, manage_options, meta_type, objectIds__roles__, objectItems__roles__, objectValues__roles__, _objects
Inherited from CopyContainer: __providedBy__, manage_clone__roles__, manage_CopyContainerAllItems__roles__, manage_CopyContainerFirstItem__roles__, manage_copyObjects__roles__, manage_cutObjects__roles__, manage_pasteObjects__roles__, manage_renameForm, manage_renameForm__roles__, manage_renameObject__roles__, manage_renameObjects__roles__
Inherited from Navigation: manage, manage__roles__, manage_copyright, manage_copyright__roles__, manage_form_title, manage_form_title__roles__, manage_menu, manage_menu__roles__, manage_page_footer, manage_page_footer__roles__, manage_page_header, manage_page_header__roles__, manage_page_style.css, manage_page_style.css__roles__, manage_top_frame, manage_top_frame__roles__, manage_zmi_logout__roles__, manage_zmi_prefs, manage_zmi_prefs__roles__, zope_quick_start, zope_quick_start__roles__
Inherited from Tabs: class_manage_path__roles__, filtered_manage_options__roles__, manage_tabs, manage_tabs__roles__, manage_workspace__roles__
Inherited from Persistent: _p_changed, _p_jar, _p_mtime, _p_oid, _p_serial, _p_state
Inherited from Collection: __dav_collection__
Inherited from Resource: __dav_resource__, __http_methods__, COPY__roles__, DELETE__roles__, HEAD__roles__, listDAVObjects__roles__, LOCK__roles__, manage_DAVget__roles__, MOVE__roles__, OPTIONS__roles__, PROPFIND__roles__, PROPPATCH__roles__, TRACE__roles__, UNLOCK__roles__
Inherited from LockableItem: wl_clearLocks__roles__, wl_delLock__roles__, wl_getLock__roles__, wl_isLocked__roles__, wl_isLockedByUser__roles__, wl_lockItems__roles__, wl_lockmapping__roles__, wl_lockTokens__roles__, wl_lockValues__roles__, wl_setLock__roles__
Inherited from EtagSupport: __implements__
Inherited from Traversable: absolute_url__roles__, absolute_url_path__roles__, getPhysicalPath__roles__, getPhysicalRoot, getPhysicalRoot__roles__, restrictedTraverse__roles__, unrestrictedTraverse__roles__, virtual_url_path__roles__

Method Details

__getattr__(self, name)
(Qualification operator)

Looks for the name in an object with wrappers that only reach up to the root skins folder.

This should be fast, flexible, and predictable.

__of__(self, parent)

Sneakily sets up the portal skin then returns the wrapper that Acquisition.Implicit.__of__() would return.
Overrides:
Acquisition._Acquisition.Acquirer.__of__

changeSkin(self, skinname)

Change the current skin.

Can be called manually, allowing the user to change skins in the middle of a request.

clearCurrentSkin(self)

Clear the current skin.

getCurrentSkinName(self)

Return the current skin name.

getSkin(self, name=None)

Returns the requested skin.

getSkinNameFromRequest(self, REQUEST=None)

Returns the skin name from the Request.

setupCurrentSkin(self, REQUEST=None)

Sets up skindata so that __getattr__ can find it.

Can NOT be called manually to change skins in the middle of a request! Use changeSkin for that.

_checkId(self, id, allow_dup=0)

Override of ObjectManager._checkId().

Allows the user to create objects with IDs that match the ID of a skin object.
Overrides:
OFS.ObjectManager.ObjectManager.checkValidId

Class Variable Details

__ac_permissions__

Type:
tuple
Value:
()                                                                     

changeSkin__roles__

Type:
NoneType
Value:
None                                                                  

clearCurrentSkin__roles__

Type:
NoneType
Value:
None                                                                  

getCurrentSkinName__roles__

Type:
NoneType
Value:
None                                                                  

getSkin__roles__

Type:
tuple
Value:
()                                                                     

getSkinNameFromRequest__roles__

Type:
NoneType
Value:
None                                                                  

getSkinsFolderName__roles__

Type:
tuple
Value:
()                                                                     

meta_types

Type:
tuple
Value:
()                                                                     

setupCurrentSkin__roles__

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.1 on Thu Aug 16 09:55:10 2007 http://epydoc.sf.net