Mercurial > libervia-backend
comparison src/bridge/bridge_constructor/dbus_frontend_template.py @ 477:031b0e0aaab8
plugin groupblog: subscriptions/notifications
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 25 Jun 2012 00:08:16 +0200 |
parents | 6cd04adddaea |
children | 2a072735e459 |
comparison
equal
deleted
inserted
replaced
476:b9fd32b46306 | 477:031b0e0aaab8 |
---|---|
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): | 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) | 146 return self.db_plugin_iface.getMassiveLastGroupBlogs(publishers_type, publishers, max_items, profile_key, reply_handler=callback, error_handler=errback) |
147 | 147 |
148 def subscribeGroupBlog(self, jid, profile_key='@DEFAULT@', callback=None, errback=None): | |
149 return self.db_plugin_iface.subscribeGroupBlog(jid, profile_key, reply_handler=callback, error_handler=errback) | |
150 | |
151 def massiveSubscribeGroupBlogs(self, publishers_type, publishers, profile_key='@DEFAULT@', callback=None, errback=None): | |
152 return self.db_plugin_iface.massiveSubscribeGroupBlogs(publishers_type, publishers, profile_key, reply_handler=callback, error_handler=errback) | |
153 | |
148 def sendPersonalEvent(self, event_type, data, profile_key): | 154 def sendPersonalEvent(self, event_type, data, profile_key): |
149 return self.db_plugin_iface.sendPersonalEvent(event_type, data, profile_key) | 155 return self.db_plugin_iface.sendPersonalEvent(event_type, data, profile_key) |
150 | 156 |
151 def setMicroblogAccess(self, access="presence", profile_key='@DEFAULT@', callback=None, errback=None): | 157 def setMicroblogAccess(self, access="presence", profile_key='@DEFAULT@', callback=None, errback=None): |
152 return self.db_plugin_iface.setMicroblogAccess(access, profile_key, reply_handler=callback, error_handler=errback) | 158 return self.db_plugin_iface.setMicroblogAccess(access, profile_key, reply_handler=callback, error_handler=errback) |