comparison frontends/src/bridge/DBus.py @ 307:1e4575e12581

Group blog first draft - blog can now be sent, node are automatically created
author Goffi <goffi@goffi.org>
date Thu, 07 Apr 2011 22:23:48 +0200
parents e04ccf122bb6
children 58d2f0c6b595
comparison
equal deleted inserted replaced
306:169e7386650a 307:1e4575e12581
216 return self.db_req_iface.gatewayRegister(action, target, data, profile_key) 216 return self.db_req_iface.gatewayRegister(action, target, data, profile_key)
217 217
218 def getLastMicroblogs(self, jid, max_items, profile_key='@DEFAULT@', callback=None, errback=None): 218 def getLastMicroblogs(self, jid, max_items, profile_key='@DEFAULT@', callback=None, errback=None):
219 return self.db_comm_iface.getLastMicroblogs(jid, max_items, profile_key, reply_handler=callback, error_handler=errback) 219 return self.db_comm_iface.getLastMicroblogs(jid, max_items, profile_key, reply_handler=callback, error_handler=errback)
220 220
221 def getMblogNodes(self, profile_key='@DEFAULT@', callback=None, errback=None):
222 return self.db_comm_iface.getMblogNodes(profile_key, reply_handler=callback, error_handler=errback)
223
224 def sendGroupBlog(self, groups, message, profile_key='@DEFAULT@'):
225 return self.db_comm_iface.sendGroupBlog(groups, message, profile_key)
226
221 def sendPersonalEvent(self, event_type, data, profile_key='@DEFAULT@'): 227 def sendPersonalEvent(self, event_type, data, profile_key='@DEFAULT@'):
222 return self.db_comm_iface.sendPersonalEvent(event_type, data, profile_key) 228 return self.db_comm_iface.sendPersonalEvent(event_type, data, profile_key)