OpenAB
1.0.1
|
Modules | |
CalDAV Storage Plugin | |
Provides OpenAB::PIMCalendarItem items using CalDAV protocol (tested with Google Contacts, iCloud). | |
CardDAV Storage Plugin | |
Provides OpenAB::PIMContactItem items using CardDAV protocol (tested with Google Contacts, iCloud). | |
EDS Storage Plugin | |
Provides storage for OpenAB::PIMContactItem items using Evolution Data Server. | |
Interface: OpenAB_Storage::Storage
The Storage plugin interface provide all the required functionalities to manage an storage of PIM items.
Storage are extensions of OpenAB::Source that can store items on local storage or in remote databases, all API calls are are synchronous and should block until requested operation finishes.
Generic interface is modeled over Sync Plugin specific requirements, it define a placeholder for all the functionalities required by the Sync Plugins.
Each type of PIMItem (OpenAB::PIMItemType) can define their own interface for accessing Storage providing functions specific to given item type (OpenAB_Storage::ContactsStorage). These interfaces can be used later to receive contents of Storage in more complex manner (eg. using search queries).
These functions are required to manage the basic Storage operations:
Additionally versions of above functions that supports batching are required:
These functions are required to manage more complicated Storage tasks, needed mostly during synchronization:
This iterator can be generated using the function:
The iterator can be parsed using this function:
It return an OpenAB_Storage::StorageItem will be returned
This element can be used to summarize the item using few keywords.
It is mainly used to associate an item to the Storage Unique ID.