Examples of Contact


Examples of com.google.api.ads.dfp.v201302.Contact

      // Set the ID of the contact to update.
      Long contactId = Long.parseLong("INSERT_CONTACT_ID_HERE");

      // Get the contact.
      Contact contact = contactService.getContact(contactId);

      // Update the address of the contact.
      contact.setAddress("123 New Street, New York, NY, 10011");

      // Update the contact on the server.
      Contact[] contacts = contactService.updateContacts(new Contact[] {contact});

      for (Contact updatedContact : contacts) {
View Full Code Here

Examples of com.google.api.ads.dfp.v201306.Contact

      // Set the ID of the contact to update.
      Long contactId = Long.parseLong("INSERT_CONTACT_ID_HERE");

      // Get the contact.
      Contact contact = contactService.getContact(contactId);

      // Update the address of the contact.
      contact.setAddress("123 New Street, New York, NY, 10011");

      // Update the contact on the server.
      Contact[] contacts = contactService.updateContacts(new Contact[] {contact});

      for (Contact updatedContact : contacts) {
View Full Code Here

Examples of com.google.api.ads.dfp.v201308.Contact

      // Set the ID of the contact to update.
      Long contactId = Long.parseLong("INSERT_CONTACT_ID_HERE");

      // Get the contact.
      Contact contact = contactService.getContact(contactId);

      // Update the address of the contact.
      contact.setAddress("123 New Street, New York, NY, 10011");

      // Update the contact on the server.
      Contact[] contacts = contactService.updateContacts(new Contact[] {contact});

      for (Contact updatedContact : contacts) {
View Full Code Here

Examples of com.google.api.ads.dfp.v201311.Contact

      // Set the ID of the contact to update.
      Long contactId = Long.parseLong("INSERT_CONTACT_ID_HERE");

      // Get the contact.
      Contact contact = contactService.getContact(contactId);

      // Update the address of the contact.
      contact.setAddress("123 New Street, New York, NY, 10011");

      // Update the contact on the server.
      Contact[] contacts = contactService.updateContacts(new Contact[] {contact});

      for (Contact updatedContact : contacts) {
View Full Code Here

Examples of com.google.gwt.sample.contacts.shared.Contact

  public EditContactPresenter(ContactsServiceAsync rpcService, HandlerManager eventBus, Display display) {

    this.rpcService = rpcService;
    this.eventBus = eventBus;
    this.contact = new Contact();
    this.display = display;
    bind();
  }
View Full Code Here

Examples of com.google.walkaround.wave.shared.ContactsService.Contact

  /**
   * Adds contacts to the contact store, and updates any existing profiles.
   */
  private void updateWith(ContactList someContacts) {
    for (int i = 0; i < someContacts.size(); i++) {
      Contact contact = someContacts.get(i);
      String id = contact.getAddress();
      if (id == null) {
        // Empty contact; discard it.
        continue;
      }
      contacts.put(id, contact);
View Full Code Here

Examples of com.gwtmobile.phonegap.client.Contacts.Contact

        break;
      }
    }

    public void create() {
    final Contact contact = Contacts.newInstance();
    contact.setDisplayName("Plumber");
    contact.setNickname("Plumber");
   
    ContactName name = ContactName.newInstance();
    name.setGivenName("Jane");
    name.setFamilyName("Doe");
    contact.setDisplayName(name.getGivenName() + " " + name.getFamilyName());
    contact.setName(name);
   
    contact.save(new Callback() {     
      @Override
      public void onSuccess() {
        text.setHTML("Contact " + contact.getName().getGivenName() + " "
            + contact.getName().getFamilyName() + " created.");
      }     
      @Override
      public void onError(ContactError error) {
        text.setHTML("Contact creation failed.<br/>" + error.getCode());
      }
View Full Code Here

Examples of com.huangzhimin.contacts.Contact

                    if (entry.hasName()) {
                        name = entry.getName().getFullName().getValue();
                    } else {
                        name = getUsername(address);
                    }
                    contacts.add(new Contact(name, address));
                }
            }
            return contacts;
        } catch (Exception e) {
            throw new ContactsException("gmail protocol has changed", e);
View Full Code Here

Examples of com.inmethod.grid.examples.contact.Contact

  private String selectedItemsAsString(AbstractGrid grid) {
    StringBuilder res = new StringBuilder();
    Collection<IModel> selected = grid.getSelectedItems();
    for (IModel model : selected) {
      Contact contact = (Contact) model.getObject();
      if (res.length() > 0) {
        res.append(", ");
      }
      res.append(contact.getFirstName());
      res.append(" ");
      res.append(contact.getLastName());
    }
    return res.toString();
  }
View Full Code Here

Examples of com.knowgate.crm.Contact

  }

  public boolean load (JDCConnection oConn, String sWorkArea, String sId) throws SQLException {
    ACLUser  oUser = new ACLUser();
    Fellow   oFellw = new Fellow();
    Contact  oCont = new Contact();
    Company  oComp = new Company();
    Supplier oSupl = new Supplier();
    boolean bFound;
   
  PreparedStatement oStmt = oConn.prepareStatement("SELECT "+DB.pg_lookup+" FROM "+DB.k_duties_lookup+" WHERE "+DB.gu_owner+"=? AND "+DB.id_section+"='nm_resource' AND "+DB.vl_lookup+"=?",
                                                   ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY);
  oStmt.setString(1, sWorkArea);
  oStmt.setString(2, sId);
  ResultSet oRSet = oStmt.executeQuery();
  bFound = oRSet.next();
  if (bFound) iPg = oRSet.getInt(1);
  oRSet.close();
  oStmt.close();

  if (bFound) {
      sVl = sId;

      if (oFellw.load(oConn, sId)) {
      sFullName = (oFellw.getStringNull(DB.tx_name,"")+" "+oFellw.getStringNull(DB.tx_surname,"")).trim();
      sEmail = oUser.getStringNull(DB.tx_email,"");
      sPhone = oUser.getStringNull(DB.work_phone,"");
      } else if (oUser.load(oConn, sId)) {
      sFullName = (oUser.getStringNull(DB.nm_user,"")+" "+oUser.getStringNull(DB.tx_surname1,"")+" "+oUser.getStringNull(DB.tx_surname2,"")).trim();
      sEmail = oUser.getStringNull(DB.tx_main_email,"");
      sPhone = "";
      } else if (oCont.load(oConn, sId)) {
      sFullName = (oCont.getStringNull(DB.tx_name,"")+" "+oCont.getStringNull(DB.tx_surname,"")).trim();
      sEmail = "";
      sPhone = "";
      } else if (oComp.load(oConn, sId)) {
      sFullName = oComp.getStringNull(DB.nm_commercial,oComp.getString(DB.nm_legal));
      sEmail = "";
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.