def __init__(self, view, item, name, otherName, dictKey, readOnly, new, uuid): self.uuid = uuid or UUID() PersistentRefs.__init__(self, view) RefList.__init__(self, view, item, name, otherName, dictKey, readOnly, (CLinkedMap.NEW if new else 0) | CLinkedMap.LOAD)
def _removeRef_(self, other): link = RefList._removeRef_(self, other) if link is not None: link = PersistentRefs._removeRef_(self, other.itsUUID, link) return link
def resolveAlias(self, alias, load=True): key = RefList.resolveAlias(self, alias, load) if key is None and load and not self._flags & CLinkedMap.NEW: key = PersistentRefs.resolveAlias(self, alias, load) return key
def _setOwner(self, item, name): RefList._setOwner(self, item, name) PersistentRefs._setItem(self, item)