diff frontends/src/bridge/DBus.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 cf005701624b
children 6cd04adddaea
line wrap: on
line diff
--- a/frontends/src/bridge/DBus.py	Sun Apr 01 19:45:35 2012 +0200
+++ b/frontends/src/bridge/DBus.py	Sun Apr 01 19:48:31 2012 +0200
@@ -170,8 +170,8 @@
     def getRoomsJoined(self, profile_key):
         return self.db_plugin_iface.getRoomsJoined(profile_key)
 
-    def getRoomsSubjectss(self, profile_key):
-        return self.db_plugin_iface.getRoomsSubjectss(profile_key)
+    def getRoomsSubjects(self, profile_key):
+        return self.db_plugin_iface.getRoomsSubjects(profile_key)
 
     def joinMUC(self, room_jid, nick, options, profile_key):
         if options == None:
@@ -243,12 +243,15 @@
     def getLastMicroblogs(self, jid, max_items, profile_key, callback=None, errback=None):
         return self.db_plugin_iface.getLastMicroblogs(jid, max_items, profile_key, reply_handler=callback, error_handler=errback)
 
-    def getMblogNodes(self, profile_key, callback=None, errback=None):
-        return self.db_plugin_iface.getMblogNodes(profile_key, reply_handler=callback, error_handler=errback)
-    
     def sendGroupBlog(self, groups, message, profile_key):
         return self.db_plugin_iface.sendGroupBlog(groups, message, profile_key)
     
+    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)