Пример #1
0
 def _getAnswer(self):
     ah = AvatarHolder()
     for user in self._userList:
         convener = SessionChair()
         convener.setDataFromAvatar(ah.getById(user["id"]))
         self._session.addConvener(convener)
     return self._getConvenerList()
Пример #2
0
 def _getAnswer(self):
     ah = AvatarHolder()
     for user in self._userList:
         convener = SessionChair()
         convener.setDataFromAvatar(ah.getById(user["id"]))
         self._session.addConvener(convener)
     return self._getConvenerList()
Пример #3
0
 def _getAnswer(self):
     ah = AvatarHolder()
     convener = SessionChair()
     convener.setDataFromAvatar(ah.getById(self._chairId))
     self._session.addConvener(convener)
     # get both list for the result
     self._kindOfList = "manager"
     managerResult = self._getSessionChairList()
     self._kindOfList = "coordinator"
     coordinatorResult = self._getSessionChairList()
     return [managerResult, coordinatorResult]
Пример #4
0
 def _getAnswer(self):
     ah = AvatarHolder()
     convener = SessionChair()
     convener.setDataFromAvatar(ah.getById(self._chairId))
     self._session.addConvener(convener)
     # get both list for the result
     self._kindOfList = "manager"
     managerResult = self._getSessionChairList()
     self._kindOfList = "coordinator"
     coordinatorResult = self._getSessionChairList()
     return [managerResult, coordinatorResult]
Пример #5
0
 def _getAnswer(self):
     conv = SessionChair()
     self._setConvenerData(conv)
     self._session.addConvener(conv)
     if (self._userData.get("manager", False)):
         # Add to pending managers list
         self._session.grantModification(conv)
     if (self._userData.get("coordinator", False)):
         # Add to pending managers list
         self._session.addCoordinator(conv)
     return self._getConvenerList()