Mercurial > libervia-backend
diff src/bridge/bridge_constructor/dbus_frontend_template.py @ 470:5c916b99d0f6
plugin groupblog, D-Bus frontend: added getLastGroupBlogs and getMassiveLastGroupBlogs
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 01 Apr 2012 19:48:31 +0200 |
parents | db4c2b82bab6 |
children | 6cd04adddaea |
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/dbus_frontend_template.py Sun Apr 01 19:45:35 2012 +0200 +++ b/src/bridge/bridge_constructor/dbus_frontend_template.py Sun Apr 01 19:48:31 2012 +0200 @@ -142,6 +142,9 @@ 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)