Exemplo n.º 1
0
Arquivo: rh.py Projeto: Ictp/indico
 def _checkParams(self, params):
     RHChatModifBase._checkParams(self, params)
     self._conf = ConferenceHolder().getById(params['confId'])
     self._chatroom = DBHelpers.getChatroom(params['chatroom'])
     self._sdate = params['sdate'] if params.has_key('sdate') else None
     self._edate = params['edate'] if params.has_key('edate') else None
     self._forEvent = bool(params['forEvent']) if params.has_key('forEvent') else None
     self._getAll = not self._sdate and not self._edate and not self._forEvent
Exemplo n.º 2
0
 def _checkParams(self, params):
     RHChatModifBase._checkParams(self, params)
     self._conf = ConferenceHolder().getById(params["confId"])
     self._chatroom = DBHelpers.getChatroom(params["chatroom"])
     self._sdate = params["sdate"] if params.has_key("sdate") else None
     self._edate = params["edate"] if params.has_key("edate") else None
     self._forEvent = bool(params["forEvent"]) if params.has_key("forEvent") else None
     self._getAll = not self._sdate and not self._edate and not self._forEvent
Exemplo n.º 3
0
 def _checkParams(self, params):
     RHChatModifBase._checkParams(self, params)
     self._conf = ConferenceHolder().getById(params['confId'])
     self._chatroom = DBHelpers.getChatroom(params['chatroom'])
     self._sdate = params['sdate'] if 'sdate' in params else None
     self._edate = params['edate'] if 'edate' in params else None
     self._forEvent = params.get('forEvent') == '1'
     self._getAll = not self._sdate and not self._edate and not self._forEvent
Exemplo n.º 4
0
 def _checkParams(self, params):
     RHChatModifBase._checkParams(self, params)
     self._conf = ConferenceHolder().getById(params['confId'])
     self._chatroom = DBHelpers.getChatroom(params['chatroom'])
     self._sdate = params['sdate'] if 'sdate' in params else None
     self._edate = params['edate'] if 'edate' in params else None
     self._forEvent = params.get('forEvent') == '1'
     self._getAll = not self._sdate and not self._edate and not self._forEvent
Exemplo n.º 5
0
 def _checkParams(self, params):
     RHChatModifBase._checkParams(self, params)
     self._conf = ConferenceHolder().getById(params['confId'])
     self._chatroom = DBHelpers.getChatroom(params['chatroom'])
     self._sdate = params['sdate'] if params.has_key('sdate') else None
     self._edate = params['edate'] if params.has_key('edate') else None
     self._forEvent = bool(
         params['forEvent']) if params.has_key('forEvent') else None
     self._getAll = not self._sdate and not self._edate and not self._forEvent