[Kde-pim] Query on Akonadi resource implementation

Robert Zwerus arzie at dds.nl
Fri Sep 21 21:54:32 BST 2007


On Friday 21 September 2007, Brad Hards wrote:
> Is the Akonadi design meant to have
> synchronizeCollection() just get a reference to all the items, and
> requestItemDelivery() actually provide the content?

Yes, you're right. Have a look at the vcard-resource for an example of how it 
can be implemented.

synchronizeCollection() makes sure every item on the Exchange server also 
exists in the Akonadi cache (by creating ItemAppendJobs for new items, with 
only a DataReference, containing their remote id).
requestItemDelivery() provides the actual content data of the item, by 
updating it via an ItemStoreJob, by using its setPayload()-function.
-- 
A Dieu,
 Robert Zwerus - WWW: http://zwering.adsl.utwente.nl
 ICQ UIN: 3943443 - MSNM: robert_zwerus at hotmail.com
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list