|
@@ -193,6 +193,10 @@ class DoCollectionManager:
|
|
|
return self._doHierarchy.getDoIds(self.getDo,
|
|
return self._doHierarchy.getDoIds(self.getDo,
|
|
|
parentId, zoneId, classType)
|
|
parentId, zoneId, classType)
|
|
|
|
|
|
|
|
|
|
+ def hasOwnerViewDoId(self, doId):
|
|
|
|
|
+ assert self.hasOwnerView()
|
|
|
|
|
+ return doId in self.doId2ownerView
|
|
|
|
|
+
|
|
|
def getOwnerViewDoList(self, classType):
|
|
def getOwnerViewDoList(self, classType):
|
|
|
assert self.hasOwnerView()
|
|
assert self.hasOwnerView()
|
|
|
l = []
|
|
l = []
|
|
@@ -284,6 +288,7 @@ class DoCollectionManager:
|
|
|
else:
|
|
else:
|
|
|
self.notify.warning('handleSetLocation: object %s not present' % self.getMsgChannel())
|
|
self.notify.warning('handleSetLocation: object %s not present' % self.getMsgChannel())
|
|
|
|
|
|
|
|
|
|
+ @exceptionLogged()
|
|
|
def storeObjectLocation(self, object, parentId, zoneId):
|
|
def storeObjectLocation(self, object, parentId, zoneId):
|
|
|
oldParentId = object.parentId
|
|
oldParentId = object.parentId
|
|
|
oldZoneId = object.zoneId
|
|
oldZoneId = object.zoneId
|