|
JML | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jml.impl.MsnContactListImpl
public class MsnContactListImpl
Constructor Summary | |
---|---|
MsnContactListImpl(MsnMessenger messenger)
|
Method Summary | |
---|---|
void |
addContact(MsnContact contact)
|
void |
addGroup(MsnGroup group)
|
MsnContact |
getContactByEmail(Email email)
Get the contact in the contact list. |
MsnContact |
getContactById(String id)
Get the contact in the contact list. |
int |
getContactCount()
|
MsnContact[] |
getContacts()
Get the contacts in the contact list. |
MsnContact[] |
getContactsInList(MsnList list)
Get the contacts in the MsnList. |
int |
getCurrentContactCount()
Return contact count in current contact list. |
int |
getCurrentGroupCount()
Return group count in current contact list. |
MsnGroup |
getDefaultGroup()
Get the default group. |
MsnGroup |
getGroup(String groupId)
Get the group in the contact list. |
int |
getGroupCount()
|
MsnGroup[] |
getGroups()
Get the groups in the contact list. |
MsnMessenger |
getMessenger()
Get the MsnMessenger the contact list belongs to. |
String |
getVersion()
Contact list version number. |
void |
removeContactByEmail(Email email)
|
void |
removeContactById(String id)
|
void |
removeGroup(String groupId)
|
void |
setContactCount(int contactCount)
|
void |
setGroupCount(int groupCount)
|
void |
setVersion(String version)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MsnContactListImpl(MsnMessenger messenger)
Method Detail |
---|
public MsnMessenger getMessenger()
MsnContactList
getMessenger
in interface MsnContactList
public String getVersion()
MsnContactList
getVersion
in interface MsnContactList
public MsnGroup getDefaultGroup()
MsnContactList
getDefaultGroup
in interface MsnContactList
public MsnGroup[] getGroups()
MsnContactList
getGroups
in interface MsnContactList
public MsnGroup getGroup(String groupId)
MsnContactList
getGroup
in interface MsnContactList
groupId
- group id
public MsnContact[] getContacts()
MsnContactList
getContacts
in interface MsnContactList
public MsnContact getContactById(String id)
MsnContactList
getContactById
in interface MsnContactList
id
- contact's id
public MsnContact getContactByEmail(Email email)
MsnContactList
getContactByEmail
in interface MsnContactList
email
- contact's email
public MsnContact[] getContactsInList(MsnList list)
MsnContactList
getContactsInList
in interface MsnContactList
list
- MsnList
public void setVersion(String version)
public void addGroup(MsnGroup group)
public void removeGroup(String groupId)
public void setGroupCount(int groupCount)
public int getGroupCount()
public int getCurrentGroupCount()
public void addContact(MsnContact contact)
public void removeContactById(String id)
public void removeContactByEmail(Email email)
public int getContactCount()
public void setContactCount(int contactCount)
public int getCurrentContactCount()
public String toString()
toString
in class Object
|
JML | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |