/**
  * 删除所选联系人
  *
  * @param contact 所选联系人
  */
 private void removeSelectContact(PersonalContact contact) {
   Iterator<ConferenceMemberEntity> iterator;
   if (isFirstVisible) {
     iterator = newMembers.iterator();
   } else {
     iterator = selectMembers.iterator();
   }
   if (!StringUtil.isStringEmpty(contact.getEspaceNumber())) {
     addMemberLogic.removeSelectConfMember(contact.getEspaceNumber(), iterator, false);
   } else {
     addMemberLogic.removeSelectConfMember(contact.getContactId(), iterator, false);
   }
 }
 private void beforShowDialog(Object object) {
   String number = null;
   int position = -1;
   if (object instanceof PersonalContact && isIconDelect(object)) {
     if (isFirstVisible) {
       number = newMembers.get(addMemberLogic.getPositionInList()).getNumber();
     } else {
       number = selectMembers.get(addMemberLogic.getPositionInList()).getNumber();
     }
     position = addMemberLogic.getPositionInList();
   }
   showSelectNumberDialog(object, position, number);
 }
 /**
  * 判断添加的号码是否有重复号码
  *
  * @param number 所选的与会者号码
  * @return 此号码在与会者列表中已存在,返回true;否之,返回false
  */
 private boolean getSelectNum(String number) {
   if (!isFirstVisible && hostMember != null && hostMember.getNumber().equals(number)) {
     return true;
   }
   if (addMemberLogic.getSelectIterantNumberFlag(number, selectMembers)) {
     return true;
   }
   if (isFirstVisible && !newMembers.isEmpty()) {
     if (addMemberLogic.getSelectIterantNumberFlag(number, newMembers)) {
       return true;
     }
   }
   return false;
 }
 private boolean isIconDelect(Object obj) {
   return addMemberLogic.isIconDelect(obj, selectMembers, newMembers, isFirstVisible, hostMember);
 }
 private int getIconStyle(Object obj) {
   return addMemberLogic.getIconStyle(obj, selectMembers, newMembers, isFirstVisible, hostMember);
 }