General PIM API Design
The basic idea of the API is to store entries such as contacts, events, and to-do elements in an appropriate database. In order to achieve this, the PIM API contains an interface PIMList providing methods to add, delete, and enumerate all the entries contained in the list. The concrete implementations of PIMList contained in the PIM API are ContactLists to store contacts, EventLists to store events, and ToDoLists to store to-do items. The PIM class provides static methods such as openContactList() to access the different list types.
PIMLists contain objects implementing the PIMElement interface. PIMElement encapsulates the common properties of the different PIM elements such as Contacts, Events, and ToDos. The interface ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access