comparison src/bridge/bridge_constructor/bridge_template.ini @ 1314:bb9c32249778 frontends_multi_profiles

core: added getEntitiesData which get cache data for several entities at once
author Goffi <goffi@goffi.org>
date Mon, 09 Feb 2015 21:39:51 +0100
parents faa1129559b8
children ba87b940f07a
comparison
equal deleted inserted replaced
1313:a8d7500090f6 1314:bb9c32249778
182 [getEntityData] 182 [getEntityData]
183 type=method 183 type=method
184 category=core 184 category=core
185 sig_in=sass 185 sig_in=sass
186 sig_out=a{ss} 186 sig_out=a{ss}
187 doc=Get data for an entity 187 doc=Get data in cache for an entity
188 doc_param_0=jid: entity's bare jid 188 doc_param_0=jid: entity's bare jid
189 doc_param_1=keys: list of keys to get 189 doc_param_1=keys: list of keys to get
190 doc_param_2=%(doc_profile)s 190 doc_param_2=%(doc_profile)s
191 doc_return=dictionary of asked key, 191 doc_return=dictionary of asked key,
192 if key doesn't exist, the resulting dictionary will neither have the key 192 if key doesn't exist, the resulting dictionary will not have the key
193
194 [getEntitiesData]
195 type=method
196 category=core
197 sig_in=asass
198 sig_out=a{sa{ss}}
199 doc=Get data in cache for several entities at once
200 doc_param_0=jids: list of entities bare jid, or empty list to have all jids in cache
201 doc_param_1=keys: list of keys to get
202 doc_param_2=%(doc_profile)s
203 doc_return=dictionary with jids as keys and dictionary of asked key as values
204 if key doesn't exist for a jid, the resulting dictionary will not have it
193 205
194 [asyncCreateProfile] 206 [asyncCreateProfile]
195 async= 207 async=
196 type=method 208 type=method
197 category=core 209 category=core