plugin groupblog, D-Bus frontend: added getLastGroupBlogs and getMassiveLastGroupBlogs

This commit is contained in:
Goffi 2012-04-01 19:48:31 +02:00
commit 723b468fcc

View file

@ -142,6 +142,9 @@ class DBusBridgeFrontend(BridgeFrontend):
def getLastGroupBlogs(self, jid, max_items, profile_key, callback=None, errback=None):
return self.db_plugin_iface.getLastGroupBlogs(jid, max_items, profile_key, reply_handler=callback, error_handler=errback)
def getMassiveLastGroupBlogs(self, publishers_type, publishers, max_items=10, profile_key='@DEFAULT@', callback=None, errback=None):
return self.db_plugin_iface.getMassiveLastGroupBlogs(publishers_type, publishers, max_items, profile_key, reply_handler=callback, error_handler=errback)
def sendPersonalEvent(self, event_type, data, profile_key):
return self.db_plugin_iface.sendPersonalEvent(event_type, data, profile_key)