org.omtp.bondi.pim.contact.ContactManager Interface Reference

master contact management interface More...

List of all members.

Public Member Functions

AddressBook[] getAddressBooks ()
 Gets the available address books in the device.

Static Public Attributes

static final String ERROR_CONTACTMANAGER_UNKNOWN = "Unknown"
static final String ERROR_CONTACTMANAGER_INVALID_PARAMETERS = "Invalid parameters"
static final String ERROR_CONTACTMANAGER_INVALID_FILTER_SINTAX = "Invalid filter sintax"
static final String ERROR_CONTACTMANAGER_INVALID_PROPERTY = "Invalid property"
static final String ERROR_CONTACTMANAGER_MAX_SIZE_EXCEEDED = "Max size exceeded"
static final String ERROR_CONTACTMANAGER_READ_PERMISSION_DENIED = "pim.contact.read permission not satisfied"
static final String ERROR_CONTACTMANAGER_WRITE_PERMISSION_DENIED = "pim.contact.write permission not satisfied"


Detailed Description

master contact management interface

The Contact Manager interface offers methods to retrieve addressbooks.


Requirement(s):
- ()

    bondi.load('pim.contact', { id: 'pim/contact', success, failure });

Author:
Guillermo Caudevilla Laliena <guillermo.caudevilla@vodafone.com>

Pedro Fraca Tarancon <pfracat@corp.vodafone.es>

Version:
0.1

Member Function Documentation

AddressBook [] org.omtp.bondi.pim.contact.ContactManager.getAddressBooks (  ) 

Gets the available address books in the device.


Requirement(s):
- (REQ: IFC-PIM-400)
- (REQ: IFC-PIM-400.1)


API Feature: http://bondi.omtp.org/api/pim.contact.read

                        var addressbooks = pim.contact.getAddressBooks();
                        var sim = addressbooks[1];

Returns:
an Array of AddressBook objects modelling each address book available in the device. First position [0] will be asigned to the device native address book, second position [1] to the SIM address book.
Exceptions:
pim.contact.read permission not satisfied 


The documentation for this interface was generated from the following file:

Generated on Mon Feb 9 12:15:13 2009 for Bondi by  doxygen 1.5.7.1