def _checkParams( self, params ): from copy import copy self._params = copy(params) RH._checkParams( self, params ) self._addURL = "" if self._params.has_key( "addURL" ): self._addURL = self._params["addURL"] del self._params["addURL"] self._identityList = self._normaliseListParam(self._params.get("selectedPrincipals",[])) if self._params.has_key("selectedPrincipals"): del self._params["selectedPrincipals"]
def _checkParams(self, params): from copy import copy self._params = copy(params) RH._checkParams(self, params) self._addURL = "" if self._params.has_key("addURL"): self._addURL = self._params["addURL"] del self._params["addURL"] self._identityList = self._normaliseListParam( self._params.get("selectedPrincipals", [])) if self._params.has_key("selectedPrincipals"): del self._params["selectedPrincipals"]
def _checkParams( self, params ): self._params = params RH._checkParams( self, params ) self._save = params.get("Save", "")
def _process(self): return RH._process(self)
def _process(self): # ConferenceModifBase overrides this with functionality that # doesn't even belong in there... return RH._process(self)
def __init__(self): RH.__init__(self) self._wf = ""
def _checkParams(self, params): RH._checkParams(self, params) self.attachment = Attachment.find_one( id=request.view_args['attachment_id'], is_deleted=False)
def _checkProtection(self): RH._checkProtection(self) if not self.attachment.can_access(session.user): raise Forbidden
def __init__( self, req ): RH.__init__( self, req ) self._wf = ""
def __init__(self, req): RH.__init__(self, req) self._wf = ""
def _checkParams(self, params): self._params = params RH._checkParams(self, params) self._save = params.get("Save", "")
def __init__(self, req=None): RH.__init__(self) self._wf = ""
def _checkParams(self, params): RH._checkParams(self, params) self.attachment = Attachment.find_one(id=request.view_args['attachment_id'], is_deleted=False)