comparison src/bridge/bridge_constructor/dbus_frontend_template.py @ 471:6cd04adddaea

core: exceptions moved to core plugin group blog: group blog now manage public microblogs
author Goffi <goffi@goffi.org>
date Wed, 04 Apr 2012 00:06:44 +0200
parents 5c916b99d0f6
children 031b0e0aaab8
comparison
equal deleted inserted replaced
470:5c916b99d0f6 471:6cd04adddaea
134 return self.db_plugin_iface.gatewayRegister(action, target, data, profile_key) 134 return self.db_plugin_iface.gatewayRegister(action, target, data, profile_key)
135 135
136 def getLastMicroblogs(self, jid, max_items, profile_key, callback=None, errback=None): 136 def getLastMicroblogs(self, jid, max_items, profile_key, callback=None, errback=None):
137 return self.db_plugin_iface.getLastMicroblogs(jid, max_items, profile_key, reply_handler=callback, error_handler=errback) 137 return self.db_plugin_iface.getLastMicroblogs(jid, max_items, profile_key, reply_handler=callback, error_handler=errback)
138 138
139 def sendGroupBlog(self, groups, message, profile_key): 139 def sendGroupBlog(self, access_type, access_list, message, profile_key='@DEFAULT@'):
140 return self.db_plugin_iface.sendGroupBlog(groups, message, profile_key) 140 return self.db_plugin_iface.sendGroupBlog(access_type, access_list, 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): 145 def getMassiveLastGroupBlogs(self, publishers_type, publishers, max_items=10, profile_key='@DEFAULT@', callback=None, errback=None):