Changeset 343985 in indico


Ignore:
Timestamp:
08/23/11 15:38:51 (21 months ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
Branches:
master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, d9941f8582b36b24821a11ea5ba16fda6a457fb1
Children:
e8391a
Parents:
7d69d4
git-author:
Adrian Moennich <jerome.ernst.monnich@…> (05/17/11 12:06:13)
git-committer:
Jose Benito <jose.benito.gonzalez@…> (08/23/11 15:38:51)
Message:

[IMP] Include full name in exported rooms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/plugins/RoomBooking/export.py

    r7d69d4 r343985  
    2424from indico.web.http_api.responses import HTTPAPIError 
    2525from indico.web.wsgi import webinterface_handler_config as apache 
    26 from indico.util.fossilize import fossilize 
     26from indico.util.fossilize import fossilize, IFossil 
    2727from MaKaC.common.info import HelperMaKaCInfo 
    2828from MaKaC.plugins.RoomBooking.default.factory import Factory 
     
    5050        return expInt.room(self._location, self._idList) 
    5151 
     52class IRoomMetadataFossil(IFossil): 
     53 
     54    def id(self): 
     55        pass 
     56    def name(self): 
     57        pass 
     58    def locationName(self): 
     59        pass 
     60    def floor(self): 
     61        pass 
     62    def roomNr(self): 
     63        pass 
     64    def building(self): 
     65        pass 
     66    def getBookingUrl(self): 
     67        pass 
     68    def getFullName(self): 
     69        pass 
     70 
    5271class RoomExportInterface(ExportInterface): 
    5372    DETAIL_INTERFACES = { 
    54         'rooms': IRoomFossil 
     73        'rooms': IRoomMetadataFossil 
    5574    } 
    5675 
Note: See TracChangeset for help on using the changeset viewer.