示例#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)