From 90e26a0f3bacdc2db7f3645af43c6eaf30b500bf Mon Sep 17 00:00:00 2001 From: mike Date: Mon, 05 Oct 2009 14:46:40 +0000 Subject: Removing prototype Vault interface --- diff --git a/tutorius/bundler.py b/tutorius/bundler.py index 734c679..9cbd917 100644 --- a/tutorius/bundler.py +++ b/tutorius/bundler.py @@ -51,44 +51,6 @@ NODE_COMPONENT = "Component" NODE_SUBCOMPONENT = "SubComponent" NODE_SUBCOMPONENTLIST = "SubComponentList" -class Vault(object): - """ - The Vault is the primary interface for the storage and installation of tutorials - on the machine. It needs to accomplish the following tasks : - - query() : Lists the - - installTutorial() : - - deleteTutorial() : - - readTutorial() : - - saveTutorial() : - """ - def query(keyword="", category="", start_index=0, num_results=10): - """ - Returns a list of tutorial meta-data corresponding to the keywords - and category mentionned. - - @param keyword The keyword to look for in the tutorial title and description. - @param category The category in which to look for tutorials - @param start_index The first result to be shown (e.g. ) - @param num_results The number of results to show - @return The list of tutorial metadata that corresponds to the query parameters. - """ - raise NotImplementedError("The query function on the Vault is not implemented") - - def installTutorial(path ,force_install=False): - """ - Inserts the tutorial inside the Vault. Once installed, it will show up - """ - raise NotImplementedError("Installation in the Vault not supported yet") - - def deleteTutorial(tutorial_id): - raise NotImplementedError("") - - def readTutorial(tutorial_id): - raise NotImplementedError("") - - def saveTutorial(tutorial, metadata, resource_list): - raise NotImplementedError("") - class TutorialStore(object): def list_available_tutorials(self, activity_name, activity_vers): -- cgit v0.9.1