Dekoh platform API

com.pramati.bfly.das.contacts.listeners
Interface ContactsListener

All Superinterfaces:
EventListener

public interface ContactsListener
extends EventListener

ContactsListener interface for receiving callbacks when a contact is added/updated/deleted.

The class that is interested in receiving such event callbacks should implement this interface (and all the methods it contains). The listener Object created can be registered with ContactsManager.

If any existing class which has registered with ContactsManager earlier and no more interested in receiving callbacks can deregister with ContactsManager.

Since:
14 Jun, 2007
See Also:
ContactsManager.registerContactsListener(ContactsListener), ContactsManager.unregisterContactsListener(ContactsListener)

Method Summary
 void contactAdded(ContactEvent event)
          Invoked after successfully adding a contact and synchronizing with central server.
 void contactDeleted(ContactEvent event)
          Invoked after successfully deleting a contact and synchronizing with central server.
 void contactsRefreshed(ContactEvent event)
          Invoked after a DekohDesktop is successfully refreshed with contacts information from central server.
 void contactUpdated(ContactEvent event)
          Invoked after successfully updating a contact details and synchronizing with central server.
 

Method Detail

contactAdded

void contactAdded(ContactEvent event)
Invoked after successfully adding a contact and synchronizing with central server.

Parameters:
event - ContactEvent

contactUpdated

void contactUpdated(ContactEvent event)
Invoked after successfully updating a contact details and synchronizing with central server.

Parameters:
event - ContactEvent

contactDeleted

void contactDeleted(ContactEvent event)
Invoked after successfully deleting a contact and synchronizing with central server.

Parameters:
event - ContactEvent

contactsRefreshed

void contactsRefreshed(ContactEvent event)
Invoked after a DekohDesktop is successfully refreshed with contacts information from central server.

Parameters:
event - ContactEvent

Dekoh platform API

© 2009 Pramati Technologies - Dekoh - Portal for Developers