Package ZenRelations :: Module ToManyRelationshipBase :: Class ToManyRelationshipBase
[show private | hide private]
[frames | no frames]

Type ToManyRelationshipBase

    object --+                
             |                
          Base --+            
                 |            
   RoleManager --+            
                 |            
       RoleManager --+        
                     |        
    object --+       |        
             |       |        
          Base --+   |        
                 |   |        
object --+       |   |        
         |       |   |        
      Base --+   |   |        
             |   |   |        
    CopySource --+   |        
                 |   |        
object --+       |   |        
         |       |   |        
      Base --+   |   |        
             |   |   |        
         Owned --+   |        
                 |   |        
object --+       |   |        
         |       |   |        
      Base --+   |   |        
             |   |   |        
          Tabs --+   |        
                 |   |        
   Traversable --+   |        
                 |   |        
             ZItem --+        
                     |        
    object --+       |        
             |       |        
          Base --+   |        
                 |   |        
          Acquirer --+        
                     |        
    PrimaryPathManager --+    
                         |    
          RelationshipBase --+
                             |
        object --+           |
                 |           |
              Base --+       |
                     |       |
         CopyContainer --+   |
                         |   |
          RelCopyContainer --+
                             |
                            ToManyRelationshipBase

Known Subclasses:
ToManyContRelationship, ToManyRelationship

Abstract base class for all ToMany relationships.
Method Summary
  countObjects(self)
Return the number of objects in this relationship
  findObjectsById(self, partid)
Return a list of objects by running find on their id
  manage_workspace(self, REQUEST)
if this has been called on us return our workspace if not redirect to the workspace of a related object
Inherited from RelCopyContainer: manage_linkObjects, manage_renameObject, manage_unlinkObjects
Inherited from CopyContainer: cb_dataItems, cb_dataValid, manage_clone, manage_CopyContainerAllItems, manage_CopyContainerFirstItem, manage_copyObjects, manage_cutObjects, manage_pasteObjects, manage_renameObjects, validClipData
Inherited from RelationshipBase: __call__, addRelation, cb_isCopyable, cb_isMoveable, checkRelation, getId, getPrimaryParent, getRelationshipManagerClass, hasobject, remoteClass, remoteName, remoteType, remoteTypeName, removeRelation
Inherited from PrimaryPathManager: getPrimaryId, getPrimaryPath, getPrimaryUrlPath, primaryAq
Inherited from ZItem: __len__, __repr__, manage, manage_afterAdd, manage_afterClone, manage_beforeDelete, manage_editedDialog, manage_FTPlist, manage_FTPstat, objectIds, objectItems, objectValues, raise_standardErrorMessage, this, title_and_id, title_or_id, tpURL, tpValues
Inherited from CopySource: cb_userHasCopyOrMovePermission
Inherited from Tabs: class_manage_path, filtered_manage_options, tabs_path_default, tabs_path_info
Inherited from Traversable: absolute_url, absolute_url_path, getPhysicalPath, restrictedTraverse, unrestrictedTraverse, virtual_url_path
Inherited from Owned: changeOwnership, getOwner, getOwnerTuple, getWrappedOwner, manage_fixupOwnershipAfterAdd, owner_info, userCanTakeOwnership
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 Base: __getattribute__, __getnewargs__, __getstate__, __reduce__, __setstate__
Inherited from object: __init__, __delattr__, __hash__, __reduce_ex__, __setattr__, __str__

Class Variable Summary
tuple __ac_permissions__ = ()
DTMLFile manage_main = <App.special_dtml.DTMLFile object at 0x2ff...
tuple manage_main__roles__ = ('Manager',)
tuple manage_options = ({'action': 'manage_main', 'help': ('OF...
tuple manage_workspace__roles__ = ('Manager',)
Inherited from CopyContainer: __implemented__, __providedBy__, __provides__, 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 ZItem: __allow_access_to_unprotected_subobjects__, __name__, __propsets__, getId__roles__, icon, id, isPrincipiaFolderish, isTopLevelPrincipiaApplicationObject, meta_type, REQUEST, title
Inherited from Tabs: class_manage_path__roles__, filtered_manage_options__roles__, manage_tabs, manage_tabs__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 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 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__

Method Details

countObjects(self)

Return the number of objects in this relationship

findObjectsById(self, partid)

Return a list of objects by running find on their id

manage_workspace(self, REQUEST)

if this has been called on us return our workspace if not redirect to the workspace of a related object
Overrides:
App.Management.Tabs.manage_workspace

Class Variable Details

__ac_permissions__

Type:
tuple
Value:
()                                                                     

manage_main

Type:
DTMLFile
Value:
<App.special_dtml.DTMLFile object at 0x2ffc2d0>                        

manage_main__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_options

Type:
tuple
Value:
({'action': 'manage_main',
  'help': ('OFSP', 'ObjectManager_Contents.stx'),
  'label': 'Contents'},)                                               

manage_workspace__roles__

Type:
tuple
Value:
('Manager',)                                                           

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