comparison idavoll/backend.py @ 72:a914cad421c5

Added get_nodes() to BackendService.
author Ralph Meijer <ralphm@ik.nu>
date Sun, 07 Nov 2004 14:19:46 +0000
parents d617f8d19263
children ec354aab3949
comparison
equal deleted inserted replaced
71:a63bb34931ec 72:a914cad421c5
149 149
150 def supports_persistent_items(self): 150 def supports_persistent_items(self):
151 return True 151 return True
152 152
153 def get_node_type(self, node_id): 153 def get_node_type(self, node_id):
154 d = self.storage.get_node_type(node_id) 154 return self.storage.get_node_type(node_id)
155 return d 155
156 def get_nodes(self):
157 return self.storage.get_nodes()
156 158
157 class PublishService(service.Service): 159 class PublishService(service.Service):
158 160
159 __implements__ = IPublishService, 161 __implements__ = IPublishService,
160 162