def _checkParams(self): self._blocking = RoomBlockingBase.getById(int(self._params["blockingId"])); self._room = RoomGUID.parse(self._params["room"]).getRoom(); self._roomBlocking = self._blocking.getBlockedRoom(self._room)
def room(self): return RoomGUID.parse(self.roomGUID).getRoom()
def _getGuid(self): if self.id == None or self.locationName == None: return None return RoomGUID(Location.parse(self.locationName), self.id)
def _checkParams(self): self._blocking = RoomBlockingBase.getById( int(self._params["blockingId"])) self._room = RoomGUID.parse(self._params["room"]).getRoom() self._roomBlocking = self._blocking.getBlockedRoom(self._room)