Mercurial > libervia-backend
comparison 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 |
comparison
equal
deleted
inserted
replaced
469:db4c2b82bab6 | 470:5c916b99d0f6 |
---|---|
140 return self.db_plugin_iface.sendGroupBlog(groups, message, profile_key) | 140 return self.db_plugin_iface.sendGroupBlog(groups, message, profile_key) |
141 | 141 |
142 def getLastGroupBlogs(self, jid, max_items, profile_key, callback=None, errback=None): | 142 def getLastGroupBlogs(self, jid, max_items, profile_key, callback=None, errback=None): |
143 return self.db_plugin_iface.getLastGroupBlogs(jid, max_items, profile_key, reply_handler=callback, error_handler=errback) | 143 return self.db_plugin_iface.getLastGroupBlogs(jid, max_items, profile_key, reply_handler=callback, error_handler=errback) |
144 | 144 |
145 def getMassiveLastGroupBlogs(self, publishers_type, publishers, max_items=10, profile_key='@DEFAULT@', callback=None, errback=None): | |
146 return self.db_plugin_iface.getMassiveLastGroupBlogs(publishers_type, publishers, max_items, profile_key, reply_handler=callback, error_handler=errback) | |
147 | |
145 def sendPersonalEvent(self, event_type, data, profile_key): | 148 def sendPersonalEvent(self, event_type, data, profile_key): |
146 return self.db_plugin_iface.sendPersonalEvent(event_type, data, profile_key) | 149 return self.db_plugin_iface.sendPersonalEvent(event_type, data, profile_key) |
147 | 150 |
148 def setMicroblogAccess(self, access="presence", profile_key='@DEFAULT@', callback=None, errback=None): | 151 def setMicroblogAccess(self, access="presence", profile_key='@DEFAULT@', callback=None, errback=None): |
149 return self.db_plugin_iface.setMicroblogAccess(access, profile_key, reply_handler=callback, error_handler=errback) | 152 return self.db_plugin_iface.setMicroblogAccess(access, profile_key, reply_handler=callback, error_handler=errback) |