|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.mn.communicator.DefaultContactListService
public class DefaultContactListService
The default implementation of IContactListService.
Created on 2004-12-11
| Constructor Summary | |
|---|---|
DefaultContactListService(Session session)
|
|
| Method Summary | |
|---|---|
void |
addContactListListener(ContactListListener contactListListener)
Adds ContactListListener object to the list of listeners
to be notified of events such as successfuly importing or
exporting contact list. |
void |
clearContactList()
Clears user's contact list from the Gadu-Gadu server. |
void |
exportContactList(java.util.Collection localUsers)
Exports user's contact list to the Gadu-Gadu server. |
void |
importContactList()
Imports user's contact list from the Gadu-Gadu server. |
protected void |
notifyContactListExported()
|
protected void |
notifyContactListReceived(java.util.Collection users)
|
void |
removeContactListlistener(ContactListListener contactListListener)
Removes ContactListListener object from the list of listeners
that are notified of events such as successfuly importing or exporting
contact list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
DefaultContactListService(Session session)
| Method Detail |
|---|
public void clearContactList()
throws GGException
IContactListService
clearContactList in interface IContactListServiceGGException - if there is an error while exporting contact.
GGSessionException - if we are currently not logged in.IContactListService.clearContactList()
public void exportContactList(java.util.Collection localUsers)
throws GGException
IContactListService
exportContactList in interface IContactListServicelocalUsers - collection of LocalUser objects.
GGException - if where is an error while exporting contact list.
GGSessionException - if we are currently not logged in.IContactListService.exportContactList(java.util.Collection)
public void importContactList()
throws GGException
IContactListService
importContactList in interface IContactListServiceGGException - if there is an error while importing contact list.
GGSessionException - if we are currently not logged in.IContactListService.importContactList()public void addContactListListener(ContactListListener contactListListener)
IContactListServiceContactListListener object to the list of listeners
to be notified of events such as successfuly importing or
exporting contact list.
addContactListListener in interface IContactListServicecontactListListener - the listener to be notified of contact list events.IContactListService.addContactListListener(pl.mn.communicator.event.ContactListListener)public void removeContactListlistener(ContactListListener contactListListener)
IContactListServiceContactListListener object from the list of listeners
that are notified of events such as successfuly importing or exporting
contact list.
removeContactListlistener in interface IContactListServicecontactListListener - the listener object to be removed from contact list events notification.IContactListService.removeContactListlistener(pl.mn.communicator.event.ContactListListener)protected void notifyContactListExported()
protected void notifyContactListReceived(java.util.Collection users)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||