Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tutorius
diff options
context:
space:
mode:
Diffstat (limited to 'tutorius')
-rw-r--r--tutorius/bundler.py38
1 files changed, 0 insertions, 38 deletions
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):