Пример #1
0
 def newRoom( locationName="" ):
     """Instantiates new room object, specific for the location"""
     location = Location.parse(locationName)
     if not location:
         location = Location.getDefaultLocation()
     room = location.factory.newRoom()
     room.locationName = location.friendlyName
     return room
Пример #2
0
 def newRoom( locationName="" ):
     """Instantiates new room object, specific for the location"""
     location = Location.parse(locationName)
     if not location:
         location = Location.getDefaultLocation()
     room = location.factory.newRoom()
     room.locationName = location.friendlyName
     return room
Пример #3
0
 def getCustomAttributesManager():
     """Returns custom attributes manager, specific for the location"""
     return  Location.getDefaultLocation().factory.getCustomAttributesManager()
Пример #4
0
 def getDALManager():
     """Returns data access layer manager, specific for the location"""
     return  Location.getDefaultLocation().factory.getDALManager()
Пример #5
0
 def getEquipmentManager():
     """Returns equipment manager, specific for the location"""
     return Location.getDefaultLocation().factory.getEquipmentManager()
Пример #6
0
 def newCrbsUser():
     """Instantiates new user object, specific for the location"""
     return Location.getDefaultLocation().factory.newCrbsUser()
Пример #7
0
 def newRoomBlocking():
     """Instantiates new blocking object, specific for the location"""
     return Location.getDefaultLocation().factory.newRoomBlocking()
Пример #8
0
 def newReservation():
     """Instantiates new reservation object, specific for the location"""
     return Location.getDefaultLocation().factory.newReservation()
Пример #9
0
 def getCustomAttributesManager():
     """Returns custom attributes manager, specific for the location"""
     return  Location.getDefaultLocation().factory.getCustomAttributesManager()
Пример #10
0
 def getDALManager():
     """Returns data access layer manager, specific for the location"""
     return  Location.getDefaultLocation().factory.getDALManager()
Пример #11
0
 def getEquipmentManager():
     """Returns equipment manager, specific for the location"""
     return Location.getDefaultLocation().factory.getEquipmentManager()
Пример #12
0
 def newCrbsUser():
     """Instantiates new user object, specific for the location"""
     return Location.getDefaultLocation().factory.newCrbsUser()
Пример #13
0
 def newRoomBlocking():
     """Instantiates new blocking object, specific for the location"""
     return Location.getDefaultLocation().factory.newRoomBlocking()
Пример #14
0
 def newReservation():
     """Instantiates new reservation object, specific for the location"""
     return Location.getDefaultLocation().factory.newReservation()