Package net.sf.jml

Examples of net.sf.jml.MsnGroup


            return;

        MsnContactListImpl contactList = (MsnContactListImpl) session
                .getMessenger().getContactList();

        MsnGroup group = contactList.getGroup(groupId);
        contactList.removeGroup(groupId);

        ((AbstractMessenger) session.getMessenger())
                .fireGroupRemoveCompleted(group);
    }
View Full Code Here


                logger.error("some error in " + res);
            else
            {
                contact.removeBelongGroup(groupId);

                MsnGroup group = contactList.getGroup(groupId);

                ((AbstractMessenger) session.getMessenger())
                    .fireContactRemoveFromGroupCompleted(contact, group);
            }
        }
View Full Code Here

        if(el != null)
        {
            contact.addBelongGroup(groupId);

            MsnGroup group = contactList.getGroup(groupId);

            ((AbstractMessenger) session.getMessenger())
                .fireContactAddInGroupCompleted(contact, group);
        }
    }
View Full Code Here

                contact.setInList(list, false);
                if (contact.getListNumber() == 0) { //Not in any group, delete from contact list
                    contactList.removeContactByEmail(contact.getEmail());
                }
                if (list == MsnList.FL) { //In FL, remove user from the group.
                    MsnGroup group = contactList.getGroup(getGroupId());
                    contact.removeBelongGroup(getGroupId());
                   
                    if(group == null)
                        ((AbstractMessenger) session.getMessenger())
                                .fireContactRemoveCompleted(contact, MsnList.FL);
View Full Code Here

            return;

        MsnContactListImpl contactList = (MsnContactListImpl) session
                .getMessenger().getContactList();

        MsnGroup group = contactList.getGroup(groupId);
        contactList.removeGroup(groupId);

        ((AbstractMessenger) session.getMessenger())
                .fireGroupRemoveCompleted(group);
    }
View Full Code Here

                logger.error("some error in " + res);
            else
            {
                contact.removeBelongGroup(groupId);

                MsnGroup group = contactList.getGroup(groupId);

                ((AbstractMessenger) session.getMessenger())
                    .fireContactRemoveFromGroupCompleted(contact, group);
            }
        }
View Full Code Here

        if(el != null)
        {
            contact.addBelongGroup(groupId);

            MsnGroup group = contactList.getGroup(groupId);

            ((AbstractMessenger) session.getMessenger())
                .fireContactAddInGroupCompleted(contact, group);
        }
    }
View Full Code Here

                    try
                    {
                        MsnGroup[] gs = contact.getBelongGroups();
                        for (int i = 0; i < gs.length; i++)
                        {
                            MsnGroup msnGroup = gs[i];
                            contact.removeBelongGroup(msnGroup.getGroupId());
                           
                            ((AbstractMessenger) session.getMessenger()).
                                fireContactRemoveFromGroupCompleted(contact, msnGroup);
                        }
                    }
View Full Code Here

    @Override
  protected void messageReceived(MsnSession session) {
        super.messageReceived(session);
        MsnContactList contactList = session.getMessenger().getContactList();
        MsnGroup group = contactList.getGroup(getGroupId());
        if (group != null)
            ((MsnGroupImpl) group).setGroupName(getGroupName());
    }
View Full Code Here

TOP

Related Classes of net.sf.jml.MsnGroup

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.