comparison frontends/src/bridge/DBus.py @ 477:031b0e0aaab8

plugin groupblog: subscriptions/notifications
author Goffi <goffi@goffi.org>
date Mon, 25 Jun 2012 00:08:16 +0200
parents 6cd04adddaea
children 2a072735e459
comparison
equal deleted inserted replaced
476:b9fd32b46306 477:031b0e0aaab8
250 return self.db_plugin_iface.getLastGroupBlogs(jid, max_items, profile_key, reply_handler=callback, error_handler=errback) 250 return self.db_plugin_iface.getLastGroupBlogs(jid, max_items, profile_key, reply_handler=callback, error_handler=errback)
251 251
252 def getMassiveLastGroupBlogs(self, publishers_type, publishers, max_items=10, profile_key='@DEFAULT@', callback=None, errback=None): 252 def getMassiveLastGroupBlogs(self, publishers_type, publishers, max_items=10, profile_key='@DEFAULT@', callback=None, errback=None):
253 return self.db_plugin_iface.getMassiveLastGroupBlogs(publishers_type, publishers, max_items, profile_key, reply_handler=callback, error_handler=errback) 253 return self.db_plugin_iface.getMassiveLastGroupBlogs(publishers_type, publishers, max_items, profile_key, reply_handler=callback, error_handler=errback)
254 254
255 def subscribeGroupBlog(self, jid, profile_key='@DEFAULT@', callback=None, errback=None):
256 return self.db_plugin_iface.subscribeGroupBlog(jid, profile_key, reply_handler=callback, error_handler=errback)
257
258 def massiveSubscribeGroupBlogs(self, publishers_type, publishers, profile_key='@DEFAULT@', callback=None, errback=None):
259 return self.db_plugin_iface.massiveSubscribeGroupBlogs(publishers_type, publishers, profile_key, reply_handler=callback, error_handler=errback)
260
255 def sendPersonalEvent(self, event_type, data, profile_key): 261 def sendPersonalEvent(self, event_type, data, profile_key):
256 return self.db_plugin_iface.sendPersonalEvent(event_type, data, profile_key) 262 return self.db_plugin_iface.sendPersonalEvent(event_type, data, profile_key)
257 263
258 def setMicroblogAccess(self, access="presence", profile_key='@DEFAULT@', callback=None, errback=None): 264 def setMicroblogAccess(self, access="presence", profile_key='@DEFAULT@', callback=None, errback=None):
259 return self.db_plugin_iface.setMicroblogAccess(access, profile_key, reply_handler=callback, error_handler=errback) 265 return self.db_plugin_iface.setMicroblogAccess(access, profile_key, reply_handler=callback, error_handler=errback)