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