Exemple #1
0
 public void addAddressSet(Set<Address> adrSet) {
   if (adrSet == null || adrSet.size() == 0) return;
   Iterator<Address> it = adrSet.iterator();
   while (it.hasNext()) {
     Address adr = it.next();
     addAddress(adr);
   }
 }
Exemple #2
0
  public void addPhoneSet(Set<Phone> phoneSet) {
    if (phoneSet == null || phoneSet.size() == 0) return;

    Iterator<Phone> it = phoneSet.iterator();
    while (it.hasNext()) {
      Phone ph = it.next();
      addPhone(ph);
    }
  }
Exemple #3
0
  @Transactional
  public void addEmailAddressSet(Set<EmailAddress> adrSet) {
    if (adrSet == null || adrSet.size() == 0) return;

    Iterator<EmailAddress> it = adrSet.iterator();
    while (it.hasNext()) {
      EmailAddress adr = it.next();
      addEmailAddress(adr);
    }
  }