comparison frontends/src/bridge/DBus.py @ 471:6cd04adddaea

core: exceptions moved to core plugin group blog: group blog now manage public microblogs
author Goffi <goffi@goffi.org>
date Wed, 04 Apr 2012 00:06:44 +0200
parents 5c916b99d0f6
children 031b0e0aaab8
comparison
equal deleted inserted replaced
470:5c916b99d0f6 471:6cd04adddaea
241 return self.db_plugin_iface.gatewayRegister(action, target, data, profile_key) 241 return self.db_plugin_iface.gatewayRegister(action, target, data, profile_key)
242 242
243 def getLastMicroblogs(self, jid, max_items, profile_key, callback=None, errback=None): 243 def getLastMicroblogs(self, jid, max_items, profile_key, callback=None, errback=None):
244 return self.db_plugin_iface.getLastMicroblogs(jid, max_items, profile_key, reply_handler=callback, error_handler=errback) 244 return self.db_plugin_iface.getLastMicroblogs(jid, max_items, profile_key, reply_handler=callback, error_handler=errback)
245 245
246 def sendGroupBlog(self, groups, message, profile_key): 246 def sendGroupBlog(self, access_type, access_list, message, profile_key='@DEFAULT@'):
247 return self.db_plugin_iface.sendGroupBlog(groups, message, profile_key) 247 return self.db_plugin_iface.sendGroupBlog(access_type, access_list, message, profile_key)
248 248
249 def getLastGroupBlogs(self, jid, max_items, profile_key, callback=None, errback=None): 249 def getLastGroupBlogs(self, jid, max_items, profile_key, callback=None, errback=None):
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):