Package net.kano.joustsim.oscar.oscar.service.ssi

Examples of net.kano.joustsim.oscar.oscar.service.ssi.Buddy


      MutableBuddyList buddyList = ssiService.getBuddyList();
      List groups = buddyList.getGroups();
      Iterator groupsIter = groups.iterator();
      while (groupsIter.hasNext()) {
        MutableGroup group = (MutableGroup) groupsIter.next();
        Buddy matchingBuddy = null;
        Iterator buddiesIter = group.getBuddiesCopy().iterator();
        while (matchingBuddy == null && buddiesIter.hasNext()) {
          Buddy buddy = (Buddy) buddiesIter.next();
          if (buddy.getScreenname().equals(buddyScreenName)) {
            matchingBuddy = buddy;
          }
        }
        if (matchingBuddy != null) {
          group.deleteBuddy(matchingBuddy);
View Full Code Here

TOP

Related Classes of net.kano.joustsim.oscar.oscar.service.ssi.Buddy

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.