Examples of Contact


Examples of org.apache.juddi.datatype.business.Contact

    address.setSortCode("sortThis");
    address.setTModelKey(null);
    address.addAddressLine(new AddressLine("AddressLine1","keyNameAttr","keyValueAttr"));
    address.addAddressLine(new AddressLine("AddressLine2"));

    Contact contact = new Contact();
    contact.setUseType("myAddressUseType");
    contact.setPersonNameValue("Bob Whatever");
    contact.addDescription(new Description("Bob is a big fat jerk"));
    contact.addDescription(new Description("obBay sIay a igBay atFay erkJay","es"));
    contact.addEmail(new Email("bob@whatever.com"));
    contact.addPhone(new Phone("(603)559-1901"));
    contact.addAddress(address);

    Contacts contacts = new Contacts();
    contacts.addContact(contact);
    contacts.addContact(contact);
View Full Code Here

Examples of org.apache.openjpa.persistence.proxy.entities.Contact

    private IContact createContact(OpenJPAEntityManagerFactorySPI myEMF) {
        EntityManager em = createEM(myEMF);
        em.getTransaction().begin();
        IContact contact = null;
        contact = new Contact();
        contact.setContactType(ContactType.BUSINESS);
        contact.setId(getId());
        contact.setEmail("here@there");
        contact.setPhone("555-5555");
        em.persist(contact);
View Full Code Here

Examples of org.apache.ws.scout.model.uddi.v2.Contact

            /*
             * first do primary, and then filter that out in the loop
             */
            if (primaryContact != null) {
                Contact ct = getContactFromJAXRUser(primaryContact);
                carr[0] = ct;
            }

            it = users.iterator();
            int carrPos = 1;
            while (it.hasNext()) {
                User u = (User) it.next();

                if (u != primaryContact) {
                    Contact ct = getContactFromJAXRUser(u);
                    carr[carrPos] = ct;
                    carrPos++;
                }
            }

View Full Code Here

Examples of org.apache.ws.scout.uddi.Contact

      Contacts contacts = entity.getContacts();
      Contact[] carr = contacts != null ? contacts.getContactArray() : null;

      for (int i = 0; carr != null && i < carr.length; i++)
      {
         Contact contact = (Contact)carr[i];
         User user = new UserImpl(null);
         String pname = contact.getPersonName();
         user.setPersonName(new PersonNameImpl(pname));
         if (i == 0)
         {
            org.setPrimaryContact(user);
         }
View Full Code Here

Examples of org.ardverk.dht.routing.Contact

    List<DHTFuture<NodeEntity>> discoveryFutures = new ArrayList<>();
   
    synchronized (routeTable) {
      int pingCount = (int)(routeTable.getK() * cfg.getPingCount());
     
      Contact localhost = routeTable.getIdentity();
      KUID localhostId = localhost.getId();

      if (0 < pingCount) {
        PingConfig pingConfig = cfg.getPingConfig();
        long contactTimeout = cfg.getContactTimeoutInMillis();
       
View Full Code Here

Examples of org.blueoxygen.postila.entity.Contact

            model.removeRow(model.getRowCount()-1);
    }
      if(!list.isEmpty()){
            String sContact = "";
            for(Object ob : list){
                Contact ct= (Contact) ob;
                model.addRow(new Object[]{ct.getFirstName(),ct.getLastName(),ct.getOfficePhone(),ct.getMobile(),ct.getHomePhone(),
                ct.getOtherPhone(),ct.getFax(),ct.getEmail(),ct.getOtherEmail(),ct.getBirthDate(),ct.getAssistant(),ct.getAssistantPhone(),
                ct.getAddress(),ct.getCity(),ct.getZipCode(),ct.getCountry(),ct.getDescription(),ct.getBusinessPartner().getName(),ct.getCategory().getName()});
            }
        }
     }
View Full Code Here

Examples of org.blueoxygen.postila.partnerrelations.entity.Contact

    }
    if(hasErrors()){
      return INPUT;
    }
   
    Contact contact;
    if(getContact().getId() == null || "".equalsIgnoreCase(getContact().getId())){
      contact = new Contact();
      logInfo = new LogInformation();
      logInfo.setCreateBy(sessionCredentials.getCurrentUser().getId());
      logInfo.setCreateDate(new Timestamp(System.currentTimeMillis()));
    } else {
      contact = (Contact) manager.getById(Contact.class, getContact().getId());
      logInfo = contact.getLogInformation();
    }
   
    logInfo.setActiveFlag(1);
    logInfo.setLastUpdateBy(sessionCredentials.getCurrentUser().getId());
    logInfo.setLastUpdateDate(new Timestamp(System.currentTimeMillis()));
   
    contact.setLogInformation(logInfo);
    contact.setName(getContact().getName());
    contact.setDescription(getContact().getDescription());
    contact.setComments(getContact().getComments());
    contact.setEmail(getContact().getEmail());
    contact.setGreeting(getGreeting());
    contact.setTitle(getContact().getTitle());
    contact.setPhone(getContact().getPhone());
    contact.setTwoNDPhone(getContact().getTwoNDPhone());
    contact.setFax(getContact().getFax());
    contact.setPositionCategory(getPositionCategory());
    contact.setFullBPAccess(getContact().getFullBPAccess());
   
    manager.save(contact);
    setContact(contact);
    return SUCCESS;
  }
View Full Code Here

Examples of org.brickred.socialauth.Contact

          }
        }
        String id = XMLParseUtil.getElementData(contact, "id");

        if (address != null && address.length() > 0) {
          Contact p = new Contact();
          p.setFirstName(fname);
          p.setLastName(lname);
          p.setEmail(address);
          p.setDisplayName(dispName);
          p.setOtherEmails(emailArr);
          p.setId(id);
          plist.add(p);
        }
      }
    } else {
      LOG.debug("No contacts were obtained from the feed : "
View Full Code Here

Examples of org.cipango.kaleo.location.event.ContactDocument.Contact

    regInfo = getRegInfo(notify);
    registration = regInfo.getRegistrationArray(0);
    assertEquals(1, registration.getContactArray().length);
    assertEquals(version + 1, regInfo.getVersion().intValue());
    assertEquals(State.ACTIVE, registration.getState());
    Contact contact = registration.getContactArray(0);
    assertBetween(1795, 1800, contact.getExpires().intValue());
    assertEquals(Event.REGISTERED, contact.getEvent());
   
    registerSession.register(null, 0); // 9 and  10
    tx = session.waitForNotify();
    notify = tx.getRequest(); // 11
    //System.out.println(notify);
    session.sendResponse(Response.OK, tx); // 12
    regInfo = getRegInfo(notify);
    registration = regInfo.getRegistrationArray(0);
    assertEquals(1, registration.getContactArray().length);
    assertEquals(version + 2, regInfo.getVersion().intValue());
    assertEquals(State.TERMINATED, registration.getState());
    contact = registration.getContactArray(0);
    assertEquals(0, contact.getExpires().intValue());
    assertEquals(Event.UNREGISTERED, contact.getEvent());
   
    subscribe = session.newSubsequentSubscribe(0); // 13
    session.sendRequest(subscribe, Response.OK); // 14
   
    tx = session.waitForNotify();
View Full Code Here

Examples of org.easybatch.tutorials.customers.model.Contact

        customer.setId(resultSet.getInt("id"));
        customer.setFirstName(resultSet.getString("firstName"));
        customer.setLastName(resultSet.getString("lastName"));
        customer.setBirthDate(resultSet.getDate("birthDate"));

        Contact contact = new Contact();
        contact.setPhone(resultSet.getString("phone"));
        contact.setEmail(resultSet.getString("email"));

        Address address = new Address();
        address.setStreet(resultSet.getString("street"));
        address.setZipCode(resultSet.getString("zipCode"));
        address.setCity(resultSet.getString("city"));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.