Exemplo n.º 1
0
 def addToWatcher(self, obj):
     """Adds the given instance of an object to the ObjectWatcher's list of objects"""
     watcher = OW()
     watcher.add(obj)
Exemplo n.º 2
0
	def addToWatcher(self, obj):
		"""Adds the given instance of an object to the ObjectWatcher's list of objects"""
		watcher = OW()
		watcher.add(obj)
Exemplo n.º 3
0
 def getFromWatcher(self, id_):
     """Checks if the ObjectWatcher has an instance for this object with the given id and returns if it it does"""
     watcher = OW()
     return watcher.exists(self.targetClass(), id_)
Exemplo n.º 4
0
	def getFromWatcher(self, id_):
		"""Checks if the ObjectWatcher has an instance for this object with the given id and returns if it it does"""
		watcher = OW()
		return watcher.exists(self.targetClass(), id_)