Package CHEM :: Package DB :: Package rdb :: Module database :: Class CategoryUpdater
[hide private]
[frames] | no frames]

Class CategoryUpdater



Class which handles high-level category updaets

Instance Methods [hide private]
 
__init__(self, rootFolder, fileName="project.properties")
constructor
 
getCategoryList(self)
Obtains a list of categories from the repository
 
getProjectList(self, category)
Obtains a list of projcts from a category from the repository
 
getVersionList(self, categoryName, projectName)
Obtains the list of versions for a project
 
getProjectProperty(self, property, propertyList)
greps for property = project.url, etc
 
getProjectProperties(self, categoryName, projectName, projectVersion)
Obtains the contents of the project properties file ...
 
updateDB(self, host, database, name, password)
Updates the database
Method Details [hide private]

getProjectProperties(self, categoryName, projectName, projectVersion)

 
Obtains the contents of the project properties file 

project.url
project.sourceInCategory
project.category

Returns the dict:
           {uri,
            sourceInCategory,
            duplicateCategory}