|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IContactListService
Through this service client can either clear, export or import contact list to the Gadu-Gadu server.
Created on 2004-11-27
| 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 users)
Exports user's contact list to the Gadu-Gadu server. |
void |
importContactList()
Imports user's contact list from the Gadu-Gadu server. |
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. |
| Method Detail |
|---|
void clearContactList()
throws GGException
GGException - if there is an error while exporting contact.
GGSessionException - if we are currently not logged in.
void exportContactList(java.util.Collection users)
throws GGException
users - collection of LocalUser objects.
GGException - if where is an error while exporting contact list.
GGSessionException - if we are currently not logged in.
java.lang.NullPointerException - if users collection is null.
void importContactList()
throws GGException
GGException - if there is an error while importing contact list.
GGSessionException - if we are currently not logged in.void addContactListListener(ContactListListener contactListListener)
ContactListListener object to the list of listeners
to be notified of events such as successfuly importing or
exporting contact list.
contactListListener - the listener to be notified of contact list events.void removeContactListlistener(ContactListListener contactListListener)
ContactListListener object from the list of listeners
that are notified of events such as successfuly importing or exporting
contact list.
contactListListener - the listener object to be removed from contact list events notification.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||