예제 #1
0
    def _getAnswer(self):

        self.changeUserList(self._resource, self._newUserList)

        DictPickler.update(self._resource, self._newProperties)
        return self._resource.fossilize({"MaKaC.conference.Link": ILinkFossil,
                                        "MaKaC.conference.LocalFile": ILocalFileExtendedFossil})
예제 #2
0
    def _getAnswer(self):
        """
        Updates the material with the new properties
        """

        self.changeUserList(self._material, self._newUserList)

        DictPickler.update(self._material, self._newProperties)
        return DictPickler.pickle(self._material)
예제 #3
0
    def _getAnswer(self):
        """
        Updates the material with the new properties
        """

        self.changeUserList(self._material, self._newUserList)

        DictPickler.update(self._material, self._newProperties)            
        return DictPickler.pickle(self._material)
예제 #4
0
 def _getAnswer( self):
     
     if self._info == None:
         return UserGetPersonalInfo(self._params, self._aw.getIP(), self._aw.getSession()).process()
     
     pInfo = self._target.getPersonalInfo()
     
     DictPickler.update(pInfo, self._info)
     return DictPickler.pickle(pInfo)
예제 #5
0
    def __addPresenters(self, subcontrib):

        # add each presenter
        for presenterValues in self._presenters:

            # magically update a new ContributionParticipation with JSON data, using the DictPickler
            presenter = conference.SubContribParticipation()
            DictPickler.update(presenter, presenterValues)

            subcontrib.newSpeaker(presenter)
예제 #6
0
    def __addPresenters(self, subcontrib):

        # add each presenter
        for presenterValues in self._presenters:

            # magically update a new ContributionParticipation with JSON data, using the DictPickler
            presenter = conference.SubContribParticipation()
            DictPickler.update(presenter, presenterValues)

            subcontrib.newSpeaker(presenter)
예제 #7
0
    def _getAnswer(self):

        if self._info == None:
            return UserGetPersonalInfo(self._params, self._aw.getIP(),
                                       self._aw.getSession()).process()

        pInfo = self._target.getPersonalInfo()

        DictPickler.update(pInfo, self._info)
        return DictPickler.pickle(pInfo)
예제 #8
0
    def _getAnswer(self):

        self.changeUserList(self._resource, self._newUserList)

        DictPickler.update(self._resource, self._newProperties)
        return self._resource.fossilize({
            "MaKaC.conference.Link":
            ILinkFossil,
            "MaKaC.conference.LocalFile":
            ILocalFileExtendedFossil
        })
예제 #9
0
    def _getAnswer(self):

        self.changeUserList(self._resource, self._newUserList)

        DictPickler.update(self._resource, self._newProperties)
        return DictPickler.pickle(self._resource)
예제 #10
0
    def _getAnswer(self):

        self.changeUserList(self._resource, self._newUserList)

        DictPickler.update(self._resource, self._newProperties)
        return DictPickler.pickle(self._resource)