def _checkParams(self): CollaborationPluginServiceBase._checkParams(self) #puts the Conference in self._conf self._IndicoID = self._params.get('IndicoID', None) self._LOID = self._params.get('LOID', None) self._LODBID = self._params.get('LODBID', None) self._lectureTitle = self._params.get('lectureTitle', None) self._lectureSpeakers = self._params.get('lectureSpeakers', None) self._confId = self._params.get('conference', None) self._videoFormat = self._params.get('videoFormat', None) self._contentType = self._params.get('contentType', None) self._languages = self._params.get('languages', None) if not self._contentType: raise RecordingManagerException(_("No content type supplied (plain video or web lecture)")) if not self._IndicoID: raise RecordingManagerException(_("No IndicoID supplied")) if self._contentType == 'web_lecture': if not self._LODBID: raise RecordingManagerException(_("No LODBID supplied")) elif self._contentType == 'plain_video': if not self._videoFormat: raise RecordingManagerException(_("No video format supplied")) if not self._confId: raise RecordingManagerException(_("No conference ID supplied")) if not self._languages: raise RecordingManagerException(_("No languages supplied"))
def _checkParams(self): CollaborationPluginServiceBase._checkParams( self) #puts the Conference in self._conf self._IndicoID = self._params.get('IndicoID', None) self._LOID = self._params.get('LOID', None) self._LODBID = self._params.get('LODBID', None) self._lectureTitle = self._params.get('lectureTitle', None) self._lectureSpeakers = self._params.get('lectureSpeakers', None) self._confId = self._params.get('conference', None) self._videoFormat = self._params.get('videoFormat', None) self._contentType = self._params.get('contentType', None) self._languages = self._params.get('languages', None) if not self._contentType: raise RecordingManagerException( _("No content type supplied (plain video or web lecture)")) if not self._IndicoID: raise RecordingManagerException(_("No IndicoID supplied")) if self._contentType == 'web_lecture': if not self._LODBID: raise RecordingManagerException(_("No LODBID supplied")) elif self._contentType == 'plain_video': if not self._videoFormat: raise RecordingManagerException(_("No video format supplied")) if not self._confId: raise RecordingManagerException(_("No conference ID supplied")) if not self._languages: raise RecordingManagerException(_("No languages supplied"))
def _checkParams(self): CollaborationPluginServiceBase._checkParams(self) #puts the Conference in self._conf self._IndicoID = self._params.get('IndicoID', None) self._confId = self._params.get('conference', None) self._CDSID = self._params.get('CDSID', None) if not self._IndicoID: raise RecordingManagerException(_("No IndicoID supplied")) if not self._confId: raise RecordingManagerException(_("No conference ID supplied")) if not self._CDSID: raise RecordingManagerException(_("No CDS record ID supplied"))
def _checkParams(self): CollaborationPluginServiceBase._checkParams( self) #puts the Conference in self._conf self._IndicoID = self._params.get('IndicoID', None) self._confId = self._params.get('conference', None) self._CDSID = self._params.get('CDSID', None) if not self._IndicoID: raise RecordingManagerException(_("No IndicoID supplied")) if not self._confId: raise RecordingManagerException(_("No conference ID supplied")) if not self._CDSID: raise RecordingManagerException(_("No CDS record ID supplied"))
def __init__(self, params, aw): CollaborationPluginServiceBase.__init__(self, params, aw) self._participant = None