Example #1
0
    def resolveAlias(self, alias, load=True):

        key = RefList.resolveAlias(self, alias, load)
        if key is None and not self._flags & LinkedMap.NEW:
            key = PersistentRefs.resolveAlias(self, alias, load)

        return key
Example #2
0
    def resolveAlias(self, alias, load=True):

        key = RefList.resolveAlias(self, alias, load)
        if key is None and not self._flags & LinkedMap.NEW:
            key = PersistentRefs.resolveAlias(self, alias, load)

        return key
Example #3
0
    def _clear_(self):

        RefList._clear_(self)
        PersistentRefs._setItem(self, self._item)
Example #4
0
    def _copy_(self, orig):

        RefList._copy_(self, orig)
        PersistentRefs._copy_(self, orig)
Example #5
0
    def _setItem(self, item):

        RefList._setItem(self, item)
        PersistentRefs._setItem(self, item)
Example #6
0
    def _removeRef(self, other):

        link = RefList._removeRef(self, other)
        PersistentRefs._removeRef(self, other._uuid, link)
Example #7
0
    def __init__(self, view, item, name, otherName, readOnly, new, uuid):

        self.uuid = uuid or UUID()

        PersistentRefs.__init__(self, view)
        RefList.__init__(self, item, name, otherName, readOnly, new)
Example #8
0
    def _clear_(self):

        RefList._clear_(self)
        PersistentRefs._setItem(self, self._item)
Example #9
0
    def _copy_(self, orig):

        RefList._copy_(self, orig)
        PersistentRefs._copy_(self, orig)
Example #10
0
    def _setItem(self, item):

        RefList._setItem(self, item)
        PersistentRefs._setItem(self, item)
Example #11
0
    def _removeRef(self, other):

        link = RefList._removeRef(self, other)
        PersistentRefs._removeRef(self, other._uuid, link)
Example #12
0
    def __init__(self, view, item, name, otherName, readOnly, new, uuid):

        self.uuid = uuid or UUID()

        PersistentRefs.__init__(self, view)
        RefList.__init__(self, item, name, otherName, readOnly, new)