Пример #1
0
 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)
Пример #2
0
 def room(self):
     return RoomGUID.parse(self.roomGUID).getRoom()
Пример #3
0
 def _getGuid(self):
     if self.id == None or self.locationName == None:
         return None
     return RoomGUID(Location.parse(self.locationName), self.id)
Пример #4
0
 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)