ToManyContRelationship is the ToMany side of a realtionship that
contains its related objects (like the normal Zope ObjectManager)
|
|
|
_safeOfObjects(self)
Try to safely return ZenPack objects rather than causing imports to
fail. |
source code
|
|
|
|
|
__getattr__(self,
name)
look in the two object stores for related objects |
source code
|
|
|
__hasattr__(self,
name)
check to see if we have an object by an id this will fail if passed a
short id and object is stored with fullid (ie: it is related not
contained) use hasobject to get around this issue |
source code
|
|
|
|
|
|
|
_setObject(self,
id,
object,
roles=None,
user=None,
set_owner=1)
ObjectManager interface to add contained object. |
source code
|
|
|
|
|
|
|
|
|
_add(self,
obj)
add an object to one side of a ToManyContRelationship. |
source code
|
|
|
_remove(self,
obj=None,
suppress_events=False)
remove object from our side of a relationship |
source code
|
|
|
_remoteRemove(self,
obj=None)
remove an object from the far side of this relationship if no object
is passed in remove all objects |
source code
|
|
|
_getOb(self,
id,
default=zenmarker)
look up in our local store and wrap in our aq_chain |
source code
|
|
|
|
|
objectIdsAll(self,
spec=None)
only return contained objects |
source code
|
|
|
|
|
objectValuesAll(self,
spec=None)
override to only return owned objects for many to many rel |
source code
|
|
|
objectValuesGen(self)
Generator that returns all related objects. |
source code
|
|
|
|
|
objectItemsAll(self,
spec=None)
over ride to only return owned objects for many to many rel |
source code
|
|
|
_getCopy(self,
container)
make new relation add copies of contained objs and refs if the
relation is a many to many |
source code
|
|
|
checkValidId(self,
id)
Is this a valid id for this container? |
source code
|
|
|
exportXml(self,
ofile,
ignorerels=[])
Return an xml representation of a ToManyContRelationship
<tomanycont id='interfaces'>
<object id='hme0'
module='Products.Confmon.IpInterface' class='IpInterface'>
<property></property> etc.... |
source code
|
|
|
|
Inherited from ToManyRelationshipBase.ToManyRelationshipBase :
countObjects ,
findObjectsById ,
manage_workspace ,
setCount
Inherited from RelCopySupport.RelCopyContainer :
manage_linkObjects ,
manage_unlinkObjects
Inherited from OFS.CopySupport.CopyContainer :
cb_dataItems ,
cb_dataValid ,
manage_CopyContainerAllItems ,
manage_CopyContainerFirstItem ,
manage_clone ,
manage_copyObjects ,
manage_cutObjects ,
manage_pasteObjects ,
manage_renameObject ,
manage_renameObjects ,
validClipData
Inherited from OFS.CopySupport.CopyContainer (private):
_get_id
Inherited from RelationshipBase.RelationshipBase :
cb_isCopyable ,
cb_isMoveable ,
getId ,
getPrimaryParent ,
getRelationshipManagerClass ,
remoteClass ,
remoteName ,
remoteType ,
remoteTypeName ,
removeRelation
Inherited from PrimaryPathObjectManager.PrimaryPathManager :
getPrimaryId ,
getPrimaryPath ,
getPrimaryUrlPath ,
primaryAq
Inherited from ZItem.ZItem :
__len__ ,
__repr__ ,
manage ,
manage_FTPlist ,
manage_FTPstat ,
manage_editedDialog ,
this ,
titleOrId ,
title_and_id ,
title_or_id ,
tpURL ,
tpValues
Inherited from OFS.CopySupport.CopySource :
cb_userHasCopyOrMovePermission
Inherited from OFS.CopySupport.CopySource (private):
_canCopy ,
_notifyOfCopyTo ,
_postCopy ,
_setId
Inherited from App.Management.Tabs :
filtered_manage_options ,
tabs_path_default ,
tabs_path_info
Inherited from OFS.Traversable.Traversable :
absolute_url ,
absolute_url_path ,
getPhysicalPath ,
restrictedTraverse ,
unrestrictedTraverse ,
virtual_url_path
|