comparison backend/couchdb/CouchDbBackend.py @ 132:63d6d60d37ff

new backend for using CouchDB as persistence mechanism ... currently all methods are unimplemented
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 22 Aug 2011 19:51:59 +0200
parents
children 9e1e6b96d8b0
comparison
equal deleted inserted replaced
130:1e6274cca035 132:63d6d60d37ff
1
2 import couchdb
3
4 class CouchDbBackend(object):
5 '''
6 Backend that uses CouchDB for persistence
7 '''
8
9 def __init__(self):
10 server = couchdb.Server()
11 self.database = server["feedtest"]
12
13 def preferences(self):
14 raise Exception("not yet implemented")
15
16 def getFeeds(self):
17 raise Exception("not yet implemented")
18
19 def toggleRead(self, feedEntry):
20 raise Exception("not yet implemented")
21
22 def markAllEntriesRead(self, feed):
23 raise Exception("not yet implemented")
24
25 def createFeed(self, url):
26 raise Exception("not yet implemented")
27
28 def updateFeed(self, feed, changes):
29 raise Exception("not yet implemented")
30
31 def deleteFeed(self, feed):
32 raise Exception("not yet implemented")
33
34 def markFeedEntriesAsRead(self, entries):
35 raise Exception("not yet implemented")
36
37 def updateAllFeeds(self):
38 raise Exception("not yet implemented")
39
40 def expireFeedEntries(self):
41 raise Exception("not yet implemented")
42
43 def dispose(self):
44 # nothing to do here
45 pass