Package Products :: Package CMFCore :: Module PortalObject :: Class PortalObjectBase
[show private | hide private]
[frames | no frames]

Type PortalObjectBase

                       OrderSupport --+    
                                      |    
                 object --+           |    
                          |           |    
                       Base --+       |    
                              |       |    
                CMFCatalogAware --+   |    
                                  |   |    
                    DynamicType --+   |    
                                  |   |    
         object --+               |   |    
                  |               |   |    
               Base --+           |   |    
                      |           |   |    
    EtagSupport --+   |           |   |    
                  |   |           |   |    
       LockableItem --+           |   |    
                      |           |   |    
               Resource --+       |   |    
                          |       |   |    
                 Collection --+   |   |    
                              |   |   |    
             object --+       |   |   |    
                      |       |   |   |    
                   Base --+   |   |   |    
                          |   |   |   |    
                FindSupport --+   |   |    
                              |   |   |    
             object --+       |   |   |    
                      |       |   |   |    
                   Base --+   |   |   |    
                          |   |   |   |    
         object --+       |   |   |   |    
                  |       |   |   |   |    
               Base --+   |   |   |   |    
                      |   |   |   |   |    
             CopySource --+   |   |   |    
                          |   |   |   |    
               Node --+   |   |   |   |    
                      |   |   |   |   |    
                Element --+   |   |   |    
                          |   |   |   |    
         object --+       |   |   |   |    
                  |       |   |   |   |    
               Base --+   |   |   |   |    
                      |   |   |   |   |    
                  Owned --+   |   |   |    
                          |   |   |   |    
         object --+       |   |   |   |    
                  |       |   |   |   |    
               Base --+   |   |   |   |    
                      |   |   |   |   |    
    EtagSupport --+   |   |   |   |   |    
                  |   |   |   |   |   |    
       LockableItem --+   |   |   |   |    
                      |   |   |   |   |    
               Resource --+   |   |   |    
                          |   |   |   |    
         object --+       |   |   |   |    
                  |       |   |   |   |    
               Base --+   |   |   |   |    
                      |   |   |   |   |    
                   Tabs --+   |   |   |    
                          |   |   |   |    
            Traversable --+   |   |   |    
                          |   |   |   |    
         object --+       |   |   |   |    
                  |       |   |   |   |    
               Base --+   |   |   |   |    
                      |   |   |   |   |    
            UndoSupport --+   |   |   |    
                          |   |   |   |    
                       Item --+   |   |    
                              |   |   |    
     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 --+   |   |    
                              |   |   |    
             object --+       |   |   |    
                      |       |   |   |    
                   Base --+   |   |   |    
                          |   |   |   |    
           Node --+       |   |   |   |    
                  |       |   |   |   |    
            Element --+   |   |   |   |    
                      |   |   |   |   |    
  ElementWithAttributes --+   |   |   |    
                          |   |   |   |    
            PropertyManager --+   |   |    
                              |   |   |    
             object --+       |   |   |    
                      |       |   |   |    
                   Base --+   |   |   |    
                          |   |   |   |    
            RoleManager --+   |   |   |    
                          |   |   |   |    
                RoleManager --+   |   |    
                              |   |   |    
                         Folder --+   |    
                                  |   |    
                   PortalFolderBase --+    
                                      |    
                           PortalFolder --+
                                          |
             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 --+
                                          |
                                         PortalObjectBase

Known Subclasses:
ZentinelPortal

Implements portal content management, but not UI details.
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.
  getSkinsFolderName(self)
Inherited from PortalFolder: manage_addPortalFolder
Inherited from OrderSupport: getDefaultSorting, getObjectPosition, manage_move_objects_down, manage_move_objects_to_bottom, manage_move_objects_to_top, manage_move_objects_up, manage_renameObject, manage_set_default_sorting, moveObjectsByDelta, moveObjectsDown, moveObjectsToBottom, moveObjectsToTop, moveObjectsUp, moveObjectToPosition, orderObjects, setDefaultSorting, tpValues
Inherited from PortalFolderBase: __init__, allowedContentTypes, checkIdAvailable, content_type, contentIds, contentItems, contentValues, decodeFolderFilter, Description, edit, encodeFolderFilter, indexObject, invokeFactory, listDAVObjects, listFolderContents, manage_addFolder, MKCOL_handler, PUT_factory, reindexObject, reindexObjectSecurity, setDescription, setTitle, Title, Type, unindexObject
Inherited from DynamicType: __before_publishing_traverse__, _getPortalTypeName, getActionInfo, getIcon, getPortalTypeName, getTypeInfo, icon
Inherited from CMFCatalogAware: manage_afterAdd, manage_afterClone, manage_beforeDelete, manage_workflowsTab, notifyWorkflowCreated, opaqueIds, opaqueItems, opaqueValues
Inherited from ObjectManager: __class_init__, __getitem__, all_meta_types, filtered_meta_types, hasObject, list_imports, 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
Inherited from CopyContainer: _old_manage_renameObject, cb_dataItems, cb_dataValid, manage_clone, manage_CopyContainerAllItems, manage_CopyContainerFirstItem, manage_copyObjects, manage_cutObjects, manage_pasteObjects, manage_renameObjects, validClipData
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 Persistent: __getattribute__, bobobase_modification_time, locked_in_version, modified_in_version
Inherited from Persistent: __delattr__, __getstate__, __reduce__, __setattr__, __setstate__
Inherited from Collection: dav__init, DELETE, HEAD, 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 PropertyManager: getProperty, getPropertyType, hasProperty, manage_addProperty, manage_changeProperties, manage_changePropertyTypes, manage_delProperties, manage_editProperties, propdict, propertyIds, propertyItems, propertyLabel, propertyMap, propertyValues, valid_property_id
Inherited from ElementWithAttributes: getAttribute, getAttributeNode, getAttributes
Inherited from Element: getChildNodes, getElementsByTagName, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getParentNode, getPreviousSibling, getTagName
Inherited from Node: getNodeValue, getOwnerDocument, hasChildNodes
Inherited from RoleManager: ac_inherited_permissions, access_debug_info, acquiredRolesAreUsedBy, get_local_roles, get_local_roles_for_userid, get_valid_userids, has_local_roles, manage_access, manage_defined_roles, manage_editRoles, manage_role, permission_settings, permissionsOfRole, possible_permissions, rolesOfPermission, userdefined_roles, users_with_local_role, valid_roles, validate_roles, validRoles
Inherited from RoleManager: manage_getPermissionMapping
Inherited from Item: __len__, __repr__, getId, manage_editedDialog, raise_standardErrorMessage, this, title_and_id, title_or_id, tpURL
Inherited from CopySource: cb_isCopyable, cb_isMoveable, cb_userHasCopyOrMovePermission
Inherited from Owned: changeOwnership, getOwner, getOwnerTuple, getWrappedOwner, manage_fixupOwnershipAfterAdd, owner_info, userCanTakeOwnership
Inherited from UndoSupport: get_request_var_or_attr, manage_undo_transactions, undoable_transactions
Inherited from FindSupport: PrincipiaFind, ZopeFind, ZopeFindAndApply
Inherited from SkinnableObjectManager: changeSkin, clearCurrentSkin, getCurrentSkinName, getSkin, getSkinNameFromRequest, setupCurrentSkin
Inherited from Base: __getnewargs__
Inherited from object: __hash__, __reduce_ex__, __str__

Class Variable Summary
tuple __ac_permissions__ = (('Add portal member', ()), ('Set o...
str meta_type = 'Portal Site'
tuple meta_types = ()
Inherited from PortalFolder: __implements__, manage_addPortalFolder__roles__, manage_options, portal_type
Inherited from OrderSupport: getDefaultSorting__roles__, getObjectPosition__roles__, has_order_support, manage_move_objects_down__roles__, manage_move_objects_to_bottom__roles__, manage_move_objects_to_top__roles__, manage_move_objects_up__roles__, manage_renameObject__roles__, manage_set_default_sorting__roles__, moveObjectsByDelta__roles__, moveObjectsDown__roles__, moveObjectsToBottom__roles__, moveObjectsToTop__roles__, moveObjectsUp__roles__, moveObjectToPosition__roles__, orderObjects__roles__, setDefaultSorting__roles__
Inherited from PortalFolderBase: allowedContentTypes__roles__, checkIdAvailable__roles__, contentIds__roles__, contentItems__roles__, contentValues__roles__, decodeFolderFilter__roles__, description, Description__roles__, edit__roles__, encodeFolderFilter__roles__, invokeFactory__roles__, listFolderContents__roles__, manage_addFolder__roles__, setDescription__roles__, setTitle__roles__, Title__roles__, Type__roles__
Inherited from DynamicType: getActionInfo__roles__, getIcon__roles__, getPortalTypeName__roles__, getTypeInfo__roles__, icon__roles__
Inherited from CMFCatalogAware: indexObject__roles__, manage_afterAdd__roles__, manage_afterClone__roles__, manage_beforeDelete__roles__, manage_workflowsTab__roles__, notifyWorkflowCreated__roles__, opaqueIds__roles__, opaqueItems__roles__, opaqueValues__roles__, reindexObject__roles__, reindexObjectSecurity__roles__, unindexObject__roles__
Inherited from Folder: __implemented__, __provides__
Inherited from ObjectManager: __roles__, isAnObjectManager, isPrincipiaFolderish, manage_addProduct, 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__, objectIds__roles__, objectItems__roles__, objectValues__roles__
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_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 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 Traversable: absolute_url__roles__, absolute_url_path__roles__, getPhysicalPath__roles__, getPhysicalRoot, getPhysicalRoot__roles__, restrictedTraverse__roles__, unrestrictedTraverse__roles__, virtual_url_path__roles__
Inherited from PropertyManager: __propsets__, getProperty__roles__, getPropertyType__roles__, hasProperty__roles__, manage_addProperty__roles__, manage_changeProperties__roles__, manage_changePropertyTypes__roles__, manage_delProperties__roles__, manage_editProperties__roles__, manage_propertiesForm, manage_propertiesForm__roles__, manage_propertyTypeForm, manage_propertyTypeForm__roles__, propdict__roles__, propertyIds__roles__, propertyItems__roles__, propertyLabel__roles__, propertyMap__roles__, propertysheets, propertyValues__roles__, title, valid_property_id__roles__
Inherited from RoleManager: __ac_local_roles__, __ac_roles__, ac_inherited_permissions__roles__, access_debug_info__roles__, aclAChecked, aclEChecked, aclPChecked, acquiredRolesAreUsedBy__roles__, manage_access__roles__, manage_acquiredForm, manage_acquiredForm__roles__, manage_acquiredPermissions__roles__, manage_addLocalRoles__roles__, manage_changePermissions__roles__, manage_defined_roles__roles__, manage_delLocalRoles__roles__, manage_editLocalRoles, manage_editLocalRoles__roles__, manage_editRoles__roles__, manage_listLocalRoles, manage_listLocalRoles__roles__, manage_permission__roles__, manage_permissionForm, manage_permissionForm__roles__, manage_role__roles__, manage_roleForm, manage_roleForm__roles__, manage_setLocalRoles__roles__, permission_settings__roles__, permissionMappingPossibleValues, permissionsOfRole__roles__, rolesOfPermission__roles__, selectedRoles, smallRolesWidget, userdefined_roles__roles__
Inherited from RoleManager: manage_getPermissionMapping__roles__, manage_setPermissionMapping__roles__
Inherited from Item: __allow_access_to_unprotected_subobjects__, __name__, getId__roles__, icon, id, isTopLevelPrincipiaApplicationObject, manage_editedDialog__roles__, REQUEST
Inherited from Owned: changeOwnership__roles__, getOwner__roles__, getOwnerTuple__roles__, getWrappedOwner__roles__, manage_changeOwnershipType__roles__, manage_fixupOwnershipAfterAdd__roles__, manage_owner, manage_owner__roles__, manage_takeOwnership__roles__, owner_info__roles__
Inherited from UndoSupport: manage_undo_transactions__roles__, manage_UndoForm, manage_UndoForm__roles__, undoable_transactions__roles__
Inherited from FindSupport: manage_findAdv, manage_findAdv__roles__, manage_findForm, manage_findForm__roles__, manage_findFrame, manage_findFrame__roles__, manage_findResult, manage_findResult__roles__, PrincipiaFind__roles__, ZopeFind__roles__, ZopeFindAndApply__roles__
Inherited from SkinnableObjectManager: changeSkin__roles__, clearCurrentSkin__roles__, getCurrentSkinName__roles__, getSkin__roles__, getSkinNameFromRequest__roles__, getSkinsFolderName__roles__, setupCurrentSkin__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__

Class Variable Details

__ac_permissions__

Type:
tuple
Value:
(('Add portal member', ()),
 ('Set own password', ()),
 ('Set own properties', ()),
 ('Mail forgotten password', ()),
 ('Request review', ()),
 ('Review portal content', ()),
 ('Access future portal content', ()))                                 

meta_type

Type:
str
Value:
'Portal Site'                                                          

meta_types

Type:
tuple
Value:
()                                                                     

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