Esempio n. 1
0
    def _checkParams(self):
        ProtectedModificationService._checkParams(self)

        pm = ParameterManager(self._params)

        l = locators.WebLocator()

        # TODO: This chain could (should) be repalced by a more generic
        # locator, something like:
        # l.setParams(self._params)
        # l.getObject() # retrieves whatever object has been extracted

        # will check cotnribution and session as well, as fallback cases
        l.setSubContribution(self._params, 0)
        # will check if it is compiling minutes
        self._compile = self._params.get("compile", False)

        self._target = l.getObject()

        # TODO: change str to some kind of html sanitization
        self._text = pm.extract("value", pType=str, allowEmpty=True)
Esempio n. 2
0
    def _checkParams(self):
        ProtectedModificationService._checkParams(self)

        pm = ParameterManager(self._params)

        l = locators.WebLocator()

        # TODO: This chain could (should) be repalced by a more generic
        # locator, something like:
        # l.setParams(self._params)
        # l.getObject() # retrieves whatever object has been extracted

        # will check cotnribution and session as well, as fallback cases
        l.setSubContribution(self._params, 0)
        # will check if it is compiling minutes
        self._compile = self._params.get("compile", False)

        self._target = l.getObject()

        # TODO: change str to some kind of html sanitization
        self._text = pm.extract("value", pType=str, allowEmpty=True)
Esempio n. 3
0
 def _checkParams(self):
     CategoryBase._checkParams(self)
     ProtectedModificationService._checkParams(self)
Esempio n. 4
0
 def _checkParams(self):
     MaterialBase._checkParams(self)
     ProtectedModificationService._checkParams(self)
Esempio n. 5
0
 def _checkParams(self):
     CategoryBase._checkParams(self)
     ProtectedModificationService._checkParams(self)
Esempio n. 6
0
 def _checkParams(self):
     ContributionBase._checkParams(self)
     ProtectedModificationService._checkParams(self)
Esempio n. 7
0
 def _checkParams(self):
     ConferenceBase._checkParams(self)
     ProtectedModificationService._checkParams(self)
Esempio n. 8
0
 def _checkParams(self):
     ConferenceBase._checkParams(self)
     ProtectedModificationService._checkParams(self)
Esempio n. 9
0
 def _checkParams(self):
     MaterialBase._checkParams(self)
     ProtectedModificationService._checkParams(self)
Esempio n. 10
0
 def _checkParams(self):
     ContributionBase._checkParams(self)
     ProtectedModificationService._checkParams(self)