Ignore:
Timestamp:
30/04/09 11:19:53 (11 years ago)
Author:
cbyrom
Message:

Add data access methods to retrieve all provider information and add
tests to exercise these new methods.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery/trunk/OAIInfoEditor/oai_info_editor/dal/editorfileclient.py

    r5238 r5240  
    225225    def getProviderInfo(self, providerInfoName): 
    226226        ''' 
    227         Get the change request details for the specified list 
     227        Get the provider info details for the specified name 
    228228        @param providerInfoName: name of the provider info to retrieve  
    229229        @return ProviderInfo: object with requested data - or None if no data found 
     
    240240             
    241241        return pi 
     242 
     243 
     244    def getAllProviderInfo(self): 
     245        ''' 
     246        Get all provider info 
     247        @return ProviderInfo list: list of ProviderInfo objects representing all provider info data 
     248        '''  
     249        logging.info("Retrieving all provider info data") 
     250        self.pic, fileName = self.__getProviderInfoData() 
     251             
     252        return self.pic.providerInfos 
    242253         
    243254         
Note: See TracChangeset for help on using the changeset viewer.