Example #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
Example #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
Example #3
0
 def getCustomAttributesManager():
     """Returns custom attributes manager, specific for the location"""
     return  Location.getDefaultLocation().factory.getCustomAttributesManager()
Example #4
0
 def getDALManager():
     """Returns data access layer manager, specific for the location"""
     return  Location.getDefaultLocation().factory.getDALManager()
Example #5
0
 def getEquipmentManager():
     """Returns equipment manager, specific for the location"""
     return Location.getDefaultLocation().factory.getEquipmentManager()
Example #6
0
 def newCrbsUser():
     """Instantiates new user object, specific for the location"""
     return Location.getDefaultLocation().factory.newCrbsUser()
Example #7
0
 def newRoomBlocking():
     """Instantiates new blocking object, specific for the location"""
     return Location.getDefaultLocation().factory.newRoomBlocking()
Example #8
0
 def newReservation():
     """Instantiates new reservation object, specific for the location"""
     return Location.getDefaultLocation().factory.newReservation()
Example #9
0
 def getCustomAttributesManager():
     """Returns custom attributes manager, specific for the location"""
     return  Location.getDefaultLocation().factory.getCustomAttributesManager()
Example #10
0
 def getDALManager():
     """Returns data access layer manager, specific for the location"""
     return  Location.getDefaultLocation().factory.getDALManager()
Example #11
0
 def getEquipmentManager():
     """Returns equipment manager, specific for the location"""
     return Location.getDefaultLocation().factory.getEquipmentManager()
Example #12
0
 def newCrbsUser():
     """Instantiates new user object, specific for the location"""
     return Location.getDefaultLocation().factory.newCrbsUser()
Example #13
0
 def newRoomBlocking():
     """Instantiates new blocking object, specific for the location"""
     return Location.getDefaultLocation().factory.newRoomBlocking()
Example #14
0
 def newReservation():
     """Instantiates new reservation object, specific for the location"""
     return Location.getDefaultLocation().factory.newReservation()