Trees | Index | Help |
|
---|
Package ZenRelations :: Module RelCopySupport :: Class RelCopyContainer |
|
object
--+ |Base
--+ |CopyContainer
--+ | RelCopyContainer
PrimaryPathObjectManager
,
ToManyRelationshipBase
Method Summary | |
---|---|
link objects to relationship | |
Rename a particular sub-object | |
unlink objects from relationship | |
Return our relationship name from the UI. | |
get the source objects to link | |
When linking check that the user has "Copy or Move" permission on the relation. | |
check to see if this object is allowed to be pasted into this path | |
Inherited from CopyContainer :
cb_dataItems ,
cb_dataValid ,
manage_clone ,
manage_CopyContainerAllItems ,
manage_CopyContainerFirstItem ,
manage_copyObjects ,
manage_cutObjects ,
manage_pasteObjects ,
manage_renameObjects ,
validClipData ,
_delOb ,
_get_id ,
_getOb ,
_setOb
Inherited from Base :
__getattribute__ ,
__getnewargs__ ,
__getstate__ ,
__new__ ,
__reduce__ ,
__setstate__
Inherited from object :
__init__ ,
__delattr__ ,
__hash__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|
Method Details |
---|
manage_linkObjects(self, ids=None, cb_copy_data=None, REQUEST=None)link objects to relationship |
manage_renameObject(self, id, new_id, REQUEST=None)Rename a particular sub-object |
manage_unlinkObjects(self, ids=None, cb_copy_data=None, REQUEST=None)unlink objects from relationship |
_getRelName(self, ids)Return our relationship name from the UI. If there is more than one id defined raise because only one target relationship can be defined. If no ids are defined check to see that we are a ToManyRelationship and return self.id. |
_getSourceObjects(self, cb_copy_data, REQUEST)get the source objects to link |
_verifyObjectLink(self)When linking check that the user has "Copy or Move" permission on the relation. Can't use _verifyObjectPaste because there is an empty all_meta_types on ToManyRelations which causes it to falsely fail. |
_verifyObjectPaste(self, object, validate_src=1)check to see if this object is allowed to be pasted into this path |
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:14 2007 | http://epydoc.sf.net |